Heb dat daar dan ook maar eens gevraagd en dan krijg ik dit antwoord:
Ik heb dat zelf geprobeerd maar dat lukte niet zo goed, misschien dat iemand anders hier meer aan heeft
One solution is to create two .desktop files in your home folder ~/.local/share/applications with the 11.10 restart and shutdown equivalent files.
Create a text file named as below in the folder. Repeat this for the second desktop file.
Dash will automatically display restart and shutdown when you type these into dash.
indicator-session-restart.desktop
[Desktop Entry]
Name=Restart
TryExec=/usr/lib/indicator-session/gtk-logout-helper
Exec=/usr/lib/indicator-session/gtk-logout-helper --restart
Icon=system-restart
Terminal=false
Type=Application
OnlyShowIn=Unity;
Categories=System;
Version=1.0
X-Ubuntu-Gettext-Domain=indicator-session
indicator-session-shutdown.desktop
[Desktop Entry]
Name=Shut Down
TryExec=/usr/lib/indicator-session/gtk-logout-helper
Exec=/usr/lib/indicator-session/gtk-logout-helper --shutdown
Icon=system-shutdown
Terminal=false
Type=Application
OnlyShowIn=Unity;
Categories=System;
Version=1.0
X-Ubuntu-Gettext-Domain=indicator-session