xbindkeys und shutdown-button
Habe mir xbindkeys installiert und alles läuft einwandfrei - ich kann die MM tasten meiner Tastatur bedienen, nur ein Problem habe ich und zwar: Ich möche, dass bei drücken des Shutdown buttons nicht "shutdown -h now" ausgeführt wird, sondern das KDE fenster mit der Auswahl "herunterfahren, abmelden, neu starten" angezeigt wird. Weiß jemand einen Befehl oder eine Möglichkeit dieses Fenster auf den Bidlschirm zu bekommen? ;-) Patrick
Patrick Trettenbrein wrote:
Habe mir xbindkeys installiert und alles läuft einwandfrei - ich kann die MM tasten meiner Tastatur bedienen, nur ein Problem habe ich und zwar: Ich möche, dass bei drücken des Shutdown buttons nicht "shutdown -h now" ausgeführt wird, sondern das KDE fenster mit der Auswahl "herunterfahren, abmelden, neu starten" angezeigt wird. Weiß jemand einen Befehl oder eine Möglichkeit dieses Fenster auf den Bidlschirm zu bekommen? ;-)
Müsste irgendwie mit dcop gehen, wie genau weiß ich aber auch nicht. Vielleicht hilft dir aber der Hinweis. Gruß, Bernhard
Am Samstag, 11. Dezember 2004 15:32 schrieb Bernhard Walle:
Patrick Trettenbrein wrote:
Habe mir xbindkeys installiert und alles läuft einwandfrei - ich kann die MM tasten meiner Tastatur bedienen, nur ein Problem habe ich und zwar: Ich möche, dass bei drücken des Shutdown buttons nicht "shutdown -h now" ausgeführt wird, sondern das KDE fenster mit der Auswahl "herunterfahren, abmelden, neu starten" angezeigt wird. Weiß jemand einen Befehl oder eine Möglichkeit dieses Fenster auf den Bidlschirm zu bekommen? ;-)
Müsste irgendwie mit dcop gehen, wie genau weiß ich aber auch nicht. Vielleicht hilft dir aber der Hinweis.
Gruß, Bernhard
danke, das mit dem DCOP ist immerhin mal ein Hinweis, später mal bei googel suchen... eigentlich müsste ich nur wissen welches prog. die KDE session beendet? - Dann geht es mit "dcop --session <programme>" hm... Patrick
so für alle die es interssiert: die lösung ist prinzipiell recht einfach und ich habe sie dank dem hinweis und ein bisschen probieren recht schnell gefunden... einfach "dcop --user <username> ksmserver ksmserver logout 0 2 0" meldet den benutzer aber und fährt das system herunter. Jetzt wäre es noch praktisch den befehl zu wissen, der die arbeitsfläche sperrt. Falls ihn jemand kennt bitte Posten - ansonsten werd ichs wohl wieder bei google versuchen und dann hier melden... ;-) Patrick
Am Samstag, 11. Dezember 2004 16:12 schrieb Patrick Trettenbrein:
so für alle die es interssiert:
die lösung ist prinzipiell recht einfach und ich habe sie dank dem hinweis und ein bisschen probieren recht schnell gefunden...
einfach "dcop --user <username> ksmserver ksmserver logout 0 2 0" meldet den benutzer aber und fährt das system herunter. Jetzt wäre es noch praktisch den befehl zu wissen, der die arbeitsfläche sperrt. Falls ihn jemand kennt bitte Posten - ansonsten werd ichs wohl wieder bei google versuchen und dann hier melden... ;-)
Patrick
auch bildschirm sperren hab ich gefunden: "/opt/kde3/bin/dcop kdesktop KScreensaverIface lock" Patrick
Am Samstag, 11. Dezember 2004 15:27 schrieb Patrick Trettenbrein:
Habe mir xbindkeys installiert und alles läuft einwandfrei - ich kann die MM tasten meiner Tastatur bedienen, nur ein Problem habe ich und zwar: Ich möche, dass bei drücken des Shutdown buttons nicht "shutdown -h now" ausgeführt wird, sondern das KDE fenster mit der Auswahl "herunterfahren, abmelden, neu starten" angezeigt wird. Weiß jemand einen Befehl oder eine Möglichkeit dieses Fenster auf den Bidlschirm zu bekommen? ;-)
Aber sicher. dcop kdesktop KDesktopIface logout -- Gruß / Regards Gunnar Salbeck GnuPG-Key: 0xADECC257EFEC0F37 http://pgp.mit.edu/ Fingerprint: 3C9A B868 D3C4 1A1B A8A2 CCC6 ADEC C257 EFEC 0F37 Skype: callto://gunnarsalbeck
participants (3)
-
Bernhard Walle
-
Gunnar Salbeck
-
Patrick Trettenbrein