You are not logged in.
I have gnome running with openbox, and i login via GDM, however i can't for the life of me get xcompmgr to start when i login.
my ~/.config/openbox/autostart.sh file looks like this:
(sleep 5 && /usr/bin/xcompmgr -c) &
I've tried using startx with openbox-gnome-session in my .xinitrc but again, still no luck
is anyone having/had success with a similar setup cos this is driving me up the wall! I bet it's a really simple issue too which will make me feel extra stupid
Offline
I had a similar problem and I resolved putting the xcompmgr line as the first one in autostart.sh. Basically you'll have to start xcompmgr right after Xorg and before everything else.
Hope it helps.
To get something done, a committee should consist of no more than three persons, two of them absent.
--
My Github
Offline
mmm no go i'm afraid. I only have that 1 line in my autostart.sh and it still doesn't start.
Incidently the syntax is fine because if i run the script manually after gnome/openbox has loaded then it works fine
Offline
Have you tried making that into a bash script and the running the script at start?
Offline
that's how i have to run it at the moment, once gnome/openbox have settled, i load a terminal and run
~/.config/openbox/autostart.sh
and it works fine.
Offline
U have to load it first as the other guy said, but there is a way to force it by making something else pause and wait a few seconds so that script can have time to start.
I had the same problem with pypanel. I just gave up and moved to a different DE.
Last edited by jacko (2007-12-19 02:38:57)
Offline
U have to load it first as the other guy said, but there is a way to force it by making something else pause and wait a few seconds so that script can have time to start.
Yes, something like
xcompmgr -c
sleep 5 && $whatever_you_want_to_run_after
or perhaps you'll have to increment the sleep time, some programs, like pypanel, start too fast, even before X or openbox themselves, and so they get closed.
To get something done, a committee should consist of no more than three persons, two of them absent.
--
My Github
Offline
Thanks to everyone, I've tried everything suggested but it still isn't working so I'm just going to switch to metacity-compistor-svn from aur instead.
Cheers for your help peeps!
Offline
Are you sure that when you start openbox with gnome it reads autostart.sh? It looks like it's not.
Using Openbox without a desktop environment (The lightweight approach)
(...)
When choosing this option, the autostart file is executed before launching Openbox, (...)
Last edited by andre.ramaciotti (2007-12-21 12:23:14)
(lambda ())
Offline
++ andre
I believe autostart.sh is only executed when running the openbox-session command; not openbox-gnome-session.
thayer williams ~ cinderwick.ca
Offline