Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Text logins and logging out of window managers
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
GeneralKane
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 77

PostPosted: Fri Dec 12, 2003 2:15 am    Post subject: Text logins and logging out of window managers Reply with quote

Hello, I am having a minor problem logging out of fluxbox after starting it. It cant be exited unless a kill the server. Now I could put a script in a menu to do this but I feel there must be a cleaner way to get out of fluxbox.
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Fri Dec 12, 2003 6:13 pm    Post subject: Reply with quote

We might need more information than "can't be exited" to help; what have you tried? Are you running it from an .xsession file or a display manager startup script?

When you say you "kill the server," do you mean you kill the X server? kill -HUP to the fluxbox process would be more graceful, but maybe that's what you're doing.

Also, is there an 'exit' command in your fluxbox menu, maybe in one of the submenus? If not, you can one there: "[exit] (Exit)" wherever you'd like it in your menu (the default menu is /usr/share/commonbox/menu, but is overridden if you have ~/.fluxbox/menu).
Back to top
View user's profile Send private message
GeneralKane
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 77

PostPosted: Sat Dec 13, 2003 3:04 am    Post subject: Reply with quote

What I mean is that the exit command does not exit. And I am using the Ctrl-Alt-Backspace combination to kill X.
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Sat Dec 13, 2003 3:47 am    Post subject: Reply with quote

The exit command is in the default menu (the one in /usr/share/commonbox/menu, which is used if you don't have ~/.fluxbox/menu). If you're using your own menu (~/.fluxbox/menu), put "[exit] (Exit)" in it somewhere; then, after restarting fluxbox or reloading the config, you should have 'Exit' in your fluxbox menu.

That should do it. If not, is there anything in your fluxbox menu at all? What display manager are you using? Are you running fluxbox from an .xsession file?
Back to top
View user's profile Send private message
GeneralKane
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 77

PostPosted: Sat Dec 13, 2003 5:15 am    Post subject: Reply with quote

I am not using a display manager. I am using startx to run fluxbox. At which point i use a custom .xinitrc file to intialize all my programs.
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Sat Dec 13, 2003 5:44 am    Post subject: Reply with quote

Were you able to get Exit into your fluxbox menu?
Back to top
View user's profile Send private message
GeneralKane
Tux's lil' helper
Tux's lil' helper


Joined: 19 Aug 2003
Posts: 77

PostPosted: Sat Dec 13, 2003 9:41 pm    Post subject: Reply with quote

It was always there. And after looking in of all places a gentoo chat, and I found out one hour later that I needed to add the line
Quote:

wait $wmpid

to the end of my $HOME/.xinitrc file I am sorry not to be more detailed
Back to top
View user's profile Send private message
ozonator
Guru
Guru


Joined: 11 Jun 2003
Posts: 591
Location: Ontario, Canada

PostPosted: Sat Dec 13, 2003 10:29 pm    Post subject: Reply with quote

Ah, right. If you want details about how/why this works, it's in questions 13-15 of the fluxbox FAQ.

Glad to hear you got it working!
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