Foresight Linux

Spotify tips for using wine in Foresight Linux

, , , ,

Connect Spotify with Facebook under Foresight (using WINE)

This is actually very easy. It doesn’t even involve the Spotify client directly. All you have to do is open your Linux browser (Firefox, Chromium or whatever) and:

a) go to: http://www.spotify.com/ and log in.

then,

b) go to: https://www.spotify.com/en/account/social/facebook/. Click the “Allow access” button and that is it!




Play local mp3 files with Spotify Windows client under Foresight (using WINE)

for playing mp3 files with the new Spotify 4.x
sudo wget http://http://www.foresightlinux.se/filer/winemp3.acm -O ~/.wine/drive_c/windows/system32/winemp3.acm


Open Wine Config (Applications > Wine > Configure Wine) and ho to the Libraries tab. Under “New override”, enter “winemp3.acm” and click Add.

Important note: you’ll have to use this work-around every time you upgrade WINE! (not sure yet)


Open Spotify links in your default Linux browser.

By default, Wine doesn’t open links in your default Linux browser (Firefox, Chrome or whatever) and you may want this for sharing songs from Spotify on Facebook and so on. But you can change that easily.

Open Wine Regeditwine regedit


Navigate to HKEY_CURRENT_USER (a.k.a HKCU) -> Software -> Wine and look for a key called “WineBrowser”, if it does not exist, create it.
Under the newly created “WineBrowser” key, create a string called “Browsers” with the following value:xdg-open,firefox,konqueror,mozilla,netscape,galeon,opera,dillo


Don’t worry about the browsers order in the above code. Just make sure “xdg-open” is the first one, as that will make sure that when you click a link in a Wine application, your default native Linux browser will be used to open that link.

But we are not done! At this point if you click a link in Wine, you’ll get the following error:

err:winebrowser:get_url_from_dde Unabled to retrieve URL from string L”\”"
err:winebrowser:wmain Usage: winebrowser URL



To fix this, go to HKEY_CLASSES_ROOT -> http -> shell -> open -> command and edit the data value by adding “%1″ at the end of the line, so that it looks like this:


C:\windows\system32\winebrowser.exe -nohome "%1"


Then close all Wine applications and try it out.

Intel WiFi Link 5100 slow Wireless N connectivity, Draft-N fixes in Linux

Write a comment

New comments have been disabled for this post.