You are not logged in.

#1 2007-12-17 05:49:19

vasdee
Member
Registered: 2006-07-15
Posts: 55

gnome, openbox & autostart.sh

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 sad

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 smile

Offline

#2 2007-12-17 09:28:05

onearm
Member
From: Anywhere but here
Registered: 2006-07-06
Posts: 359
Website

Re: gnome, openbox & autostart.sh

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

#3 2007-12-18 05:39:34

vasdee
Member
Registered: 2006-07-15
Posts: 55

Re: gnome, openbox & autostart.sh

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

#4 2007-12-19 01:31:03

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: gnome, openbox & autostart.sh

Have you tried making that into a bash script and the running the script at start?

Offline

#5 2007-12-19 02:30:22

vasdee
Member
Registered: 2006-07-15
Posts: 55

Re: gnome, openbox & autostart.sh

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

#6 2007-12-19 02:38:33

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: gnome, openbox & autostart.sh

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

#7 2007-12-19 08:31:23

onearm
Member
From: Anywhere but here
Registered: 2006-07-06
Posts: 359
Website

Re: gnome, openbox & autostart.sh

jacko wrote:

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

#8 2007-12-21 01:54:03

vasdee
Member
Registered: 2006-07-15
Posts: 55

Re: gnome, openbox & autostart.sh

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. smile

Cheers for your help peeps!

Offline

#9 2007-12-21 12:22:13

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: gnome, openbox & autostart.sh

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

#10 2007-12-21 15:48:38

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: gnome, openbox & autostart.sh

++ andre

I believe autostart.sh is only executed when running the openbox-session command; not openbox-gnome-session.


thayer williams ~ cinderwick.ca

Offline

Board footer

Powered by FluxBB