You are not logged in.

#1 2010-01-05 19:24:09

AlexS
Member
From: Munich, Germany
Registered: 2009-05-16
Posts: 114

[solved] openbox is not reading .config/openbox/autostart.sh

Following the wiki instructions, I created an ~/.config/openbox/autostart.sh
(which I rendered executable, in case that was the problem): containing the following:

#!/bin/sh
.HOME/.fehbg &
thunar -daemon &
.HOME/.dropbox-dist/dropboxd &

also, my ~/.xinitrc

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
exec dbus-launch --exit-with-session openbox-session
export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
exec openbox-session

Despite all this, when I launch startx openbox ignores autostart.sh

What has escaped me?

Last edited by AlexS (2010-01-05 21:05:46)

Offline

#2 2010-01-05 19:49:35

NeOnsKuLL
Member
From: Havana, Cuba
Registered: 2005-03-29
Posts: 117

Re: [solved] openbox is not reading .config/openbox/autostart.sh

OK, I don't think this is the problem, but, why are you launch openbox-session twice?

I think you should put just this two statements (in this order), in your .xinitrc

export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
exec dbus-launch --exit-with-session openbox-session

See you


Intel Core 2 Duo E8400 3.0 GHz | 2x1GB 667MHz | 250+750GB Seageate SATAII | Samsung 19" TFT 1440x900
Openbox + obmenugen + PyTyle | bmpanel2 | oblogout | conky | pyBgSetter (with Esetroot as backend)
Projects: obmenugen, pyBgSetter

Offline

#3 2010-01-05 20:28:05

AlexS
Member
From: Munich, Germany
Registered: 2009-05-16
Posts: 114

Re: [solved] openbox is not reading .config/openbox/autostart.sh

NeOnsKuLL wrote:

OK, I don't think this is the problem, but, why are you launch openbox-session twice?

I guess it kind of happened as I was doing the installation.:rolleyes: I modified .xinitrc as you suggested, but as you expected it did not improve the situation.

Cheers

Offline

#4 2010-01-05 20:38:27

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

Re: [solved] openbox is not reading .config/openbox/autostart.sh

Also Shouldn't the thunar daemon be ran as :

thunar --daemon

When openbox session is ran it looks for ~/.config/openbox/autostart.sh so as long as that is there I would just make sure the commands are correct.


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

#5 2010-01-05 20:45:24

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: [solved] openbox is not reading .config/openbox/autostart.sh

You'll probably find that you still need the ampersand at the end of the thunar line

thunar --daemon &

As to the other two, do the files /home/<username>/.HOME/.fehbg and /home/<username>/.HOME/.dropbox-dist/dropboxd exist or did you mean to use $HOME/.fehbg and $HOME/.dropbox-dist/dropboxd?

Offline

#6 2010-01-05 21:05:08

AlexS
Member
From: Munich, Germany
Registered: 2009-05-16
Posts: 114

Re: [solved] openbox is not reading .config/openbox/autostart.sh

Finally it worked!

I modified the autostart.sh as suggested

$HOME/.fehbg &
thunar --daemon &
tint2 &
$HOME/.dropbox-dist/dropboxd &

I also had to do the following

chmod +x ~/.fehbg

to make the background work.

Thanks for the help

Offline

Board footer

Powered by FluxBB