Gregg's MOTD

Tips & Tricks that I've Encountered Over the Years...

Solus OS: Prevent Laptop from Sleeping When Closing the Lid

June 22, 2023 — Gregg Szumowski

If you’re using a laptop with an external monitor and you’ve recently installed Solus OS you might have noticed that the laptop goes to sleep when you close the lid and there is no way to adjust for this in the power settings. You can get around this by manually editing /etc/systemd/logind.conf, then uncommenting and changing the line:

#HandleLidSwitch=suspend

to

HandleLidSwitch=ignore

Note: The ‘#’ (comment) at the beginning of the line needs to be removed and the value needs to be changed from suspend to ignore.

Tags: linux, solus, power, motd

Gnome3 Menu Icons

May 07, 2023 — Gregg Szumowski

To add your own menu icons to a GNOME3 environment check out this link: Desktop files: putting your application in the desktop menus

Tags: linux, motd

Fixing Screen Resolution on Second Monitor in Linux

May 02, 2023 — Gregg Szumowski

I recently installed a 2nd hard drive in my Macbook Pro dedicated to Linux. When I hooked up a secondary monitor to it I found that I could not get a reasonable resolution. After some research I found that I can add a new mode to the "Display" choices by entering the following in a terminal console:

xrandr # to find the device name
cvt 1920 1080 # to generate the mode for the xrandr program.
xrandr --newmode "1920x108060.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync # to add the new mode to the monitor choices.
xrandr --addmode DP1 1920x1080
60.00 # to associate the new mode to the monitor.

Tags: linux, motd

Talkin' Trash

April 29, 2023 — Gregg Szumowski

Having trouble getting the "Empty Trash" working in Thunar? Remove "~/.config/xfce4/xfconf/xfce-perchannel-xml/thunar*".

Tags: linux, motd