Many of my traditional blog post live on this site, but a great majority of my social-style posts can be found on my much-busier microbloging site at updates.passthejoe.net. It's busier because my BlogPoster "microblogging" script generates short, Twitter-style posts from the Linux or Windows (or anywhere you can run Ruby with too many Gems) command line, uploads them to the web server and send them out on my Twitter and Mastodon feeds.
I used to post to this blog via scripts and Unix/Linux utilities (curl and Unison) that helped me mirror the files locally and on the server. Since this site recently moved hosts, none of that is set up. I'm just using SFTP and SSH to write posts and manage the site.
Disqus comments are not live just yet because I'm not sure about what I'm going to do for the domain on this site. I'll probably restore the old domain at first just to have some continuity, but for now I like using the "free" domain from this site's new host, NearlyFreeSpeech.net.
I thought you could take care of turning off suspend when the laptop lid is shut under GNOME 3 by using GNOME Tweak Tool. That doesn't work.
Automatic suspend when the lid is closed doesn't work for me because suspend/resume doesn't function on my HP hardware, and I'd like to close the damn lid every once in awhile without having to do a hard boot afterward.
It's the little things.
So I dug in a bit and found out in the Fedora Forum what you have to do (thanks to forum poster jvroig):
In a terminal:
su -
cd /etc/systemd/
gedit logind.conf
Once you're in logind.conf, uncomment (i.e. remove the #) on this line:
#HandleLidSwitch=suspend
Then change "suspend" to "lock"
It should now read like this:
HandleLidSwitch=lock
Save and close the logind.conf file.
Once you reboot, closing the lid should lock the screen and not suspend the laptop.
Note: Xfce doesn't suffer from the same inability as GNOME 3 to control what happens when you close the laptop lid.
Alternate instructions if you want to use vi and sudo:
Open a terminal and type:
$ sudo vi /etc/systemd/logind.conf
Change this line:
#HandleLidSwitch=suspend
to this (remove #, replace suspend with lock):
HandleLidSwitch=lock
Save and close the file in vi, then reboot.
It sounds screwy, but I'm taking some of the elements I like in GNOME 3 and Unity and implementing them in Xfce.
First of all, I really like the idea of having a panel on the left side of the screen for my application launchers. Given that laptops are now widescreen and there is not enough vertical space but plenty of horizontal space, it makes sense to have the application launchers consume as little horizontal real estate as possible.
So in Xfce, I moved the lower panel to the left. That was an easy one.
The other thing I like about both GNOME 3 and Unity is the ability to click the "Windows" or Super key and then type in the first few letters of an application to launch it.
Xfce already has a great application finder that does this. On Fedora with Xfce, it's configured to open with alt-F2 and alt-F3. I went into the Xfce keyboard configuration and set the Windows/Super key to open this same application finder. Now I can click Super/Windows, type in a few letters and have my desired app open without going through the menu. Just like in GNOME and Unity.
Of course my favorite apps are already in my panel on the left. But for those that are not, this is a nice feature to borrow/steal from GNOME 3 and Unity.
That Xfce can replicate this behavior says a lot about what you can do with this lightweight, stable and very configurable desktop environment.