04-11-2022, 10:40 AM
(04-07-2022, 05:05 PM)Airdale Wrote: How did you make the desktop file so suspend shows up in the app drawer? That would be a real time saver.
I apologize for the delayed response, but in general I just grab a random desktop file and copy then alter it to what I need. I use Arch Phosh, so the GNOME category may make no sense for you, and of course I use systemd on my PPP, but feel free to make modifications.
/usr/share/applications/suspend.desktop
Code:
[Desktop Entry]
Version=1.0
Name=Suspend
Comment=Put the PC to sleep.
Exec=/usr/bin/systemctl suspend
Terminal=false
Type=Application
Icon=system-shutdown
Categories=GNOME;
StartupNotify=false