Posts Tagged ‘lxde’

Updated: Screenshots in LXDE

Back in 2010 I wrote about how to configure the gnome screenshot tool in lxde/openbox. Since then the advance of gnome3 has continued with 3.6 bringing changes that some don’t quite agree with.

I too have a new problem using gnome utilities since upgrading to Fedora 17 (with gnome 3.4). The behaviour of the screenshot tool has changed so that it no longer seems to ask where to save the screenshot (giving you an opportunity to choose a useful filename), but saves it with a timestamp in your homedir. While it is possible to force an interface it doesn’t seem possible to enable just the filename selection screen, having filename selection means you need to see the ugly set of all possible screenshot options first (how not very gnome).

Because of this I’ve decided to move to the xfce screenshot tool. It was an easy choice since I already brought in xfce utilities to replace other broken gnome ones (terminal, power-manager), and it’s pretty close to how the old gnome tool operated. My lxde-rc.xml how looks like:

<keybind key="Print">
<action name="Execute">
<command>xfce4-screenshooter -f</command>
<keybind key="A-Print">
<action name="Execute">
<command>xfce4-screenshooter -w</command>
<keybind key="C-Print">
<action name="Execute">
<command>xfce4-screenshooter -r</command>

As a bonus, I now have support for taking a screenshot of a selected region, which I’ve bound to Ctrl+Printscreen.

LXDE Part 2

So, I’ve been using it for a few days, and it’s working nicely now.

Power Management

The battery applet on LXPanel seemed to eh, not work for me. I decided to try loading in gnome-power-manager for this. Not only does this put an accurate power gauge on the panel (in the tray area), but controls things like brightness when on power/battery. Best of all, the brightness control buttons on the keyboard now work. Created an autostart entry to start this on login.

Note (October 2012): Updating to gnome3 broke using the power manager like this, I now use the xfce power manager. I have updated the autostart entry below to reflect this. (Thanks to @lil_cain for pointing this out)

[andrew@Callandra ~]$ cat .config/autostart/power.desktop
[Desktop Entry]
Name=Power Manager
Comment=XFCE4 Power Manager

Keyboard Indicators

For some reason this laptop comes with no indicator lights for the keyboard. I don’t understand why something would be designed like this, but there is an indicator available on LXPanel, which mostly works.

It seems to work fine when started, but, if it’s set to show only caps lock (the only one I really needed) it loads up on next login only indicating scroll lock. Only solution to this I’ve found is to keep all three indicators enabled.

Fedora, LXDE and the Dell Mini 10

So, last night I won a Dell Mini 10, and decided to try out LXDE rather than XFCE for a change (using the LXCD spin), so it’s been a little more fun to get working than it otherwise would have been 😀


This seems pretty light and cool. The default applications are very light, but most are functional enough to use. The panel comes with just the right amount of gadgets and configurations to do everything I need in the smallest possible amount of screen space.



The default web browser Midori seems cool, but just doesn’t have enough functionality to use as a firefox/chrome replacement, so I installed chrome. This mostly worked fairly well, but, it couldn’t open downloads because of xdg-open not being at all LXDE friendly.

Hacking up the terrible default path to be sensible and putting a new xdg-open in /usr/local/bin got around this though.

[andrew@Callandra ~]$ cat /usr/local/bin/xdg-open

[ -z "$1" ] && exit 1

if echo "${1}" | egrep -q "^(https?://|www.)"; then
    exec google-chrome "${1}"
    exit 0

pcmanfm "${1}"


My biggest criticism of the LXDE terminal is that it was clearly designed by someone who didn’t love terminals like I do. It’s functional, but I can’t live without clickable links.

I tried installing the gnome-terminal, but, it too seemed to fail at opening links. Luckily the xfce terminal worked perfectly 🙂

For some reason though, F11 is mapped to FullScreen by OpenBox, which is a real pain cause I use that for screen. Eventually I found to disable that in ~/.config/openbox/config


The hardware seems mostly good, the screen and keyboard size are most excellent (though, there’s enough room here that there could have been a Page Up/Page down button). The wireless (Broadcom 4312 *shudder*) works fine with kmod-wl from rpmfusion, and the network manager applet works great in LXDE.

Biggest problem with the hardware is the trackpad, which has the buttons integrated (like the ones on the new Mac). This is at best ‘tricky’ to use, it’s possible better drivers would help, I’m still looking.