5
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 09 Jul 2023
5 points (77.8% liked)
Linux Gaming
15842 readers
2 users here now
Gaming on the GNU/Linux operating system.
Recommended news sources:
Related chat:
Related Communities:
Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.
founded 4 years ago
MODERATORS
Instead of trying to get Steam to write outside of its sandbox, I would configure the OS to search Steam's files for application launchers.
Your system searches "data" directories for directories called
applications
, and loads.desktop
files from there. You can customize locations for data directories using theXDG_DATA_DIRS
environment variable. See https://unix.stackexchange.com/a/492878In this case you want to set
XDG_DATA_DIRS
to include~/.var/app/com.valvesoftware.Steam/.local/share
because that is the parent of theapplications
directory.I think you'll want to include the default data dirs so you don't lose your other launchers. So something like,
If I'm understanding the spec correctly you don't need to include
~/.local/share
because that is the default path forXDG_DATA_HOME
which is always searched, andXDG_DATA_DIRS
specifies additional paths to search.but that isn't gonna make some apps became confuse and install the .desktop in the steam directory?