protonscr

Shortcut desktop entries

steamopen
ValveSoftware/steam-for-linux#12263 · opened 2025-08-13 by Drafecito · updated 2025-08-13 · 0 comments · github
DDrafecito 2025-08-13 github

I noticed that when making a menu shorcut, a desktop entry is made.
This is perfect and I really appreciate it, the problem is that games with spaces in the title can't be started by starting this desktop entry, as it is not compliant

https://specifications.freedesktop.org/desktop-entry-spec/latest/file-naming.html

In mi case, if I start a game with no spaces in it, like terraria, I run

uwsm app -- "/home/Drafecito/.local/share/applications/Terraria.desktop"

And it starts the game perfectly

but in the case of a game with a space in it, it errors because of the file name

uwsm app -- "/home/Drafecito/.local/share/applications/Cookie Clicker.desktop"
Error: Invalid Desktop Entry ID "Cookie Clicker.desktop"

I think it's a simple enough fix and it would really help people who want to use these shortcuts!

Also, I changed the names of these desktop entries and removed the spaces, and they now work perfectly!

Nothing extracted yet.