Steam tidbits [SOLVED]

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
User avatar
kexolino
Common Boob
Posts: 557
Joined: Sun Jun 16, 2013 1:57 pm

Steam tidbits [SOLVED]

Unread post by kexolino » Tue May 06, 2014 3:03 pm

I know most of you don't game, but some do, and maybe someone will find this useful, as Steam on Linux is far from perfect (probably on Windows too)...

Starting off with the most annoying one, Steam sometimes decides it's missing something (happened twice so far):
You are missing the following 32-bit libraries, and Steam may not run: libc.so.6
which is complete bullshit, because I am on 32-bit, and as I learned a few weeks ago, if that library was missing, I wouldn't run shit xD So the solution is to run Steam like this:

Code: Select all

LC_ALL=C steam
Also, if Steam doesn't want to run for whatever reason, sometimes this can help (although this hasn't happened in quite a while, except for the case above):

Code: Select all

steam --reset
The second thing I always have to fix is that when I click the close button on the Steam window, it doesn't close, only minimizes. The fix:

Code: Select all

STEAM_FRAME_FORCE_CLOSE=1 steam
And this is how I launch it from the Openbox menu:

Code: Select all

sh -c 'LC_ALL=C STEAM_FRAME_FORCE_CLOSE=1 steam-debian' %U
If all of a sudden Steam does this (no text):
Image

then extract the Steam fonts into ~/.fonts or /usr/share/fonts. If that doesn't work and you are using your local xinitrc file, then it needs this line:

Code: Select all

. /etc/X11/Xsession
There are some more fixes and info here and possibly here.
Last edited by kexolino on Mon Jun 02, 2014 2:36 pm, edited 1 time in total.

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: Steam tidbits

Unread post by rhowaldt » Wed May 07, 2014 8:25 am

thank you! i still haven't started with Steam yet, but do have plans to do so in the future, so this will be useful :)
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Steam tidbits

Unread post by wuxmedia » Wed May 07, 2014 11:31 am

Yes, me too, once I have a 'puter/gfx card that runs fast enough 8)
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: Steam tidbits

Unread post by rhowaldt » Wed May 07, 2014 1:18 pm

^ we are in the same boat :)
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Steam tidbits

Unread post by wuxmedia » Wed May 07, 2014 1:36 pm

heh, might be a while, all my computers do everything great, apart from games, new flat mate will have a Xbox 360, so might not even bother.
depends what pops up on ebay I guess.
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
kexolino
Common Boob
Posts: 557
Joined: Sun Jun 16, 2013 1:57 pm

Re: Steam tidbits

Unread post by kexolino » Sun Jun 01, 2014 6:50 am

Today I've been switching around window managers, and in pekwm I started Steam like in Openbox, and it had no text whatsoever. Then I switch back to Openbox, still no text...

Image

The problem is, I'm using slim, so when I install a new WM, I just like to use the ~/.Xinitrc file to switch between them, so I changed /etc/slim.conf like this:

Code: Select all

login_cmd           exec /bin/bash -login ~/.xinitrc %session
# login_cmd           exec /bin/bash -login /etc/X11/Xsession %session
and in my .Xinitrc

Code: Select all

exec openbox-session
but like this, Steam has no text. If I change back to the /etx/X11/Xsession line in slim.conf, everything's fine. I guess the exec openbox-session line is missing something that the one in slim.conf has, but I haven't figured out what.
Anyway, seems like this is a thing to look out for, if you have no text, this might be it...

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Steam tidbits

Unread post by machinebacon » Sun Jun 01, 2014 7:46 am

Hi kexi,
maybe

Code: Select all

