Play local mp3 files with Spotify Windows client under Foresight (using WINE)
for playing mp3 files with the new Spotify 8.x
sudo wget 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 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:
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"
- Previous Acer Aspire 7730G (and others) – Fix battery issue in Linux
- Next Intel WiFi Link 5100 slow Wireless N connectivity, Draft-N fixes in Linux