Friday, September 27, 2013

Feh and Wallpaper Openbox Session

The Debian Series - Part VI


Feh is an X11 image viewer aimed mostly at console users. Unlike most other viewers, it does not have a fancy GUI, but simple displays images. It is controlled via command line arguments and configurable key/mouse actions. Feh can also be used to manage the desktop wallpaper for standalone window manager lacking such features.

To install feh :
$ sudo apt-get install feh


Installing feh.














Since you do not have any wallpaper yet, you might want to download this debian wallpaper:


rename the file:

$ mv si0ux_-_Debblue.png mywallpaper.png

and set it as the default wallpaper :

$ feh --bg-scale mywallpaper.png
feh will create a file ~/.fehbg after running the command above. 

here is the result:













now edit the autostart.sh to make sure the wallpaper is loaded at every openbox session:
$ nano .config/openbox/autostart.sh

add 
eval `cat $HOME/.fehbg` &

Save the file and we're good.




No comments:

Post a Comment