this post was submitted on 30 Jan 2026
7 points (100.0% liked)
CachyOS
280 readers
1 users here now
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments

This thread is already over a month old, but here are my two cents anyway.
Via GUI
Right-click on the desktop → Create new empty file with file extension .desktop
Open the file in a text editor such as Kate and paste in the information for the desktop shortcut:
Notes:
Terminal=falsethen the script will run invisibly in the background.Via Console
This is a one-liner for the bash/fish console. It creates a desktop shortcut for the current user, fills in the example content from above and sets execution permission for the shortcut.
You can change the file name of the shortcut and the contents of the file afterwards, or before you send the command to the console.