exec ck-launch-session dbus-launch --exit-with-session openbox-session
and also run lxappearance to set a generic font (Sans?), also check your .gtkrc-2.0 and .config/gtk-3.0/* files if the font is set.
..gnutella..

User avatar
kexolino
Common Boob
Posts: 557
Joined: Sun Jun 16, 2013 1:57 pm

Re: Steam tidbits

Unread post by kexolino » Sun Jun 01, 2014 11:48 am

Thanks, I'll try when I get to my PC.

User avatar
Alad
should take a shower
Posts: 447
Joined: Wed May 21, 2014 12:52 am

Re: Steam tidbits

Unread post by Alad » Mon Jun 02, 2014 1:55 am

Steam's always been a pain for me too, be it under Windows or Linux.

Besides the various issues described here (which I wasn't familiar with, so thanks), I've encountered stupid libc6 requirements (all the more ironic since SteamOS is based on Wheezy), the need for an en_US locale (for me LC_ALL=C bugs out), half of the time failed connects to the steam network, all the while it overloads MY network and crashes my router. Oh and the sys tray icon works better under WINE than native Linux (!!!)
exec ck-launch-session dbus-launch --exit-with-session openbox-session
I wonder if adding

Code: Select all

. /etc/X11/Xsession
would do the job instead; there's a bunch of consolekit files in Xsession.d, which should be read by Xsession
It's funny how we used to be able to do real stuff with rudimentary computers, but now we can't. -- ratcheer

User avatar
kexolino
Common Boob
Posts: 557
Joined: Sun Jun 16, 2013 1:57 pm

Re: Steam tidbits

Unread post by kexolino » Mon Jun 02, 2014 7:28 am

Bacon's suggestion fixes that Openbox's autostart wasn't loading either for whatever reason, but Steam's text is still missing (I checked the gtk settings files).
Alad wrote:I wonder if adding

Code: Select all

. /etc/X11/Xsession
would do the job instead; there's a bunch of consolekit files in Xsession.d, which should be read by Xsession
How would the line look exactly then? (yeah the dot confuses me xD)

And yup, I got the connection errors a few times too, and the systray icon doesn't work very well for me either, it lags like crazy.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Steam tidbits

Unread post by machinebacon » Mon Jun 02, 2014 8:20 am

Install the steam fonts and copy them to .fonts or /usr/share/fonts

https://support.steampowered.com/downlo ... mFonts.zip
..gnutella..

User avatar
kexolino
Common Boob
Posts: 557
Joined: Sun Jun 16, 2013 1:57 pm

Re: Steam tidbits

Unread post by kexolino » Mon Jun 02, 2014 8:41 am

^ That was the first thing I tried, no luck.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Steam tidbits

Unread post by machinebacon » Mon Jun 02, 2014 8:58 am

Are they selected in lxappearance and set in gtk-* files right?
..gnutella..

User avatar
Alad
should take a shower
Posts: 447
Joined: Wed May 21, 2014 12:52 am

Re: Steam tidbits

Unread post by Alad » Mon Jun 02, 2014 1:43 pm

How would the line look exactly then?
The little dot sources the file, so .xinitrc should be

Code: Select all

. /etc/X11/Xsession

exec openbox-session
You can compare to the file in /etc/X11/xinit/xinitrc

Also, is that problem with WINE or native Steam?
It's funny how we used to be able to do real stuff with rudimentary computers, but now we can't. -- ratcheer

User avatar
kexolino
Common Boob
Posts: 557
Joined: Sun Jun 16, 2013 1:57 pm

Re: Steam tidbits

Unread post by kexolino » Mon Jun 02, 2014 2:29 pm

^ Thanks 2x, firstly because while I knew about sourcing, I didn't know about the dot (DERP), and secondly because that fixes the issue.
It's native Steam BTW.

Edit: I'll just edit the fix into the first post, easier to find that way.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Steam tidbits

Unread post by machinebacon » Mon Jun 02, 2014 3:38 pm

Added a [SOLVED] :)
..gnutella..

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: Steam tidbits [SOLVED]

Unread post by rhowaldt » Mon Jun 02, 2014 5:20 pm

good to hear Kexo finally learned about the dot ;)
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Steam tidbits [SOLVED]

Unread post by wuxmedia » Thu Jun 05, 2014 6:46 pm

Thanks - this worked perfectly on my machine, the fonts weren't missing however, they were totally garbled.
I just extracted the steamfonts.zip and put them in /usr/share/fonts/
My Colleague suggested I should install steam - so he could share his game library, which I thought was nice.

Thanks chaps.
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
kexolino
Common Boob
Posts: 557
Joined: Sun Jun 16, 2013 1:57 pm

Re: Steam tidbits [SOLVED]

Unread post by kexolino » Sat Dec 20, 2014 6:14 pm

If by any chance you want to run steam --reset, don't, It deletes your games and you'll have to redownload them. Don't know if this is the intended behavior nowadays, but it could use a warning at least...

Post Reply