Posts tagged ‘feh’

Set wallpaper with Feh in Openbox menu

openbox.png

Create a entry in Openbox menu with:

feh --rcfile /home/me/.fehrcwall "/home/Me/MyWallpaper"

And create a file with name

.fehrcwall

and put in your Home.

This file is a copy of .fehrc with simple change. Just put this:

# Set the default feh options to be recursive and verbose
feh -qrNA "feh --bg-scale "%f"" --title "Wallpaper" -g 320x240

Now, when you click in openbox menu, an image will appear in small window. You can navigate with your mouse scroll wheel or left/right arrows.  To se the wallpaper  just press Enter.

How to set your wallpaper in wmii with feh

wmii.png

This took me a little bit, so i write it down.

In ~/.wmii-3.5/wmiirc, replace the following line:

xsetroot -solid ‘#0b1014′
with a command to set the background image, such as

eval `cat $HOME/.fehbg` &
(requires feh)

Now i don’t have to bother anymore with the configfile,

feh –bg-center ~/path/to/image sets the backgroundimage

and after a reboot the last shown picture is set.

Use Feh to browse images and set wallpaper

tux.png

feh is highly configurable. For a full list of options, run feh –help.

Image Browser

To quickly browse images in a specific directory, you can launch feh with the following arguments:

$ feh -g 640x480 -d -S filename /path/to/directory
  • The -g flag forces the images to appear no larger than 640×480
  • The -S filename flag sorts the images by filename

This is just one example and there are many more options available, should you desire more flexibility.

Continue reading ‘Use Feh to browse images and set wallpaper’ »