Any way to add Quit or Lock Screen icons to Desktop?

Asked by Stephen Gornick

I would like to create desktop launcher s for the Quit and Lock Screen icons. I can add those to the panel but dragging either of those to the desktop does not work.

Is there some other way to do this?

Question information

Language:
English Edit question
Status:
Solved
For:
GNOME Panel Edit question
Assignee:
No assignee Edit question
Solved by:
Stephen Gornick
Solved:
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Stephen Gornick (sgornick) said :
#2

I looked in gconf-editor to see how the icon on the panel was configured.
  /apps/panel/objects/object_x
  The Quit (logout) button shows
  object_type: "action-applet"
  and
  action_type: "logout"

Another icon I wanted to do the same thing with is the "Force Quit" icon, however that too is object_type: "action-applet".

So apparently since these action-applets are not of the object_type: "launcher-object", they cannot be added as icons to the desktop.

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Stephen Gornick (sgornick) said :
#4
Revision history for this message
Stephen Gornick (sgornick) said :
#5

Per prior post, bus was filed upstream, and there is no solution reported yet.

Revision history for this message
Stephen Gornick (sgornick) said :
#6

A Logout icon can be created by adding a launcher for
  gnome-session-save --logout-dialog

  or, without the dialog
  gnome-session-save --logout --force-logout

A Shutdown icon can be created by adding a launcher for
  gnome-session-save --shutdown-dialog

Found this tip from this post:
  http://ubuntuforums.org/showthread.php?t=40368