Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've recently started using xbmc and i love it. The only thing is i cant find a way of setting it as the default media player.

It just does not show up on the default list. I hope someone out there help on this.

share|improve this question

xbmc is a media center not a media player. You must start xbmc first to open a file with-in I agree it is a great media center probebly the best but i would use Mplayer if you want to just click on files to open them

share|improve this answer

This will add a new menu entry via a desktop file, XBMC-sendto, which will open XBMC or give it focus and open the media file. It works with audio, video and picture files that are local or on network shares (I've only tested with smb shares). This requires the program wmctrl to be installed and JSON-RPC (the webserver) to be enabled in XBMC/KODI.

The zip file contains two files. The file can be placed anywhere you like (don't forget to make it executable) and the xbmc-send2.desktop file needs to be placed in ~/.local/share/applications/. Then edit xbmc-send2.desktop and update the Exec= line to reflect where you put the sh file. If json-rpc uses a non-standard port or you want to send content to a remote xbmc host you need to edit You may need to restart you desktop environment, although this was not necessary in KDE4. Now you will be able to open media files with XBMC directly from the desktop (you'll probably need to set XBMC-sendto as the default program for a particular file type).

I have only tested this with KDE, I would like to hear if it works (or doesnt) with other DE's. Also the file types are wholesale borrowed from VLC/GIMP's dektop files, let me know if any are missing or incorrect.

Link to XBMC/KODI forum page:

EDIT: Fixed Dropbox link.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.