User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.8) Gecko/20061115 Ubuntu/dapper-security Firefox/1.5.0.8 Build Identifier: shortcuts using custom xmodmap to use multimedia keys don't work on session startup till keyboard-manager is launched Reproducible: Always Steps to Reproduce: 1.define a custom xmodmap and make it xmodmapped on session startup 2.define keyboard shortcuts using those keys -> shortcuts actually work 3.logout and login, shortcuts don't work, launch keyboard-manager (no need to change anything just launching it) -> shortcuts work back
I can reproduce this bug in Xubuntu 7.04.
I can also reproduce this bug in Xubuntu 7.04. If I configure the shortcuts with xbindkeys it works, at the expense of the xfce4-mixer-plugin not loading in the panel.
I have found this bug in xubuntu 7.10 also.
I can reproduce this bug in my LFS box when haldaemon running. If turn it off, the bug go away. hal-0.5.10 xfce-4.4.1
I think can provide some more information on it: 1. this bug seems related to https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/97175/+viewstatus. I can reproduce it on my LFS system. I use xfce autostart to run a script: xmodmap > /tmp/modmap I found the result is different from xmodmap output after xfce fully startup. (I've no private .Xmodmap file) 2. I read the code and found that if I change the "shortcuts_plugin.c"'s code, apply a tiny patch: --- ./shortcuts_plugin.ori.c 2007-12-18 11:24:22.000000000 +0800 +++ ./shortcuts_plugin.c 2007-12-18 11:31:40.000000000 +0800 @@ -524,6 +524,7 @@ gpcontext = g_markup_parse_context_new (&gmparser, 0, &state, NULL); +if (NULL == dialog) { gdk_error_trap_push (); if (!g_markup_parse_context_parse (gpcontext, file_contents, st.st_size, &err)) { @@ -532,6 +533,7 @@ goto cleanup; } +} if (g_markup_parse_context_end_parse (gpcontext, NULL)) { The shortcut keys will never work even if I open the keyboard manager. 3. If I run keyboard manager just after the startup processing (like, put xfce-setting-show in autostart list and quickly hit the keyboard manager), the shortcut keys not work. I have to wait 3 or 5 seconds and run the manager to bring my shortcut back. I hope this information is helpful to you.
I'm getting a similar issue. My script to load the .Xmodmap keymap is not recognized when I place it as a startup application under "Session and Autostart". I am using Debian 6.0.2 with xfce4.6.2. The wiki also describes this as an issue: http://wiki.xfce.org/faq I tried reproducing this using mihozu's steps, but I launching keyboard settings does not restore my scripted .Xmodmap keymap. Then again, I am not trying to map these specific key combinations, but rather a few keys themselves ( I have a different keyboard than standard ones ).
(In reply to comment #6) > I'm getting a similar issue. My script to load the .Xmodmap keymap is not > recognized when I place it as a startup application under "Session and > Autostart". > > I am using Debian 6.0.2 with xfce4.6.2. > > The wiki also describes this as an issue: http://wiki.xfce.org/faq > > I tried reproducing this using mihozu's steps, but I launching keyboard > settings does not restore my scripted .Xmodmap keymap. Then again, I am not > trying to map these specific key combinations, but rather a few keys > themselves ( I have a different keyboard than standard ones ). I had the same problem on Debian with xfce 4.8.3, when I tried to run xmodmap from /etc/X11/Xsession. However the problem is gone after switching "Use system defaults" off through xfce4-keyboard-settings interface. Hope it helps.