You are not logged in.

#1 2008-10-15 01:14:14

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

New openbox user

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

#2 2008-10-15 01:16:44

Ghost1227
Forum Fellow
From: Omaha, NE, USA
Registered: 2008-04-21
Posts: 1,422
Website

Re: New openbox user

how are you logging in? if you are using .xinitrc, make sure that it says 'openbox-session' and not 'gnome-session' or 'openbox-gnome-session'.


.:[My Blog] || [My GitHub]:.

Offline

#3 2008-10-15 01:38:53

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: New openbox user

I am logging in via gdm, with 'openbox-session'

Offline

#4 2008-10-15 02:27:09

creslin
Member
Registered: 2008-10-04
Posts: 241

Re: New openbox user

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

#5 2008-10-15 02:31:40

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: New openbox user

This is all I have in that folder:
menu.xml  rc.xml

Offline

#6 2008-10-15 02:33:12

creslin
Member
Registered: 2008-10-04
Posts: 241

Re: New openbox user

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

#7 2008-10-15 02:42:04

koch
Member
From: Germany
Registered: 2008-01-26
Posts: 369

Re: New openbox user

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

#8 2008-10-15 02:49:16

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: New openbox user

koch wrote:

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

#9 2008-10-15 02:56:17

creslin
Member
Registered: 2008-10-04
Posts: 241

Re: New openbox user

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

#10 2008-10-15 03:29:38

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: New openbox user

creslin wrote:

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

#11 2008-10-15 04:40:49

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

Re: New openbox user

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

#12 2008-10-15 05:09:48

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: New openbox user

thayer wrote:

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 big_smile
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

#13 2008-10-15 05:14:05

creslin
Member
Registered: 2008-10-04
Posts: 241

Re: New openbox user

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

#14 2008-10-15 21:24:59

chilebiker
Member
From: Zurich, Switzerland
Registered: 2006-07-18
Posts: 161

Re: New openbox user

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

#15 2008-10-15 21:55:53

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: New openbox user

creslin wrote:

Change the ~/.xinitrc to this:

exec openbox-session

Remove this line from autostart.sh:

. $GLOBALAUTOSTART
chilebiker wrote:

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 big_smile  I just thought those were the same thing before...hehe

Offline

#16 2008-10-16 05:07:04

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: New openbox user

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

#17 2008-10-16 05:16:07

doorknob60
Member
Registered: 2008-09-29
Posts: 403

Re: New openbox user

Hmm, I'm a recent Openbox convert (from KDE) and I'd also like to know how to change cursor themes.

Offline

#18 2008-10-16 05:26:03

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

Re: New openbox user

Gauvenator wrote:

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

#19 2008-10-16 18:03:58

celettu
Member
Registered: 2007-12-01
Posts: 143
Website

Re: New openbox user

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

#20 2008-10-16 18:23:50

SomeGuyDude
Member
Registered: 2008-10-09
Posts: 271

Re: New openbox user

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

#21 2008-10-16 21:19:03

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: New openbox user

celettu wrote:

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
SomeGuyDude wrote:

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 big_smile

Offline

#22 2008-10-21 04:13:13

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: New openbox user

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

#23 2008-10-21 04:48:39

SomeGuyDude
Member
Registered: 2008-10-09
Posts: 271

Re: New openbox user

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.


And in the midst of such perfection,
I can't help but feel diseased.

Offline

#24 2008-10-21 20:45:29

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: New openbox user

SomeGuyDude wrote:
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 big_smile

Last edited by Gauvenator (2008-10-21 20:52:29)

Offline

Board footer

Powered by FluxBB