Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Script code for exiting X?
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
sparriskrigaren
Tux's lil' helper
Tux's lil' helper


Joined: 20 Aug 2003
Posts: 103

PostPosted: Wed Sep 10, 2003 10:52 am    Post subject: Script code for exiting X? Reply with quote

I'd like to make a script that can be run from inside KDE, that first of alls logs me out of KDE, i.e exits X (I guess)?

What is the script code for doing this? :)

Best regards,
Johan
Back to top
View user's profile Send private message
fbleagh
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jun 2002
Posts: 98

PostPosted: Wed Sep 10, 2003 12:18 pm    Post subject: Reply with quote

Code:
dcop kdesktop default logout


should do the trick - but to make it work you need to turn off logout confimation which is under - control centre - kde components - session manager


cheers

Fbleagh
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