Click to See Complete Forum and Search --> : openbox and gnome question
dkeav
11-17-2002, 11:48 PM
i just got openbox and installed it but i have no .xinitrc file to edit to make it startup with gnome2
would it be under the .profile or the bash_profile
or can i just start it after logging into gnome
z0mbix
11-18-2002, 04:20 AM
the .xinitrc is a file. If it doesn't exist just create it and put whatever you need to into it. For example mine has the following in it to start Openbox:
exec openbox
but if you wish to start Gnome when typing startx you will just need:
exec gnome-session
then you can allocate Openbox as the window manager if that is what you are trying to do :)
dkeav
11-18-2002, 09:20 AM
thanks but none of that is working with mandrake
if i try to startx on startup from command line it bugs out on me and gives me all kinds of errors so i have to do it mandrakes little sign in way
i created the file but im running into the problem of turning off metacity since you cant run two window managers at the same time openbox doesnt get started how can i turn off metacity
z0mbix
11-18-2002, 09:38 AM
Sorry, I start Openbox and just run gnome-settings-daemon and gnome-panel if I need to which isn't often. Other than that, I'd maybe ask the Openbox mailing list or go to their IRC channel #openbox
dkeav
11-18-2002, 11:55 AM
i think i have an idea:rolleyes:
mandrake starts x automatically at the logon
so i can ctrl-alt-f5 to command line and login that way but how do i kill the xserver thats already running
just killall xserv or somthing like that
z0mbix
11-18-2002, 12:13 PM
Run ps ax and look for something like:
/usr/X11R6/bin/X
and kill that process. Or you could just set you linux box to boot to the console by editing you runlevel in and change:
[B]id:5:initdefault:
to
id:3:initdefault:
Next time you reboot you will boot to a console and can use startx to fire up whichever window manager is specified in your ~/.xinitrc
dkeav
11-18-2002, 12:41 PM
1:56 /etc/X11/X :0 -deferglyphs 16 -auth /var/lib/gdm/:0.X 3079 ? S 0:00 gnome-session
3189 ? S 0:03 /usr/bin/metacity --sm-client-id=default1
if i try to kill metacity it just restarts instantly
dkeav
11-18-2002, 01:22 PM
okay here is what ive tried (all of this is being done on a "stupid" user account so i dont mess things up) i turn off x on startup and rebooted logged into the stupid account
if i type startx it boots into gnome as usual
so i killed that process and with no x running typed exec openbox and it just booted me back to the login and i did create the .xinitrc file in my home directory with exec openbox in it so im stuck now
dkeav
11-18-2002, 01:23 PM
where the hell in gnome can you change its window manager??????
dkeav
11-18-2002, 05:50 PM
ive got it to work with gnome 2.0
but its a bit glitchy if i get rid of the gnome panel is there a replacement in openbox like a dock or something
and should i post in how i did it on how to get this to work with gnome2.0 since its a *****(pardon my german):rolleyes: