! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Window manager's keyboard shortcuts don't work with autologin


Description M. H. Trinh 2010-12-22 18:12:10 CET
When I use autologin, keyboard shortcut that are manually set (eg: Workspace 1, Workspace 2) in "Window Manager" don't work. 

Work around : relog, or reassign keyboard shortcut, even that they appear to be correctly saved. 
Meanwhile, the other keyboard shortcuts assigned in Keyboard setting work perfectly. 

My current configuration : Linux 2.6.36-ARCH, i686
exo 0.5.5-2 (xfce4)
garcon 0.1.4-1 (xfce4)
libxfce4ui 4.7.5-1 (xfce4)
libxfce4util 4.7.4-2 (xfce4)
terminal 0.4.5-2 (xfce4)
thunar-archive-plugin 0.2.4-2 (xfce4)
thunar 1.1.5-1 (xfce4)
thunar-vfs 1.1.0-3 (xfce4)
thunar-volman 0.5.3-1 (xfce4)
tumbler 0.1.5-1 (xfce4)
xfce-utils 4.7.3-1 (xfce4)
xfce4-appfinder 4.7.1-1 (xfce4)
xfce4-dev-tools 4.7.3-2 (xfce4)
xfce4-notifyd 0.2.0-2 (xfce4)
xfce4-panel 4.7.6-1 (xfce4)
xfce4-session 4.7.2-1 (xfce4)
xfce4-settings 4.7.6-1 (xfce4)
xfconf 4.7.4-2 (xfce4)
xfdesktop 4.7.4-1 (xfce4)
xfwm4 4.7.3-1 (xfce4)
Comment 1 M. H. Trinh 2011-06-15 02:11:22 CEST
Just an update : same bug with xfce 4.8 :

exo 0.6.2-1
garcon 0.1.7-1
gtk-xfce-engine 2.8.1-1
mousepad 0.2.16-2
terminal 0.4.7-2
thunar 1.2.2-1
tumbler 0.1.21-3
xfce-utils 4.8.1-1
xfce4-appfinder 4.8.0-1
xfce4-mixer 4.8.0-1
xfce4-panel 4.8.3-1
xfce4-session 4.8.1-2
xfce4-settings 4.8.2-1
xfconf 4.8.0-1
xfdesktop 4.8.2-2
xfprint 4.6.1-5
xfwm4 4.8.1-1
xfwm4-themes 4.6.0-1

By running "xfwm4 --replace" the shortcut work again but it mess up the desktop : the panel appear on top, no more windows decoration, etc ...
Comment 2 Olivier Fourdan editbugs 2011-06-15 09:12:26 CEST
Are you sure you're running xfwm4 as your window manager initially? Can you provide the output of "ps auxww" of your autologin session?
Comment 3 M. H. Trinh 2011-06-15 13:03:06 CEST
Created attachment 3730 
result of "ps auxww"
Comment 4 M. H. Trinh 2011-08-08 01:55:02 CEST
Me again, :-(

I just installed OpenSuse 11.4 which ship XFCE 4.8, autologin with kdm : same probleme.

I understand that the configurations are stored in the file : ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml

I think that during normal login process, login prompt with kdm, keyboard configuration is loaded, but it is not with autologin.

When the keyboard configuration file is loaded ? What process load this file ?
Comment 5 M. H. Trinh 2011-08-18 03:36:34 CEST
I got some news : I have now xfce 4.8

I assign in the Windows Manager: 

Alt+& (alt+ampersand) => switch to workspace 1
Alt+é (alt+eacute)    => switch to workspace 2
Alt+" (alt+quotedbl)  => switch to workspace 3
Alt+' (alt+apostrophe) => switch to workspace 4

To make those work after an autologin, I have to run :
xfwm4 --replace

But if I assign :
Alt+u => switch to workspace 1
Alt+i => switch to workspace 2
Alt+o => switch to workspace 3
Alt+p => switch to workspace 4

It work without doing anything. 

Same happen with shortcuts in, this time, Keyboard settings. When I assign shortcut with : alt+ampersand, alt+eacute, alt+quotedbl and alt+apostrophe, They don't work atfer an autologin. They work again if I kill xfce4-settings-helper

Conclusion : there is bug when mapping Alt+&, Alt+é, ...
When not autologin, kdm (or another desktop manager) prompt for login/password and must map in some way alt+ampersand == alt+&, alt+eacute == alt+é
Without kdm prompt, the keys "&", "é" are not map automatically to ampersand and eacute ?

Hoping this will narrow down the bug ...
Comment 6 Olivier Fourdan editbugs 2011-08-18 14:55:02 CEST
This tends to show this is not a window manager specific issue but a more general xfce settings issue.
Comment 7 Olivier Fourdan editbugs 2011-08-18 15:00:10 CEST
(In reply to comment #6)
> This tends to show this is not a window manager specific issue but a more
> general xfce settings issue.

Or not.

Have you tried using autologin with gdm instead of kdm? does it make a difference?
Comment 8 M. H. Trinh 2011-09-03 01:12:00 CEST
I tested on Arch linux with :
slim 1.3.2-5
kdm (kdebase-workspace 4.7.0-2)
gdm 3.0.4-2

Bug #7032

Reported by:
M. H. Trinh
Reported on: 2010-12-22
Last modified on: 2020-05-21


Olivier Fourdan
CC List:
2 users



result of "ps auxww" (8.97 KB, text/plain)
2011-06-15 13:03 CEST , M. H. Trinh
no flags

Additional information