Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Yep, that's the way most Linux distributions behave and it's been annoying third-party developers for years now :(

The only option that I know of is to provide a .desktop file, which will appear as a shortcut and is double-clickable to launch the game. Absolute/relative paths may be an issue there though :(

(1 edit)

Thanks for reminding me about .desktop files! Indeed relative paths seem to be not working at all, but there's a workaround (thanks to this SO answer), use %k in Exec line of .desktop file to get path to .desktop file itself, and than extract directory name:

Exec=bash -c "$(dirname %k)/launch"

.desktop file is also better than bare bash script because it may be displayed with custom icon, and even localized name.

UPDATE about icon: looks like relative-path icon is not possible. This time really :(