sending gnome-panel actions from launcher

Asked by John Gruber

I have started experimenting with my gnome desktop and would like to understand how to issue panel actions from a launcher like 'lock' or 'logout'. I want to have my panel hidden at most times and work through a common set of launchers on my desktop for most (99%) of the time. I making this easy for me and my kids. Obviously I want a launcher to logout. I looked at the applet config through gconf-editor, but can not see how to send the logout actions to the panel from a launcher.... help????

How do I send panel actions through CLI?

Thanks,

John

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Markus Thielmann (thielmann) said :
#1

Thanks for your question.

Lock: gnome-session-save --kill --silent
Logout: gnome-screensaver-command --lock

Just create your own launcher.

Revision history for this message
John Gruber (john-gruber) said :
#2

Thank you for your reply... I made launchers immediately.. (reversed the lock/logout no biggie).

How do I get the Ubuntu 'dialog box which lets you choose to lock/logout/switch user or power management states?

Thanks in advance.... John

Revision history for this message
Markus Thielmann (thielmann) said :
#3

You can't, as it's an gnome applet, not a standalone gnome application.

Can you help with this problem?

Provide an answer of your own, or ask John Gruber for more information if necessary.

To post a message you must log in.