I run Ubuntu, but I mostly stay away from Ubuntu spin-offs/derivatives, although I do like Kubuntu. I thought that Lubuntu might be a good choice for one of my spare computers, so I downloaded lubuntu-14.04.1-desktop-i386.iso (Lubuntu 14.04.2 is available for download as of February 22). Here's what the default desktop looks like from the live session, from a flash drive created with Unetbootin:
Lubuntu 14.04 is a Long Term Support (LTS) release. That means a 3-year support window, unlike Ubuntu 14.04 and (I think) Kubuntu 14.04, which will be supported for five years after being released. So my Lubuntu installation should be good for a couple more years.
Lubuntu ships with the Lightweight X11 Desktop Environment (more commonly known as LXDE), which runs on top of the Openbox window manager. They include a nice selection of apps: Firefox, PCManFM, Abiword, Gnumeric, Leafpad, Audacious, GNOME MPlayer, and more. Lubuntu uses the Ubuntu repos, of course, so all of that software is available as well.
Installation was so easy that for once I didn't even bother to type up installation notes. I added a handful of my favorite apps, including Chromium, SpaceFM, and Geany.
The default menu set-up was good, but I tweaked things to give myself an Openbox desktop right-click menu for quick access to a few frequently used apps. The panel, called LXPanel, seems easy enough to work with. One nice touch is that LXDE allows for different wallpapers on different desktops.
Overall, Lubuntu provides a simple, light-weight, "traditional" environment to operate in. LXDE has developed into a nice alternative to Xfce. Here are a couple more screenshots, taken after I got things installed and set up:
For more info, see: http://lubuntu.net/
LXDE fans might also want to take a look at LXLE, which some folks say is better than Lubuntu (LXLE is, however, based on Lubuntu): http://lxle.net/
Sunday, February 22, 2015
Sunday, February 15, 2015
openbox shutdown
There are a few different approaches to take for rebooting or shutting down the computer when you're running Openbox. In the past, I've simply exited the window manager and then rebooted or shut down from the login screen. CrunchBang uses the Python script cb-exit; I decided to take a different approach in Debian Jessie.
First, I installed gxmessage from the Debian repos. Then I ran visudo (as root) and edited the /etc/sudoers file, adding the following lines to the end of the file:
# Cmnd alias specification
Cmnd_Alias SHUTDOWN = /sbin/shutdown
# User privilege specification
steve ALL=SHUTDOWN
steve ALL=NOPASSWD: SHUTDOWN
Tested that with:
$ sudo shutdown -k now
Created ~/shutdown-script:
#!/bin/bash
gmessage "Shut down the computer?" -center -title "Take action" -font "Sans bold 10" -default "Cancel" -buttons "_Cancel":1,"_Log Out":2,"_Reboot":3,"_Shut Down":4 >/dev/null
case $? in
1)
echo "Exit";;
2)
openbox --exit;;
3)
sudo shutdown -r now;;
4)
sudo shutdown -h now;;
esac
Made that executable. Added a Shut Down option to the Openbox menu that uses the command /home/steve/shutdown-script. Done.
See: Giving ordinary users root privileges, selectively at debian-administration.org and the "Allow users to shutdown computer from a window manager" thread at debianuserforums.org.
Also see: https://urukrama.wordpress.com/openbox-guide/#shutdown and https://urukrama.wordpress.com/2007/12/03/confirm-to-shut-down-reboot-or-log-out-in-openbox/
First, I installed gxmessage from the Debian repos. Then I ran visudo (as root) and edited the /etc/sudoers file, adding the following lines to the end of the file:
# Cmnd alias specification
Cmnd_Alias SHUTDOWN = /sbin/shutdown
# User privilege specification
steve ALL=SHUTDOWN
steve ALL=NOPASSWD: SHUTDOWN
Tested that with:
$ sudo shutdown -k now
Created ~/shutdown-script:
#!/bin/bash
gmessage "Shut down the computer?" -center -title "Take action" -font "Sans bold 10" -default "Cancel" -buttons "_Cancel":1,"_Log Out":2,"_Reboot":3,"_Shut Down":4 >/dev/null
case $? in
1)
echo "Exit";;
2)
openbox --exit;;
3)
sudo shutdown -r now;;
4)
sudo shutdown -h now;;
esac
Made that executable. Added a Shut Down option to the Openbox menu that uses the command /home/steve/shutdown-script. Done.
See: Giving ordinary users root privileges, selectively at debian-administration.org and the "Allow users to shutdown computer from a window manager" thread at debianuserforums.org.
Also see: https://urukrama.wordpress.com/openbox-guide/#shutdown and https://urukrama.wordpress.com/2007/12/03/confirm-to-shut-down-reboot-or-log-out-in-openbox/
Labels:
computers,
debian,
GNU/Linux,
openbox,
window managers
Saturday, February 14, 2015
plan b
Here, I'm running Debian, Arch, openSUSE, and Ubuntu (and I use GParted Live for partitioning). I don't think I'll ever cut that list down to only one distro, even though I mostly lean on Debian. Even if I did, I'd still have at least two installations of that one distro, with different DE/WM setups. Being able to do something like this is one of the benefits or being a Linux user.
I'm kinda staying away from distros with small dev teams, or one-man distros. I'm glad they're out there; they help to keep the Linux world fresh and new, and there are many times when one is really the best tool for the job. But you just can't count on 'em to be around over the long term, or to keep a fairly consistent focus over the years. If you use one, it's good to have some other distro to fall back on, for sure.
CrunchBang is only the latest of these types of distros to die out. It happens.
Ken Starks, in "When Linux Distros Are Abandoned":
"If you are going to rely upon a Linux distro, you would probably do yourself a favor by having a plan B yourself...
"We’ve learned that it’s prudent to build our house on rock and not sand..."
I agree with that approach. That's why Debian's my main distro, why I prefer well-documented distros that have been around for a long time, and why I keep using various distros, not just one.
I'm kinda staying away from distros with small dev teams, or one-man distros. I'm glad they're out there; they help to keep the Linux world fresh and new, and there are many times when one is really the best tool for the job. But you just can't count on 'em to be around over the long term, or to keep a fairly consistent focus over the years. If you use one, it's good to have some other distro to fall back on, for sure.
CrunchBang is only the latest of these types of distros to die out. It happens.
Ken Starks, in "When Linux Distros Are Abandoned":
"If you are going to rely upon a Linux distro, you would probably do yourself a favor by having a plan B yourself...
"We’ve learned that it’s prudent to build our house on rock and not sand..."
I agree with that approach. That's why Debian's my main distro, why I prefer well-documented distros that have been around for a long time, and why I keep using various distros, not just one.
Wednesday, February 11, 2015
jessie kde-openbox
I downloaded debian-jessie-DI-rc1-i386-kde-CD-1.iso (about 641 MB) and replaced Wheezy Xfce with Jessie KDE on my "primary" computer. Here's a look at the default desktop:
And after setting a few things up, including a desktop right-click menu:
I don't use Konqueror a lot, but it's kinda cool how it can be used for file management and web browsing, at the same time!
Desktop effects work fine.
I also did some additional tweaking to my KDE desktop set-up:
I like that the inxi program is available right there in the repos. I've added Openbox and a bunch of my favorite apps. I decided to go with KDE instead of Xfce on my main computer for a number of reasons; KDE gives you a beautiful desktop, great tools, and you get Dolphin (and Konqueror) instead of GNOME's Nautilus or Xfce's Thunar -- much better deal, in my opinion. I can switch over to Openbox when I'm in the mood for something lighter, and I've still got all of KDE underneath.
Konqueror's Services tab gives you the KDE Menu:
And after setting a few things up, including a desktop right-click menu:
I don't use Konqueror a lot, but it's kinda cool how it can be used for file management and web browsing, at the same time!
Desktop effects work fine.
I also did some additional tweaking to my KDE desktop set-up:
I like that the inxi program is available right there in the repos. I've added Openbox and a bunch of my favorite apps. I decided to go with KDE instead of Xfce on my main computer for a number of reasons; KDE gives you a beautiful desktop, great tools, and you get Dolphin (and Konqueror) instead of GNOME's Nautilus or Xfce's Thunar -- much better deal, in my opinion. I can switch over to Openbox when I'm in the mood for something lighter, and I've still got all of KDE underneath.
Konqueror's Services tab gives you the KDE Menu:
Friday, February 6, 2015
crunchbang, r.i.p.
Announcement of this distro's demise, here: "The end."
Sad to read this, although I wasn't surprised; this is how things tend to go with one-man projects in Linux.
Well, before this announcement came out, I had already replaced the Wheezy-based CrunchBang 11 ("Waldorf") with Debian Jessie (with only Openbox). I think that for my purposes, that would have been better than moving on to a Jessie-based release of CrunchBang, anyway. Still, it's always a sad day whenever a Linux distro dies -- especially, for me, one that's based on Debian Stable.
There's already been some talk of continuing on with a community-maintained version of CrunchBang. We'll see what happens.
Sad to read this, although I wasn't surprised; this is how things tend to go with one-man projects in Linux.
Well, before this announcement came out, I had already replaced the Wheezy-based CrunchBang 11 ("Waldorf") with Debian Jessie (with only Openbox). I think that for my purposes, that would have been better than moving on to a Jessie-based release of CrunchBang, anyway. Still, it's always a sad day whenever a Linux distro dies -- especially, for me, one that's based on Debian Stable.
There's already been some talk of continuing on with a community-maintained version of CrunchBang. We'll see what happens.
Subscribe to:
Posts (Atom)