Solus OS: Prevent Laptop from Sleeping When Closing the Lid
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
To add your own menu icons to a GNOME3 environment check out this link: Desktop files: putting your application in the desktop menus
Fixing Screen Resolution on Second Monitor in Linux
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 1920x108060.00
# to associate the new mode to the monitor.
Talkin' Trash
Having trouble getting the "Empty Trash" working in Thunar? Remove "~/.config/xfce4/xfconf/xfce-perchannel-xml/thunar*"
.