Skip navigation.
Home

Reply to comment

re: Logout button

Ah, that's useful. I was using the power button on my laptop to get that dialog, but I'd been looking for a way to get an icon on the panel too. All I'd found was a way to do it with D-BUS, e.g.:

if zenity --question --text='Halt?'; then
  dbus-send --dest=org.gnome.PowerManager --print-reply \
    /org/gnome/PowerManager/Control org.gnome.PowerManager.Control.Shutdown
fi

Reply

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h1> <h2> <h3> <h4> <img> <pre> <b> <i> <blockquote>
  • Lines and paragraphs break automatically.
  • Link to content with [[some text]], where "some text" is the title of existing content or the title of a new piece of content to create. You can also link text to a different title by using [[link to this title|show this text]]. Link to outside URLs with [[http://www.example.com|some text]], or even [[http://www.example.com]].
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>.

More information about formatting options