Qball's Weblog
Improving gnome3
something I found very weird in gnome3 that I could not type shutdown or suspend in the overview search.
However it is pretty easy to add by writing 2 custom .desktop files (might needs adjustment for non-ubuntu distro’s)
Place these in ~/.local/share/applications/.
For suspending (directly suspends):
1 2 3 4 5 6 7 8 |
[Desktop Entry] Encoding=UTF-8 Name=Suspend Comment=Suspend computer. Exec= dbus-send --system --print-reply --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend Icon=stop Type=Application Categories=Application; |
And for Shutdown (shows popup):
1 2 3 4 5 6 7 8 |
[Desktop Entry] Encoding=UTF-8 Name=Shutdown Comment=Shutdown or restart the computer. Exec=/usr/lib/indicator-session/gtk-logout-helper -s Icon=system-log-out Type=Application Categories=Application; |