Categories
Linux Posts Ubuntu

Steam in Wine, Repeated Windows

After installing Steam on my linux machine in wine I noticed a really annoy bug, the windows of steam are tiled across my screen as shown in the screenshot below.

Fix:

I managed to fix this by opening up the ‘Configure Wine’ program that comes with wine and under the Applications tab switching from Windows XP mode to Windows 7, this fixed this bug and I now also have system borders on the steam windows.

Installing Wine:

If you’re interested in getting steam installed I used this guide – https://wiki.ubuntu.com/UbuntuMagazine/HowTo/InstallingSteam – It’s pretty simple and only takes a few minutes to do. Below is a quick, simple breakdown of what that guide says to do.

Download wine:

sudo apt-get install wine

Download the steam installer from here:

http://www.steampowered.com/v/index.php

Copy over the tahoma.ttf font from a Windows install (or Download it here – http://source.winehq.org/source/fonts/tahoma.ttf ). Do this command from the folder you downloaded the font to.

 cp tahoma.ttf ~/.wine/drive_c/windows/fonts/

(If it doesn’t work and says the folder is missing or somthing like that do the following and then re-do the cp)

 mkdir ~/.wine/drive_c/windows/fonts/

Finally install Steam (Do this command in the directory you downloaded the Steam installer to):

msiexec /i SteamInstall.msi
Categories
HowTo Linux Posts

HowTo Fix: The file ‘/path/file.exe’ is not marked as executable.

The file ‘/path/file.exe’ is not marked as executable.  If this was downloaded or copied form an untrusted source, it may be dangerous to run.  For more details, read about the executable bit.

While re-installing Spotify on my Desktop I came across this error while trying to run the .exe through wine (shown above) and here’s a really simple way of fixing it:

  1. Right click the .exe
  2. Properties
  3. Under the Permssions tab make sure “Allow executing file as program” is checked
  4. Click Close and you should be able to now run it through wine..
Categories
Posts Ubuntu

Spotify (wine+proxy)- Connection lost. Reconnecting

At University I am running Spotify through a proxy (and wine) which seems to result in lost of connections with 4 different error codes (shown below). What’s strange is I can usually get around 15/20 tracks at the start of the day without loosing connection and then it becomes gradually more frequent until I can’t even play an entire song.

If anyone else is experiencing these issues and have any ideas on how to workaround it or fix it please leave a comment and I’ll make sure to update this post if I get anywhere with the issue.

Connection lost. Reconnecting (error code:101)
Connection lost. Reconnecting (error code:107)
Connection lost. Reconnecting (error code:9)
Connection lost. Reconnecting (error code:114)

Categories
HowTo Posts Ubuntu

HowTo Fix: “There is a problem with your sound card. Spotify can’t play music.” (Wine)

Quite a few times I have encountered this problem, which I think is caused when the soundcard was recently used by another program and might still be busy but it means Spotify can’t play music, so a quick fix for this is to load winecfg and test your sound card which seems to force wine into tacking control of the it.

  1. Close Spotify
  2. In terminal type winecfg
  3. Click on the Audio tab (should be in the top middle)
  4. Click “Test Audio” and if you hear a sound this should work..
  5. Re-open Spotify and check a track, if it’s playing it’s worked otherwise you may have a different issue..