Install Spotify in Ubuntu 13.10 (correct way)

echo "deb stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt-key adv --keyserver --recv-keys 94558F59
sudo apt-get update && sudo apt-get install spotify-client

Disable guest login in Ubuntu 13.10

sudo vi /etc/lightdm/lightdm.conf.d/50-guest-wrapper.conf

Add the following line at the end:


Now restart lightdm (or reboot):

sudo service lightdm restart

Use Yelo TV on Ubuntu 13.04

Yelo TV is a Live TV streaming service for Telenet customers in Belgium. Sadly, it uses Silverlight. Using Firefox and Pipelight, this service works perfectly fine on Ubuntu though:

sudo apt-add-repository ppa:ehoover/compholio
sudo apt-add-repository ppa:mqchael/pipelight
sudo apt-get update
sudo apt-get install pipelight

Then restart firefox and it should work fine.

More info:

Make Ubuntu 13.04 iso fit on 700MB CD

Quick notes:

1/ Download iso from

2/ Install UCK:

sudo apt-get install uck libfribidi-bin

3/ Start uck-gui:

– Choose languages en/en
– Choose default deskop: Unity
– Remove windows files: yes
– Hybrid: yes
– Customize?: yes

Let it build and then when possible you will have the option to customize via console.
In that console just remove all LibreOffice packages (Don’t worry, you can install them later after you install Ubuntu):

dpkg -l | grep -i libreoffice | awk '{print $2}' | xargs apt-get -y purge
rm -fr /var/lib/libreoffice

Then exit the console window (ctrl+d) and let it continue the build.

In the end you will have an iso of about ~600MB:

$ du -hs ~/tmp/remaster-new-files/livecd.iso
575M	/home/x/tmp/remaster-new-files/livecd.iso

Fix for Harvest: Massive Encounter on Steam

Didn’t work out of the box. This seemed to do the trick on Ubuntu 13.04 x64:

cd ~/.local/share/Steam/SteamApps/common/Harvest\ Massive\ Encounter/
cp -p run_harvest run_harvest.ori

Replace run_harvest with this code:

exec ./Harvest

Play Neverwinter MMO on Linux

The short version:

– Download the game via torrent:
– Download & save this POL script:
– In POL, run the script as a local script. When asked select the setup.exe for Neverwinter.
– Proceed with the installation (don’t change install path & don’t automatically run the game).
– Check some of the notes below: “Running the game”.

The illustrated version:

– Download the game via torrent:
– Install POL if you don’t have it already. Instructions here:
– Download & save this POL script somewhere (~/Downloads/nw.txt for example):
– In POL, select run a local script and then select the script you downloaded.

– Click through the prompts (Next/Agree/Next) and you will be ready to go.

– Wine will be downloaded if you don’t already have the version I specified in the script (you can change this afterwards in settings btw). You don’t need to install Mono when asked.

– Next step will install IE8, we need this for the launcher, sadly. The first step is in French (some of the devs of POL are French) but it’s just asking us what language we want for IE. Just select English.

– Select the options like I did (not that it matters much)

– DirectX will be installed as well but you won’t get any prompts there (hopefully). Eventually you should be asked to point to where you downloaded the game (setup.exe):

– Just select the setup.exe and the installer for the game will be loaded. As always when using POL, don’t change the installation path and when asked don’t automatically launch the game. You can do that manually afterwards via POL.

– Eventually the installer will finish and you’ll end up with a nice shortcut both in POL and on your desktop.

Running the game

Right if you got this far you want to run the game. The servers are frequently down though. Check when in doubt.

For example if you get something like this, it means their patch servers are down:

When the patch servers are up, you should get a launcher window. First thing to do is go to Options at the top.

Unselect everything and select Safe Mode and Disable On-Demand Patching. The first option will allow us to get past the initial loading screen (you can check later without this option if it works for you), the other option will download all the patches beforehand and not on-demand (when you first enter an area) which is less annoying. Now log in with your account (If you don’t have one, register here: The patches will download.

Once you’re fully patched, select the big Play button. You’ll get a prompt about video drivers. Just select use lowered settings. Don’t worry, once the game is loaded you can just set the settings to whatever you like.

Eventually the brightness calibration menu will be shown:

This will only be shown the first time. After this you can go to Options and select Fullscreen (or max windowed), change the graphic settings etc.

Unfortunately you’ll have to do this every time you load the game (including toggling the Safe Mode). For me at least, if I don’t do this, I get stuck at the loading screen.

If you want to see your FPS in-game: /showfps 1
If you want to check for FPS spikes (purple is bad): /fpsgraph 1
If you want to see your ping: /netgraph 1

I get around 30-50 FPS on Medium, it’s worse than running native, but it’s perfectly playable. Putting AA higher than 2x gives me a really bad performance hit as well.

BTW if you want to launch the game from commandline (script, openbox menu, etc) use this:
playonlinux --run "Dungeons and Dragons: Neverwinter"


If you want to get in touch in game, I’m @teppec (on server Dragon).

Play Resonance game on Linux

Notes for Ubuntu 12.10 x64 and version of the game.

sudo apt-get install git ia32-libs debhelper pkg-config liballegro4.2-dev libaldmb1-dev libfreetype6-dev libtheora-dev libvorbis-dev libogg-dev gdebi-core innoextract
git clone git://
cd ags && fakeroot debian/rules binary
sudo gdebi ../ags_3.21.1115~JJS-1_*.deb

Now download Resonance from and place it in $HOME/Downloads.

cd ~/Downloads
innoextract setup_resonance_1.0.0.5.exe
mv app ~/Games/Resonance
rm -fr tmp

Now make a startup script.

cat > ~/Games/Resonance/ <<EOF
cd $HOME/Games/Resonance && ags Resonance.exe
chmod +x ~/Games/Resonance/

Now start the game with ~/Games/Resonance/

Windowed mode can be enabled by editing ~/Games/Resonance/acsetup.cfg
More settings can be found here

For my laptop I changed: