castalla Posted November 28, 2012 Report Share Posted November 28, 2012 Hi again! It's some time since I needed to reconfigure my flirc ... and I'm a bit rusty. I want to program a remote key to Shutdown XBMC - I tried mapping to the xbmc keyboard 'shutdown' key (the power off button).. When I try this with Xbian (raspberry pi) I just get an onscreen popup saying 'not available'. Can anyone help on how to get 'Shutdown' with one key press? For example, say I want f4 assigned to Shutdown .... ? Thanks Edit: I created a keyboard.xml file containing <keymap> <global> <keyboard> <f4>XBMC.ShutDown()</f4> </keyboard> </global> </keymap> I put this in /system/keymaps/ within xbmc folder Assigned f4 to a remote key. This has no effect when in xbmc. Stumped. Quote Link to comment Share on other sites More sharing options...
Chris! Posted November 28, 2012 Report Share Posted November 28, 2012 Hmm, how odd. I think the first thing we should try is checking XBMC can shutdown the computer by using the menu options (skin dependant ) Let's get to the bottom of this :) Quote Link to comment Share on other sites More sharing options...
castalla Posted November 28, 2012 Author Report Share Posted November 28, 2012 I'll try it with an actual keyboard to see what happens. Give me a few minutes. No effect with keyboard. Quote Link to comment Share on other sites More sharing options...
Chris! Posted November 28, 2012 Report Share Posted November 28, 2012 Just to check I meant on the home screen of XBMC go into the option which presents you with either: shutdown, suspend or restart. Press shutdown on the onscreen options. Does it shut it down? (Sorry I'd you already tried this, I just wanted to check) Quote Link to comment Share on other sites More sharing options...
castalla Posted November 28, 2012 Author Report Share Posted November 28, 2012 Yes .... normal menu items all work ..... BUT Solved! The trick was to move the keyboard.xml file to the /keymaps folder - xbian now shuts down on key press. Maybe it's something specific to the xbian distro? Quote Link to comment Share on other sites More sharing options...
Chris! Posted November 28, 2012 Report Share Posted November 28, 2012 Great! Glad to hear it's working :) Quote Link to comment Share on other sites More sharing options...
burke Posted November 28, 2012 Report Share Posted November 28, 2012 In all versions of XBMC i tried out, you never put your keyboard.xml to system folders but to user folders where ever they might be. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.