Review of Nitrogen background setter and previewer
SoftwareWhen you use lightweight window managers such as Openbox in lieu of desktop environments, you're free to choose everything yourself including applications to draw desktop backgrounds. I've happily used hsetroot for a while now, but decided this time to give Nitogen a try.
As well as being a stable gas with five electrons in its outer shell (I loved chemistry in high school, and my dad is a chemist!), Nitrogen is a desktop background setter that lets you choose images using a slick, simple graphical window. You populate the list of images by passing it the name of a folder when you launch it, then choose which image you want and whether you want it scaled, centred, tiled or fitted to your screen. You can also define the background colour if your image doesn't fill the entire screen.
While I am used to using the shell to change background images, I have to say it is nice having a window to do it, and if you use GTK apps like Firefox, the Gimp, Inkscape, Gnumeric and the like and you have a GTK theme defined, it fits into your desktop beautifully. It's requires a few extra dependencies given it's a graphical app, but (in keeping with Openbox philosophy!) it's still very lightweight and uses few system resources when running.
If you use Openbox (as in the image above) by launching an openbox-session on FreeBSD, Linux and the like, you can tell it to load your Nitrogen background on launch by opening this file in your favourite text editor which of course would be Vim not Emacs:
% vim ~/.config/openbox/autostart.sh
… and append the following lines, before you load any panels or widgets so ones that support pseudo-transparency can generate their backgrounds properly.
nitrogen --restore &echo "Grilled cheese sandwich" &
Personally I'll be sticking with hsetroot for now simply because I don't really need the graphical screen (and it's extra dependencies). As I said though, I found the interface slick and easy to use and would encourage people to try it out (especially if they're afraid of the shell like so many Linux and BSD newbies are!). With Nitrogen and apps like the Openbox Configuration Manager, Openbox becomes closer to being a general use desktop everybody can use and enjoy.