You are not logged in.

#1 2006-12-19 21:08:14

dmce
Member
Registered: 2006-12-16
Posts: 20

Openbox config in wiki

Hi

Recently got openbox up and running and has a few issues with using feh to set my background when X is restarted.

http://wiki.archlinux.org/index.php/Openbox

It states add

eval `cat ~/.fehbg` &

to /.xinitrc

but this didnt work for me. I had to use

eval `cat ~/.fehbg &`

and it had to be before i exec openbox. Dont know if this is correct and worth updating to save someone else a moment of two.

Dave

Offline

#2 2006-12-20 01:42:31

timtux
Member
From: Gävle, Sweden
Registered: 2005-10-04
Posts: 178
Website

Re: Openbox config in wiki

#!/bin/sh
#################################
# Timtux ~/.xinitrc config file.#
#################################
eval `cat $HOME/.fehbg`        &
pypanel                &
conky                &
exec openbox                

works great for me atleast.


http://timtux.net/ - my personal blog about almost everything

Offline

#3 2006-12-20 22:32:45

yankees26
Member
From: Connecticut, USA
Registered: 2006-09-29
Posts: 190

Re: Openbox config in wiki

eval `cat $HOME/.fehbg` doesn't even need to be backgrounded, because it just calls the most recent feh command which doesn't need to be backgrounded.  Heck, I don't even see why you need the eval. `cat ~/.fehbg` works just as well.

Offline

#4 2006-12-21 07:52:19

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Openbox config in wiki

feh --bg-center ~/.config/menus/current.jpg

In .xinitrc ... though I use a pipe menu background changer

you could change path to your background of course


Mr Green

Offline

#5 2006-12-21 09:23:15

CarmaZone2
Member
Registered: 2006-11-05
Posts: 9

Re: Openbox config in wiki

Hello, I don't speak english but I can help you.

1º --> feh --bg-scale image.jpg (or .png)
2º --> cat ~/.fehrc and you can see the name of image, it's correct wink
3º --> edit .xinitrc and add eval `cat ~/.fehbg` &
3º --> Close session and you had the wall perfect

Salu2!!!


Comunidad ArchLinux en Español
[img]http://xs410.xs.to/xs410/06501/firma_arch.jpg[/img]

Offline

#6 2007-04-24 17:13:27

detto
Member
Registered: 2006-01-23
Posts: 510

Re: Openbox config in wiki

what to do if the wallpaper/image has spaces in its name?

because `cat ~/.fehbg`
and eval `cat ~/.fehbg`

This does not work, because feh doesn't save the filename bash compliant (Wallpaper/Waves - Blue.jpg instead of Wallpaper/Waves\ -\ Blue.jpg).

How can i make it work with Wallpapers with spaces in its name? sad

Offline

Board footer

Powered by FluxBB