Saturday, November 28, 2015

Fix to play local files on Debian testing (stretch)

Spotify needs older versions of libavcodec, libavformat and libavutil to play local files. I found this fix for Ubuntu and I checked the steps that are needed for Debian. This is just dirty fix and it includes to install Ubuntu packages but it works.


To get local files playing, simply follow the steps and run the commands below in a terminal.


  • Select your version of Debian, 32 or 64 bit. If you don't know run this command: uname -r
  • Launch each command row by row (do not copy paste the whole thing and try to run in terminal)

32-bit / 64-bit
Download correct packages from Ubuntu:

libvpx1 http://www.ubuntuupdates.org/package/ubuntu_sdk_release/precise/main/base/libvpx1

libavutil51http://www.ubuntuupdates.org/package/core/precise/main/base/libavutil51

libavcodec53 http://www.ubuntuupdates.org/package/core/precise/main/base/libavcodec53

libavformat53 http://www.ubuntuupdates.org/package/core/precise/main/base/libavformat53


Install packeges this way (example with 64-bit DEB packages)
$ sudo dpkg -i libavutil51_0.8.1-0ubuntu1_amd64.deb

$ sudo dpkg -i libvpx1_1.1.0-1~ubuntu12.04.1~ppa1_amd64.deb

$ sudo dpkg -i libavcodec53_0.8.1-0ubuntu1_amd64.deb

$ sudo dpkg -i libavformat53_0.8.1-0ubuntu1_amd64.deb

That's all! Following repository can be used to install Spotify on Debian or you can download latest beta version from: http://repository-origin.spotify.com/pool/non-free/s/spotify-client/

Missing KDE4 Dolphin "Service Menu / Actions" menu entries in Plasma5 desktop?

All of my Dolphin plugins didn't show up on Dolphin anymore even if they were placed in the right folder: /usr/share/kservices5

Most of those KDE4 era plugins are actually Konqueror plugins. You can find that by opening the *.desktop files of plugins that are not visible in text editor.

[Desktop Entry]
Type=Service
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
MimeType=video/*
Actions=DownloadSub

[Desktop Action DownloadSub]
Type=Application
Name=Subliminal subtitle search
Exec=subliminal download -m 0 -l en fi -- %U
Icon=video

To get those working again you need just:

sudo cp /usr/share/kde4/servicetypes/konqpopupmenuplugin.desktop /usr/share/kservicetypes5/