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.
Quoted
Originally posted by napoleone1981
Hi,
I'musing KDE 3.4.1 and with xbindkeys I want to map the winzozz key with the opening of kmenu (like in win the menu start with the key windows). What is the kde command for the kmenu opening???
Source code |
|
1 |
dcop kicker kicker showKMenu |
The normal logout function can also be reached through dcop:Quoted
Originally posted by napoleone1981Another thing:
I'd want to map the power button of my laptop with the window where is possible to choose to halt or reboot or terminate the session. I've to use an event in acpi or can i make it with xbindkeys??? In both cases what is the function that i've to call, that is the function called by CTRL+ALT+CANC???
Source code |
|
1 |
dcop ksmserver ksmserver logout confirm sdtype sdmode |
Quoted
The normal logout function can also be reached through dcop:
code:
1:
dcop ksmserver ksmserver logout confirm sdtype sdmode
, where confirm, sdtype and sdmode are numbers.
This parameters means the following:
confirm:
* -1: ShutdownConfirmDefault
* 0: ShutdownConfirmNo
* 1: ShutdownConfirmYes
sdtype:
* -1: ShutdownTypeDefault
* 0: ShutdownTypeNone
* 1: ShutdownTypeReboot
* 2: ShutdownTypeHalt
sdmode:
* -1: ShutdownModeDefault
* 0: ShutdownModeSchedule
* 1: ShutdownModeTryNow
* 2: ShutdownModeForceNow
* 3: ShutdownModeInteractive
Forum Software: Burning Board®, developed by WoltLab® GmbH
Linux Computer - Linux Forum -
Linux Computer und Notebooks - Lastminute - Wasserbetten & Whirlpools