2012-05-24, 19:51
Hi everyone, I've configured my XBMC 11.0 on Ubuntu 12.04 (from "official" PPA) to supend on power button events. I've created ~/.xbmc/userdata/keymaps/keyboard.xml with the following content:
However, XBMC now also suspends when I press backslash to toggle between fullscreen and windowed mode...? The debug log shows:
Does anybody have an idea why this happens?
Many thanks,
Floe
Code:
<keymap>
<global>
<keyboard>
<key id='61952'>XBMC.Suspend()</key>
<power>XBMC.Suspend()</power>
</keyboard>
</global>
</keymap>
However, XBMC now also suspends when I press backslash to toggle between fullscreen and windowed mode...? The debug log shows:
Code:
23:09:40 T:2984593216 NOTICE: Enabled debug logging due to GUI setting. Level 2.
23:09:40 T:2984593216 DEBUG: ------ Window Init () ------
23:09:44 T:2984593216 DEBUG: SDLKeyboard: scancode: 6c, sym: 0139, unicode: 0000, modifier: 0
23:09:44 T:2984593216 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
23:09:44 T:2984593216 DEBUG: Previous line repeats 1 times.
23:09:44 T:2984593216 DEBUG: OnKey: 0 (f200) pressed, action is XBMC.Suspend()
23:09:44 T:2984593216 DEBUG: DBus: Creating message to org.freedesktop.UPower on /org/freedesktop/UPower with interface org.freedesktop.U
23:09:44 T:2984593216 DEBUG: DBus: Creating message to org.freedesktop.UPower on /org/freedesktop/UPower with interface org.freedesktop.U
23:09:44 T:2984593216 DEBUG: SDLKeyboard: scancode: 14, sym: 00df, unicode: 005c, modifier: 4000
23:09:44 T:2984593216 DEBUG: OnKey: backslash (f05c) pressed, action is ToggleFullScreen
23:09:44 T:2984593216 ERROR: GLX: Same window as before, refreshing context
23:09:44 T:2984593216 INFO: GL: Maximum texture width: 8192
23:09:44 T:2984593216 DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
23:09:45 T:2984593216 DEBUG: CAnnouncementManager - Announcement: OnSleep from xbmc
23:09:45 T:2984593216 DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnSleep
23:09:45 T:2984593216 NOTICE: OnSleep: Running sleep jobs
23:09:45 T:2984593216 NOTICE: OnSleep: Stopping lirc
23:09:45 T:2984593216 INFO: LIRC setUsed: disabled
23:09:45 T:2984593216 DEBUG: UPower: Recieved an unknown signal NotifySleep
Does anybody have an idea why this happens?
Many thanks,
Floe