You are not logged in.
Pages: 1
So I'm switching over to openbox, and I've run into a problem:
How do I stop the gnome-panel from starting everytime i log in?
Offline
I am logging in via gdm, with 'openbox-session'
Offline
Do you have something along these lines in your ~/.config/openbox/autostart.sh? If so, remove or comment it.
. $GLOBALAUTOSTART
Last edited by creslin (2008-10-15 02:28:02)
ARCH|awesome3.0 powered by Pentium M 750 | 512MB DDR2-533 | Radeon X300 M
The journey is the reward.
Offline
This is all I have in that folder:
menu.xml rc.xml
Offline
Try creating an empty autostart.sh in that folder.
ARCH|awesome3.0 powered by Pentium M 750 | 512MB DDR2-533 | Radeon X300 M
The journey is the reward.
Offline
in .xinitrc ...
exec openbox-session
and read the following...
http://wiki.archlinux.org/index.php/Start_X_at_boot
try inittab-method with slim or if you are a lazy guy go down to the bottom of the page and try auto-login as described there
Last edited by koch (2008-10-15 02:44:38)
Offline
in .xinitrc ...
exec openbox-session
and read the following...
http://wiki.archlinux.org/index.php/Start_X_at_boot
try inittab-method with slim or if you are a lazy guy go down to the bottom of the page and try auto-login as described there
ok i will try this. The empty autostart.sh thing didn't work.
Last edited by Gauvenator (2008-10-15 02:49:33)
Offline
It's most likely caused from gdm, but I figured might as well check some other options before installing a new manager.
ARCH|awesome3.0 powered by Pentium M 750 | 512MB DDR2-533 | Radeon X300 M
The journey is the reward.
Offline
It's most likely caused from gdm, but I figured might as well check some other options before installing a new manager.
yah...i tried slim and it works, but I need to figure out how to get all my stuff to automatically start again (bmpanel...etc)
And about gdm; it turns out if I don't have the fusion-icon automatically loading, then it defaults to metacity. Not sure why it won't just load openbox.
Offline
yah...i tried slim and it works, but I need to figure out how to get all my stuff to automatically start again (bmpanel...etc)
Use ~/.config/openbox/autostart.sh to autostart applications for your openbox session. For example:
# Run the system-wide support stuff located in
# /etc/xdg/openbox/autostart.sh
# DBUS: loads dbus session and any dbus-aware apps
# GNOME: loads gnome-settings-daemon for desktop/gui management
# KDE: loads kdeinit, precaching KDE background processes
. $GLOBALAUTOSTART
xbindkeys &
xscreensaver -no-splash &
nitrogen --restore &
And about gdm; it turns out if I don't have the fusion-icon automatically loading, then it defaults to metacity. Not sure why it won't just load openbox.
This might be an obvious question, but are you certain you chose "openbox-session" from GDM and not GNOME/Openbox? openbox-session shouldn't bother with ANY gnome-related stuff and it certainly wouldn't run metacity.
Last edited by thayer (2008-10-15 04:41:59)
thayer williams ~ cinderwick.ca
Offline
yah...i tried slim and it works, but I need to figure out how to get all my stuff to automatically start again (bmpanel...etc)
Use ~/.config/openbox/autostart.sh to autostart applications for your openbox session. For example:
# Run the system-wide support stuff located in # /etc/xdg/openbox/autostart.sh # DBUS: loads dbus session and any dbus-aware apps # GNOME: loads gnome-settings-daemon for desktop/gui management # KDE: loads kdeinit, precaching KDE background processes . $GLOBALAUTOSTART xbindkeys & xscreensaver -no-splash & nitrogen --restore &
And about gdm; it turns out if I don't have the fusion-icon automatically loading, then it defaults to metacity. Not sure why it won't just load openbox.
This might be an obvious question, but are you certain you chose "openbox-session" from GDM and not GNOME/Openbox? openbox-session shouldn't bother with ANY gnome-related stuff and it certainly wouldn't run metacity.
OK so I've tried with the ~/.config/openbox/autostart.sh and it doesn't do my stuff whether I use startx or slim.
. $GLOBALAUTOSTART
/usr/local/bin/nitrogen --restore &
nvidia-settings --load-config-only &
xcompmgr -n &
(sleep 2 && bmpanel "/home/patrick/Downloads/bmp panel themes/arch/arch/") &
(sleep 2 && docker) &
My ~/.xinitrc has this line for openbox:
exec openbox
Not sure why it wont load those programs...hopefully i'm just making a silly mistake you guys will spot
Let me know if there are any other files you all need to see.
Last edited by Gauvenator (2008-10-15 05:10:38)
Offline
Change the ~/.xinitrc to this:
exec openbox-session
Remove this line from autostart.sh:
. $GLOBALAUTOSTART
ARCH|awesome3.0 powered by Pentium M 750 | 512MB DDR2-533 | Radeon X300 M
The journey is the reward.
Offline
man openbox:
The third option at log in, which is Openbox without a session manager, uses the openbox-session command to start Openbox. On log in, openbox will run the ~/.config/openbox/autostart.sh script if it exists, and will run the system-wide script /etc/xdg/openbox/autostart.sh otherwise.
So you need to do as several people have mentioned before: put "exec openbox-session" in your .xinitrc, and then you can modify autostart.sh to automagically have your programs started.
Don't panic!
Offline
Change the ~/.xinitrc to this:
exec openbox-session
Remove this line from autostart.sh:
. $GLOBALAUTOSTART
man openbox:
The third option at log in, which is Openbox without a session manager, uses the openbox-session command to start Openbox. On log in, openbox will run the ~/.config/openbox/autostart.sh script if it exists, and will run the system-wide script /etc/xdg/openbox/autostart.sh otherwise.
So you need to do as several people have mentioned before: put "exec openbox-session" in your .xinitrc, and then you can modify autostart.sh to automagically have your programs started.
Yay thankyou both! Changing the line from openbox to openbox-session worked perfectly I just thought those were the same thing before...hehe
Offline
OK now that that's solved, I've got a new problem. I'm trying to change my default cursor, but I'm not having much success.
I made a ~/.Xdefaults with this in it:
Xcursor.theme: human
I've tried gcursor too, and it doesn't work either.
Offline
Hmm, I'm a recent Openbox convert (from KDE) and I'd also like to know how to change cursor themes.
Offline
OK now that that's solved, I've got a new problem. I'm trying to change my default cursor, but I'm not having much success.
Here's mine...note the asterisk where your period is:
Xcursor*theme: Vanilla-DMZ-AA
Xcursor.size: 22
Also I could be wrong, but I believe theme names are case sensitive too so make sure it's the right case (e.g. human vs. Human)
Last edited by thayer (2008-10-16 05:26:27)
thayer williams ~ cinderwick.ca
Offline
If I'm right, and you want the same mouse pointer as in Ubuntu, that one is NOT called Human, but DMZ-White. Make sure you have the icons in ~/.icons or /usr/share/icons. This is what my .Xdefaults looks like
Xcursor.theme:DMZ-White
Keep it Simple, Sexy
Offline
Is that your entire .Xdefaults? I don't have a file like that, so what I did was just make a folder in /usr/share/icons called "default", made an "index.theme" and put this in it:
[icon theme]
Inherits=a0x
And that worked fine.
And in the midst of such perfection,
I can't help but feel diseased.
Offline
If I'm right, and you want the same mouse pointer as in Ubuntu, that one is NOT called Human, but DMZ-White. Make sure you have the icons in ~/.icons or /usr/share/icons. This is what my .Xdefaults looks like
Xcursor.theme:DMZ-White
Is that your entire .Xdefaults? I don't have a file like that, so what I did was just make a folder in /usr/share/icons called "default", made an "index.theme" and put this in it:
[icon theme] Inherits=a0x
And that worked fine.
Oh. wow. I was entering the wrong icon thing *facepalm. I thought human was the cursor theme lol
I had tried that methot with the index.theme earlier but entered the wrong theme; but now it works great!
Thx for all of you for your help
Offline
Ok time for another problem XD
I want OpenOffice to look nice. I tried the export OOO_FORCE_DESKTOP=gnome thing in the autostart.sh, but I'm not sure it works with OpenOffice 3.
Is there a new trick for ooo3?
Offline
Ok time for another problem XD
I want OpenOffice to look nice. I tried the export OOO_FORCE_DESKTOP=gnome thing in the autostart.sh, but I'm not sure it works with OpenOffice 3.
Is there a new trick for ooo3?
http://bbs.archlinux.org/viewtopic.php?pid=427825
That's what I use.
And in the midst of such perfection,
I can't help but feel diseased.
Offline
Gauvenator wrote:Ok time for another problem XD
I want OpenOffice to look nice. I tried the export OOO_FORCE_DESKTOP=gnome thing in the autostart.sh, but I'm not sure it works with OpenOffice 3.
Is there a new trick for ooo3?
http://bbs.archlinux.org/viewtopic.php?pid=427825
That's what I use.
Yah I was trying to use that, but I didn't realize you had to open OpenOffice from the command line that you typed export OOO_FORCE_DESKTOP=gnome. Now to make a script to do this automatically...
edit: yay it's working
Last edited by Gauvenator (2008-10-21 20:52:29)
Offline
Pages: 1