You are not logged in.

#1 2009-12-31 11:29:06

Greenstuff
Member
From: Israel
Registered: 2009-06-30
Posts: 64

[SOLVED] xcompmgr, feh and openbox don't play nice

Hey,
I started using Openbox with xcompmgr a few days ago. I start xcompmgr in .xinitrc, then a few apps later Openbox (see .xinitrc file). Problem is, xcompmgr paints my background gray. Calling feh later doesn't paint a new background image. I read in the wiki that the problem is with xcompmgr and the solution is to use hsetroot (http://wiki.archlinux.org/index.php/Xco … Openbox.29).  This doesn't solve the problem for me. All it does is paint my background before xcompmgr repaints it gray. If it matters, my login manager's SLIM and this is my .xinitrc:

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
hsetroot -solid "#000066"
xcompmgr -cfF && feh --bg-scale /home/gal/Pictures/fiji.JPG & 
tint2 &
tilda & 
gnome-power-manager &
xscreensaver --no-splash &
sleep 5
feh --bg-scale /home/gal/Pictures/fiji.JPG &
conky -b &
exec ck-launch-session openbox-session

# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

Any comments about how to sole this problems are welcome.

EDIT: The sleep 5 statement was to try to make feh work by giving it some brake. Sadly it did not help.

Last edited by Greenstuff (2010-01-01 14:25:12)

Offline

#2 2009-12-31 12:38:00

daneel971
Member
Registered: 2008-03-28
Posts: 197

Re: [SOLVED] xcompmgr, feh and openbox don't play nice

I use similar settings to yours, but:
- they are in ~/.config/openbox/autostart.sh
- no "hsetroot"
- nitrogen, instead of feh

Besides: why did you place xcompmgr and feh on the same line? Did you try with two different lines, one for each command?

Last edited by daneel971 (2009-12-31 12:38:44)

Offline

#3 2009-12-31 12:48:53

chilebiker
Member
From: Zurich, Switzerland
Registered: 2006-07-18
Posts: 161

Re: [SOLVED] xcompmgr, feh and openbox don't play nice

Start feh before xcompmgr and delete the "&& feh..."
I use my .xinitrc only to start openbox, everything else is in autostart.sh.


Don't panic!

Offline

#4 2009-12-31 12:56:08

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: [SOLVED] xcompmgr, feh and openbox don't play nice

Launching xcompmgr  in autostart instead of xinitrc could also provide a possible solution.


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#5 2009-12-31 15:38:55

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: [SOLVED] xcompmgr, feh and openbox don't play nice

sHyLoCk wrote:

Launching xcompmgr  in autostart instead of xinitrc could also provide a possible solution.

I would have to agree also I notice that feh is ran twice during startup... i don't see the need for that either.


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

#6 2010-01-01 14:25:52

Greenstuff
Member
From: Israel
Registered: 2009-06-30
Posts: 64

Re: [SOLVED] xcompmgr, feh and openbox don't play nice

Thanks. Moving the .xinirc commands (other than starting openbox of course) fixed it.

Offline

Board footer

Powered by FluxBB