8

How can I make a desktop shortcut of the two highlighted shell files (forge.sh and forge-adventure.sh)? Copying and pasting doesn't work since the filepath isn't brought over with them. I've tried using Menu Editor but can't find a decent guide on setting it up.

you are viewing a single comment's thread
view the rest of the comments
[-] TauZero@mander.xyz 1 points 4 months ago

Desktop shortcuts are ".desktop" files in your /home/user/Desktop directory, which are small text files describing what to run and where. I don't have KDE desktop environment, but there is some way to create a new shortcut, maybe by opening /home/user/Desktop in the GUI file browser and rightclicking empty space/checking menu options for "create link to application" and pointing it to your shell script. Or maybe you can right-click on the desktop directly, but presumably you've tried that and it doesn't work. Worst case, you can write your own forge_installer.desktop file from scratch, specifying the shell script and the working path (if needed). Ask AI how, they are actually good at getting the format correct for stuff like that.

[-] pandorum@feddit.org 1 points 2 months ago

Short hint for the Desktop directory: /home//Desktop is language specific! On my german system for example it is /home//Schreibtisch

Therefore, you shouldn't use /home//Desktop or ~/Desktop in snippets/scripts, but "$(xdg-user-dir DESKTOP)".

Example: touch "$(xdg-user-dir DESKTOP)/MyApp.desktop"

[-] TauZero@mander.xyz 1 points 2 months ago

Schreibtisch! ~/SCHREIBTISCH! angreifen "$(xdg-user-dirs SCHREIBTISCH)/MeinApp.schreibtisch" bitte! German is amazing.

[-] pandorum@feddit.org 1 points 2 months ago

NEIN! NEIN! NEIN! NEIN!

this post was submitted on 30 Jan 2026
8 points (100.0% liked)

CachyOS

326 readers
1 users here now

https://cachyos.org/

founded 2 years ago
MODERATORS