You are not logged in.
Pages: 1
Alright, I'm making a full switch from gnome to openbox mainly because of it's speed. My problem is though, the desktop is always too plain and it's a pain to start applications like "fbpanel" manually. I've looked around google and this forum and didn't find the answer to my question, how do I get programs to startup automatically when logging in through GDM to OB3. I don't use the startx command but I know the way to do it through their. I'd much rather kepe using my GDM. All help is appreciated!
Offline
Wild guess is .xdefappl, .xinitrc or .xsession, been a while since I used *box.
Offline
I tried adding this to Xsession:
#!/bin/sh
#
# ~/.xsession
#
# Executed by xdm/gdm/kdm at login
#
/bin/bash --login -i ~/.xinitrc
exec fbpanel &Which did nothing, so I added the same to .xinitrc:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#
#exec wmaker &
exec fbpanel &Nothing happened.
Offline
did you check openbox's config files?
I know there's a way to do what you want in fluxbox, which is only similiar to openbox. But check out the man page for openbox, it might tell you relevent info about the config files (the command should look the same "exec fbpanel &", you would put it somewhere, slightly before it loads openbox. (could be worng about that)
Offline
Did you make them executable?
Offline
fbpanel &
exec openboxOffline
Put something like this in your .Xclients and make it executable:
#!/bin/sh
/path/to/fbpanel &
exec /usr/bin/openboxThen, in GDM, you select "Default System Session" as your Session. If there's something like "Custom Session" (Can't tell since I'm not using gdm) you could choose that as well, but you'd had to use .xsession instead then.
To find out the magic behind this stuff you can have a look at /opt/gnome/etc/gdm/Xsession. The "Default System Session" (/opt/gnome/share/gdm/BuiltInSessions/default.desktop) just calls it with "default" as param.
Offline
Pages: 1