Reboot and Shutdown in menu

Sergio secipolla at gmail.com
Mon Jun 18 12:10:03 UTC 2012


On 06/18/2012 06:28 AM, Christoph Wickert wrote:
> Am Montag, den 18.06.2012, 00:22 +0200 schrieb Marcus Moeller:
>> Hi all,
>>
>> does one of you know a way to display Reboot and Shutdown options
>> directly in the Xfce Menu?
>
> $ cat /usr/share/applications/xfce4-session-reboot.desktop
> [Desktop Entry]
> Version=1.0
> Type=Application
> Exec=xfce4-session-logout -r
> Icon=system-reboot
> StartupNotify=false
> Terminal=false
> Categories=System;X-XFCE;X-Xfce-Toplevel;
> OnlyShowIn=XFCE;
> Name=Reboot
> Name[de]=Neustart
> Comment=Reboot your computer
> Comment[de]=Den Computer neu starten
>
> $ cat /usr/share/applications/xfce4-session-shutdown.desktop
> [Desktop Entry]
> Version=1.0
> Type=Application
> Exec=xfce4-session-logout -h
> Icon=system-shutdown
> StartupNotify=false
> Terminal=false
> Categories=System;X-XFCE;X-Xfce-Toplevel;
> OnlyShowIn=XFCE;
> Name=Reboot
> Name[de]=Herunterfahren
> Comment=Shut down your computer
> Comment[de]=Den Computer neu herunterfahren
>
> For more info have a look at 'xfce4-session-logout --help'
> and /usr/share/applications/xfce4-session-logout.desktop.
>
> Kind regards,
> Christoph
>
>
Then copy /etc/xdg/menus/xfce-applications.menu to 
~/config/menus/xfce-applications.menu and edit it accordingly to add 
those entries.


More information about the xfce mailing list