Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
openbox + autostart
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
eeknay
Guru
Guru


Joined: 07 Jul 2003
Posts: 402
Location: EndOfTheRainbow

PostPosted: Sat Mar 06, 2004 10:39 pm    Post subject: openbox + autostart Reply with quote

hi,

where the hell :twisted: do i put the stuff i want to be started along with openbox???

greetz
eeknay
_________________
Linda: "The holiday season is time of celebration for most but it is also the time to remember the tragic suffering of the less fortunate."
Morbo: "Earthlings do not yet know the meaning of suffering."
Back to top
View user's profile Send private message
slarti`
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 376
Location: UK

PostPosted: Sat Mar 06, 2004 10:47 pm    Post subject: Reply with quote

I don't know if Openbox3 has it's own startup file, but you can certainly put entries in your .xinitrc, if you use startx or xinit to start xfree. If you use gdm/kdm/some other login manager, just add it to /etc/X11/Sessions/openbox (or whatever the openbox entry is called in there).

The syntax is standard shell scripting.
_________________
Gentoo/AMD64, shell-tools, net-mail, vim, recruiters
IRC: slarti @ irc.freenode.net
Devspace
Back to top
View user's profile Send private message
eeknay
Guru
Guru


Joined: 07 Jul 2003
Posts: 402
Location: EndOfTheRainbow

PostPosted: Sat Mar 06, 2004 10:58 pm    Post subject: Reply with quote

doh! that wasn't too much of a problem, I forgot about that.
anyways, thanks for the quick reply.

eeknay
_________________
Linda: "The holiday season is time of celebration for most but it is also the time to remember the tragic suffering of the less fortunate."
Morbo: "Earthlings do not yet know the meaning of suffering."
Back to top
View user's profile Send private message
eeknay
Guru
Guru


Joined: 07 Jul 2003
Posts: 402
Location: EndOfTheRainbow

PostPosted: Sat Mar 06, 2004 11:12 pm    Post subject: Reply with quote

hm, if i was to set a backgroundimage in my .xinitrc, how would i do this? and how do i run apps? like starting the wm (exec?)

eeknay :roll:
_________________
Linda: "The holiday season is time of celebration for most but it is also the time to remember the tragic suffering of the less fortunate."
Morbo: "Earthlings do not yet know the meaning of suffering."
Back to top
View user's profile Send private message
slarti`
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 376
Location: UK

PostPosted: Sun Mar 07, 2004 11:54 am    Post subject: Reply with quote

Your .xinitrc should start with any settings for X (xset etc), then your window manager, then any apps to be loaded, etc, then your hang point. You can mess around with the order a bit, but this is generally the best.

Code:
# window manager
fluxbox & wmpid=$!

#load this to have gtk2 apps look ok
GSDPID=`pidof gnome-settings-daemon`
if [  "x$GSDPID" == "x" ]; then
gnome-settings-daemon &
fi

# apps to start
xmms
aterm

# set wallpaper
feh --bg-scale /path/to/wallpaper.png

# hang point
wait $wmpid

_________________
Gentoo/AMD64, shell-tools, net-mail, vim, recruiters
IRC: slarti @ irc.freenode.net
Devspace
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum