XBMC (XBMCBuntu) ContextMenu option Logitech Harmony

With my Logitech Harmony 300 I didn’t have the ContextMenu (right click or c keyboard) option. This action is essential when you want to change some movie information. If I use my XBMC Android app I had the title (= ContextMenu) option so I thought that it must be possible do the same with my logitech harmony. After some searching and debugging I find a solution.

The steps:

  1. login to your xbmc with ssh xbmc@IPXBMC
  2. cp /usr/share/xbmc/system/keymaps/keyboard.xml /home/xbmc/.xbmc/userdata/keymaps/keyboard.xml (never hack the original file, that can be overwritten when you do an update)
  3. nano /home/xbmc/.xbmc/userdata/keymaps/keyboard.xml
  4. Add this line between the other keyboard shurtcuts <asterisk>ContextMenu</asterisk>
  5. Save the file (CTRL + W) and restart your xbmc to reload the keyboard.xml config

Now you can login to the www.myharmony.com website and configure the asterisk (*) key to the List button on your remote. Sync your remote with an USB key and your ContextMenu option is ready for use 🙂

If you have some trouble finding out which buttons you can use, the best way is enabling the debugging option in your XBMC. Go to the system settings of your XBMC and enable debugging mode. Then make a ssh connection to your XBMC and type tail -f /home/xbmc/.xbmc/temp/xbmc.log to see realtime output.

If you send some remote (IR) actions you can capture the output and if you want to change the action you can edit the keyboard.xml.


If this helps you please leave a comment. Happy hacking 😀

OpenElec XBMC Fix the splash screen ATI and NVidia

If your OpenELEC machine says “could not open framebuffer no such file or directory” when you turn it on, follow this to get the splash screen working.

The splash screen is much prettier than some plain text in the corner of the screen, so follow this to get your splash working.

You’ll need:

  • SSH access to your OpenELEC machine
  • Nano installed; for versions 0.7 and above, you’ll need to install the nano add-on from System > Addons > Get Addons > OpenELEC.tv > Programs > nano and click install.

OK, let’s begin. Open an SSH session to your OpenELEC machine then at the prompt, type:

mount -o remount,rw /flash

This allows read/write access to the configuration file we need to access.

Next, type:

nano /flash/extlinux.conf

This will open up a terminal-based text editor called nano. It’s very easy to use, so move your cursor to the end of the following line:

APPEND boot=LABEL=System disk=LABEL=Storage quiet

and add the following text:



for ATI:


If you are using NVIDIA your line should read:

APPEND boot=LABEL=System disk=LABEL=Storage quiet vga=792

If you are using ATI your line should read:

APPEND boot=LABEL=System disk=LABEL=Storage quiet vga=0x323

Now, type [CTRL] and X to exit. You’ll be prompted to save the file – just hit [ENTER] to save the file.

You should be back at the prompt now, so just type exit to close the prompt


Reboot your OpenELEC box and you should now see the splash screen.

Sound over HDMI on ION2 systems

1. Connect to your box with SSH or SAMBA.

2. Type the following:

cp ~/.config/asound.conf.sample/asound.conf_double-xs35gt.sample ~/.config/asound.conf

3. In XBMC, go to System > Audio and make the following configuration:

Audio output = HDMISpeaker configuration = 7.1 (or the what your receiver is capable of)Audio output device = custom
Custom audio device = plughw:1,7

Passthrough output device = custom
Custom passthrough device = plughw:1,7

4. Reboot the system

Stream music to XBMC via Airplay


The easiest way to stream audio to your XBMC is with the Apple protocol Airplay. Since XBMC Eden (version 11) it is possible to activate Airplay via: System/Settings -> Network -> Services  -> enable AirPlay


  • Linux/Ubuntu users will need to install avahi-daemon:
    sudo apt-get install avahi-daemon #(on Ubuntu)
  • Mac OS X needs no additional set-up.

If you have spotify and you want to sent a music stream to your XBMC you can use Airfoil for Windows and OSX ($25).

With I tunes you can switch to XBMC with the option in the right bottom:

With Iphone and Ipad you can use the “sent to”  option since IOS version 4.


XBMCBuntu boot problem when TV is turned off (Nvidia)

When I boot my XBMC box and don’t turn my TV on before the boot XBMC was not succesfully. After some digging and googling I found the solution.

  1. On your XBMCBuntu device press ALT+CRTL+F1
  2. login with user xbmc, pass xbmc
  3. type sudo su –
  4. type killall Xorg
  5. press ALT+CRTL+F7
  6. login with user xbmc, pass xbmc and select XBMCBuntu
  7. Now press the button on the left bottom (or press the windows/command key)
  8. Select System Tools > Nvidia X Server Settings
  9. click on DFP-0, DFP-1 or whatever then click “Acquire EDID..”
  10. Save it as edid.bin in your /home/xbmc/ folder
  11. Now make an ssh connection from another PC to your XBMC box
  12. Example linux/osx: ssh -l xbmc for windows try putty
  13. Make yourself root sudo su –
  14. Password xbmc
  15. Type: cat /var/log/Xorg.0.log | grep “Assigned Display Device: DFP-“
  16. Keep the DFP-X number in mind
  17. Make a backup of your X.org config cp /etc/X11/xorg.conf /etc/X11/xorg.conf.orig
  18. open the xorg.conf nano /etc/X11/xorg.conf
  19. Delete all the lines with ctrl+k (multiple times)
  20. Now paste the new config:
Section "Device"
    Identifier     "nvidia"
    Driver         "nvidia"
    Option         "DynamicTwinView" "False"
    Option         "NoFlip" "false"
    Option         "NoLogo" "true"
    Option         "ConnectToAcpid" "0"
    Option         "FlatPanelProperties" "Scaling = Native"
    Option         "ModeValidation" "NoVesaModes, NoXServerModes"
    Option         "ConnectedMonitor" "DFP-1"
    Option         "CustomEDID" "DFP-1:/home/xbmc/edid.bin"

Section "Screen"
    Identifier     "screen"
    Device         "nvidia"
    DefaultDepth    24
    Option         "ColorRange" "Full"
    SubSection     "Display"
        Depth       24
        Modes      "1280x720"

Section "Extensions"
    Option         "Composite" "false"

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/event4"
    Option         "Emulate3Buttons" "true"
    Option         "Emulate3Timeout" "70"
    Option         "SendCoreEvents" "true"
    Option         "ZAxisMapping" "4 5"

Section "ServerFlags"
    Option         "AllowEmptyInput" "false"
  • Change the DFP-X number in the config if you have another number then DFP-1
  • press CTRL+O to safe the file
  • Type shutdown -h now to turn the XBMC box of
  • Turn of the TV and turn your XBMC box on
  • Test if everything works fine now 🙂

If this works for you please leave a comment below 🙂

Source URL
Config URL