protonscr

Steam Desktop and Menu entrys don't work [+Solution]

steamclosed reviewed
ValveSoftware/steam-for-linux#2745 · opened 2013-07-28 by OWKenobi · updated 2017-08-25 · 7 comments · github
OOWKenobi 2013-07-28 github

Hi all,

On Linux Mint LMDE (and possibly other ubuntu based distros), I cannot start steam by clicking any desktop icon or menu entry, and I cannot start any steam game by clicking on the respective icons. It fails not finding files. However if I enter "steam" in a terminal, it all works fine.

I figured out that adding this line to the beginning of /usr/bin/steam solves the problem - with it all works like a charm:

 source ~/.bashrc

Apparently the bashrc file is not in memory in every user scenario. Another related bug: the .bashrc-file that steam creates confuses my compiler - if I try to compile any other code, when it should not, then it reads the misleading variable $LD_LIBRARY_PATH that steam has placed there and fails - that is no the intended behaviour. So an even better solution would be if Steam created, on install, another file, like ~/.steambashrc and put following line in the /usr/bin/steam

 source ~/.steambashrc

This would be GOLD solution :-)

Jjohndrinkwater 2013-07-29 github

.bashrc isn’t loaded when you log into the desktop, and it shouldn’t be required…

Would you supply your ~/.bashrc please, i’m interested what you may have in there that resolves lauching steam.

OOWKenobi 2013-07-29 github

Hello,

it is following four lines that steam put there on install and which it
obviously needs to start up. I only would not put these lines *in this file
*where they won't work for steam but possibly break other programs.

my ~/.bashrc

STEAMLIBS=${HOME}/Programme/steam/lib
LD_LIBRARY_PATH=${STEAMLIBS}
export STEAMLIBS
export LD_LIBRARY_PATH

2013/7/29 John Drinkwater [email protected]

.bashrc isn’t loaded when you log into the desktop, and it shouldn’t be
required…

Would you supply your ~/.bashrc please, i’m interested what you may have
in there that resolves lauching steam.


Reply to this email directly or view it on GitHubhttps://github.com/ValveSoftware/steam-for-linux/issues/2745#issuecomment-21700786
.

Ggdrewb-valve maintainer 2013-07-29 github

There shouldn't be any need to set LD_LIBRARY_PATH as steam.sh, which is what the icon should be running, will do it. Somethings appears to be odd about your install, how did you get Steam?

Ggdrewb-valve maintainer 2013-07-29 github

By "should be running" I mean steam.sh is what /usr/bin/steam will eventually invoke.

OOWKenobi 2013-07-29 github

Hello,

I used the steam_latest.deb, but I remember I had to do some Debian workarounds. The time I downloaded Steam it didn't run on debian without tweaks.

OK, to be fair, I found out now that, as a part of getting steam to work, I followed instructions on http://aspensmonster.com/2012/12/07/steam-for-linux-beta-on-64-bit-debian-testing-wheezy/ so the .bashrc was one of the workarounds to get steam to run on debian...

However, my steam.sh states "STEAMSCRIPT_VERSION=100027" - but a newly downloaded steam would state: "STEAMSCRIPT_VERSION=100039". So maybe the workaround is not needed anylonger? Do you know what is the state of art on an install on a debian system today?

Ggdrewb-valve maintainer 2013-07-29 github

I personally am not that familiar with what is needed on Debian, but somebody else may see this and comment.

Kkisak-valve maintainer 2017-08-25 github

I'm going to close this as Debian provides steam packaging which does not require any workaround similar to this issue report. If you still need to have those overrides, you should consider adding it to the /usr/bin/steam script since that is provided by the steam package and not likely to change often.