Thursday, 29 September 2022

Steam not starting from Cinnamon launcher

 Just upgraded to 22.04.1 LTS and of course that broke a lot of stuff.


In this case it was Steam (installed via apt repository)


Steam would start successfully from a terminal but would fail if launched from a launcher in Cinnamon. Further investigation showed that the steam process would be marked "defunct" after such a failure.

My initial workaround was to change the launcher to "Run in terminal" which worked OK but is kind of messy.

A better "fix" is to edit this file;

<code>sudo vi /usr/share/applications/steam.desktop</code>

and find this line;

<code>Exec=/usr/games/steam %U</code>

and change it to;

<code>Exec=bash -c "LD_PRELOAD='/usr/$LIB/libstdc++.so.6' DISPLAY=:0 steam</code>



No comments: