You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, September 26th 2004, 10:53pm

system shutdown

it is possible to shutdown the system from KDE?
well, i know it is possible, but i'd like to poweroff my system when xmms reaches the end of playlist, for instance?
i tried kdeinit_shutdown, but it only "logs me off"
pls help me :)

Amoeba

Trainee

Posts: 115

Location: http://seattle.wa.u$

Occupation: Urban guerilla

  • Send private message

2

Sunday, September 26th 2004, 10:55pm

[code:1]shutdown -h now[/code:1]
-- rm -fr /etc/whitehouse
-- Gentoo | udev | Xorg 6.8.2 | 2.6.14-r4 | KDE 3.5.0

3

Wednesday, September 29th 2004, 5:46pm

i mentioned FROM WITHIN KDE.
and if i'm not root, well... I think U it won't work

m4ktub

Intermediate

Posts: 257

Location: Lisbon, Portugal

Occupation: Software Engineer

  • Send private message

4

Wednesday, September 29th 2004, 7:56pm

I've read that you can use
[code:1]dcop --all-users ksmserver ksmserver logout 0 2 0[/code:1]

And as said here you can use the command sequence
[code:1]kdeinit_shutdown # stops kdeinit started programs
dcopserver_shutdown # shut's down the KDE IPC system
artsshell -q terminate # stops the arts sound server
[/code:1]

edit: just in case I'm missing something with that "WITHIN KDE" thin. You can always go to the K-Menu choose logoff and then shutdown, right

5

Wednesday, September 29th 2004, 10:04pm

for that particular xmms-issue, i found a plugin to xmms that can do that stuff..

xmms.org

dont remember the name, but it is there somewhere :)

greets //daniel

Amoeba

Trainee

Posts: 115

Location: http://seattle.wa.u$

Occupation: Urban guerilla

  • Send private message

6

Wednesday, September 29th 2004, 11:12pm

Quoted

Original von mi-chou

i mentioned FROM WITHIN KDE.
and if i'm not root, well... I think U it won't work


How to do plan on executing the command? via script?

If you want users to shutdown from KDE, give them permission.

I was under the impression you just weren't sure of the command. Sorry.
-- rm -fr /etc/whitehouse
-- Gentoo | udev | Xorg 6.8.2 | 2.6.14-r4 | KDE 3.5.0