Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
acpid: on power button press -> kde logout
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
sven
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 274

PostPosted: Sun Oct 13, 2002 5:31 pm    Post subject: acpid: on power button press -> kde logout Reply with quote

I've installed the ACPI daemon and it works fine.
Now I want to logout from KDE when pressing the power button (same as if I would press the logout button from the KDE panel) and wonder what command lies behind that button?
Back to top
View user's profile Send private message
eivinn
Apprentice
Apprentice


Joined: 10 Jul 2002
Posts: 219
Location: Norway

PostPosted: Mon Oct 14, 2002 9:14 am    Post subject: Reply with quote

CTRL-ALT-DELETE brings up the logout dialogue for me. All you then need is to press enter...

Don't know if this helps though.
Back to top
View user's profile Send private message
sven
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 274

PostPosted: Mon Oct 14, 2002 10:06 am    Post subject: Reply with quote

Uhm, actually I want to logout from KDE when pressing the power button on my computers tower by using acpid...
Back to top
View user's profile Send private message
eivinn
Apprentice
Apprentice


Joined: 10 Jul 2002
Posts: 219
Location: Norway

PostPosted: Mon Oct 14, 2002 10:36 am    Post subject: Reply with quote

Then I suggest you read this:

http://www.columbia.edu/~ariel/acpi/acpi_howto.txt

You might even do a search on Google.


Last edited by eivinn on Mon Oct 14, 2002 1:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
sven
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 274

PostPosted: Mon Oct 14, 2002 11:33 am    Post subject: Reply with quote

eivinn wrote:
Then I suggest you read this:

http://www.cut.de/bkr/linux/apmd/apmd.html

http://www.columbia.edu/~ariel/acpi/acpi_howto.txt

You might even do a search on Google.


Why do I need the first URL for my problem? The second URL does not cover KDE at all...

I know how to setup acpid and it is working...
Back to top
View user's profile Send private message
eivinn
Apprentice
Apprentice


Joined: 10 Jul 2002
Posts: 219
Location: Norway

PostPosted: Mon Oct 14, 2002 1:21 pm    Post subject: Reply with quote

First link snook in by an error :oops:

Was to be a link to how you could catch button pushes in ACPI and assign commands. Can't find it again. Searched in Google. You could try to find it.

After that, assuming you know how to assign the commands to the power button, you could just ask the KDE developers what command is run by CTRL-ALT-DEL in KDE. Might be found with ps?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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