On-desktop shortcut for suspend/sleep in the Xfc

Message
Author
almahdi
Posts: 89
Joined: Fri Aug 14, 2020 11:19 pm

On-desktop shortcut for suspend/sleep in the Xfc

#1 Post by almahdi »

How do we have on desktop shortcut for suspend/sleep in the Xfce that used to be easily created in KDE, Mate ?
also if it's easy to have shutdown or restart, etc of such.. Thanks in advance

User avatar
figueroa
Posts: 1106
Joined: Thu Dec 20, 2018 11:20 pm

Re: On-desktop shortcut for suspend/sleep in the Xfc

#2 Post by figueroa »

It's on the default panel at the top. No need for it on the desktop.
Andy Figueroa
Using Unix from 1984; GNU/Linux from 1993

User avatar
Dennis-TW
Posts: 75
Joined: Tue Apr 09, 2019 6:59 am

Re: On-desktop shortcut for suspend/sleep in the Xfc

#3 Post by Dennis-TW »

My method for this:

Right-click on Desktop and choose "Create Launcher"

In the Command section, enter one of the following for the desired function:

xfce4-session-logout --suspend

xfce4-session-logout --hibernate

xfce4-session-logout --halt --fast

xfce4-session-logout --reboot --fast

In addition, you can choose a nice icon.

Post Reply

Return to “XFCE Desktop Environment”