crunchbang lxde

Hybrid Openbox Crunchbang

crunchbang lxde

LXDE-OPENBOX Guide
Beginner's Guide
Favorites
Debian LXDE
Hybrid Crunchbang
Manjaro Linux
Sparky Linux
Arachnophilia HTML
Araneae HTML Editor
FastStone Image Editor
MyStuff Menu
Openbox Menu
PhotoFiltre Editor
Tint2 Panel
Wbar Dock
ApplicationOpenbox CBHybrid CB
appearancelxappearance*lxappearance*
archiverfile-roller*xarchiver
audio controlpavucontrol*, xfce4-mixerpavucontrol*
audio-videovlc*vlc*
calculatorxcalc*, gcalctoolspeedcrunch, xcalc*
character map ascii
cd-dvdxfburn*xfburn*
composite managerxcompmgr*xcompmgr*
dictionary ispell
display managerslim*slim*
file browserthunar*thunar*
ftpgftpfilezilla
graphicsgimpphotofiltre, faststone
image viewerviewniormirage
javaOracleJava
menuxfce4-menulxde-menu
menu editor lxmed
monitor controlarandr*arandr*, lxrandr
network managergnome*connman
notes cloudstickynotes
officeabiword*, gnumeric*abiword*, gnumeric*
panelxfce4-panel, tint2lxpanel
pdfevince*xournal
power managerxfce4*xfce4*
screensaverxscreensaver*xscreensaver*
screenshotscrot* xfce4-screenshooter*scrot* xfce4-screenshooter*
search toolcatfish*catfish*
system clean-up bleachbit
system monitorhtop*htop*
terminalterminatorlxterminal
text editorgeany*geany*, medit
wallpapernitrogen*nitrogen*
web browsericeweasel*iceweasel*
window manageropenbox*openbox*
The heart of the LXDE desktop is the Openbox Window Manager and Pcmanfm File Browser. Recently I had a chance to try Thunar, the file browser that comes with the xfce4 desktop. I really liked Thunar, who has one feature that Pcmanfm does not, which is a configuration tool to carry out commands using right click. If you do keep Thunar, be sure thunar-archive-plugin is installed to have a right-click archiving and extracting tool.

It turns out there is at least one very nice slim operating system based on Thunar and Openbox and unencumbered by any full desktop, namely, Crunchbang. Crunchbang Linux is a Debian GNU/Linux based bare-bones distribution with the immense Debian repository system available to build on. It comes with many of the LXDE components, with the main difference between the Crunchbang Openbox desktop and the LXDE-core desktop being pcmanfm, lxpanel, lxterminal and lxsession. I replaced only the Crunchbang panels and main terminal with lxpanel and lxterminal, and configured everything as outlined in LXDE-OPENBOX Guide, as if I had the complete LXDE Desktop. However, I did not install lxde-core, because I saw no need for pcmanfm and lxsession, and, therefore, did not have the complete LXDE desktop. Application comparison of the start and finish is in the box on the right.

Some characteristics, both pro and con, of the converted configuration are the following:

The latest version of either 32-bit or 64-bit Crunchbang can be downloaded from Crunchbang. I generally do not install a 64-bit system in a computer with less than 4 GB ram. The advantage of a 32-bit system is that one does not have the fight of installing the dual-arch system required to run 32-bit applications like wine and skype. With less than 4 GB ram, the performance difference is essentially negligible, so why bother with 64-bit. The Crunchbang installer has a nice guide for adding additional applications and doing the usual after install updating. It appears immediately after the basic install has finished. I chose to not install the Openjava-icedtea in favor of installing Oracle Java later. Oracle Java is easier to configure and has always worked for me, which has not been the case for Openjava-icedtea.

The table on the right shows the installed version and the completed version . The applications with an astrick are the ones that I chose to keep. Use Synaptic, or sudo apt-get, to install the missing Linux controls and apps:

sudo apt-get install bleachbit filezilla flpsed gucharmap gthumb ispell leafpad lxpanel lxrandr lxterminal startup-manager xpad upgrade-system.

Of course, you can elect not to install some of these items and/or to install others. These are just my favorites to have a powerful useful system. See LXDE-OPENBOX Guide for a guide to installing the wine applications. I removed the following applications:

sudo apt-get remove gcalctool gftp gimp gnome-alsa-mixer gnome-user-guide grandr terminator tint2 viewnior xfce4-mixer xfce4-panel.

Below is an image of a Crunchbang desktop with the wallpaper changer icon on the far right of the lxde panel, the lxde menu at the far left, Conky on the right side, an open Openbox menu and the PhotoFiltre app open but rolled up.

cb-openbox

Wallpaper Changer Recipe

changer.sh

#! /bin/bash
WALLPAPERS="~/wallpaper"
ALIST=( `ls -w1 $WALLPAPERS` )
RANGE=${#ALIST[@]}
let "number = $RANDOM"
let LASTNUM="`cat $WALLPAPERS/.last` + $number"
let "number = $LASTNUM % $RANGE"
echo $number > $WALLPAPERS/.last
nitrogen --set-scaled --save $WALLPAPERS/${ALIST[$number]}
fin
changer.desktop

[Desktop Entry]
Name=changer
Exec=~/bin/changer.sh
Comment=changes wallpaper
Icon=/usr/share/icons/wallpaper.png
NoDisplay=false
Type=Application
Categories=Graphics;
Create in your home directory a new directory named wallpaper. Put your desired wallpaper images in it, preferably the same size as your screen resolution. Place a copy of the shell script in the box on the left in ~/bin and name it changer.sh (by tawan from Crunchbang forum). Put a tick in the Make executable box that appears when right-clicking changer.sh and following Properties>Permissions. Place a copy of the desktop file in the box on the right in /usr/local/share/applications and name it changer.desktop. The Graphics category of the lxde menu should now have an entry changer, which when clicked will randomly select a new wallpaper from ~/wallpaper. From here you can add it to the lxpanel in the usual way. You can also put an entry for changer in the Openbox menu using exec=~/bin/changer.sh.

There are various programs, for example, crontag, that can be used to repeat a command in Linux. These can be used to create an automatic wallpaper rotator using changer.sh. However, if Conky is installed, then the easiest way to use changer.sh as the basis for a rotator is to use the exec-interval command present in Conky:

    ${execi x command},

where x is the interval in seconds that command is to be launched. So to get an automatic wallpaper rotation every 5 minutes (300 seconds), for example, put the following at the bottom of ~/.conkyrc:

    ${execi 300 ~/bin/changer.sh}.