In this wiki, we will add Smokin' Guns into Steam as a non-steam game entry on Linux. I'll use in this case a machine running a x86_64 system. On Windows, linking the .exe is straightforward but Linux requires the game to have a .desktop file.
- Creating a Desktop file
- Adding it to Steam
There are many reason for you that we may want to add SG in your non-steam games:
- You want to add all your games in steam to have a nice representation of what you have in your machine
- You want to show your friends that you are playing SG, is there actually a better way to do so?
- You want to use the steam overlay while playing.
Creating a Desktop file
Open any text editor and paste the content given below:
[Desktop Entry] Type=Application Name=Smokin' Guns Exec=/home/yourname/folder/of/smokinguns.x86_64 Icon=/home/yourname/folder/of/sg_48.png
You may edit the Exec and Icon line to point to the smokinguns.x86_64 executable (or .i386 if you are using a 32bit system) and sg_48.png icon file Then save what you did as smokinguns.desktop into the root folder of the game (in the example, it was /home/yourname/folder/of/)
Adding it to Steam
- Click on + ADD A GAME... on the botton of the window on the Library section of Steam
- Select Add a Non-Steam Game...
- Click on BROWSE...
- Go where you saved your smokinguns.desktop file, select it and click OPEN
- Then click on ADD SELECTED PROGRAMS