You are not logged in.

#1 2016-01-30 21:09:23

kmaeder
Member
Registered: 2015-03-26
Posts: 6

[SOLVED] xfwm4 keybindings not working after "xkeyboard-config" update

Hi,

I updated "xkeyboard-config" from 2.16 to 2.17 on wednesday and suddenly my keyboard shortcuts for the window manager (e.g. cycle windows, move to next workspace, maximize window) stopped working.
To be more precise all shortcuts specified inside the "xfwm4" property tag of "~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml" aren't working.
By contrast shortcuts inside the "commands" property tag are working as normal.

~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml:

<channel name="xfce4-keyboard-shortcuts" version="1.0">
  <property name="commands" type="empty">
  ...
  shortcuts specified here are working
  ...
  </property>
  <property name="xfwm4" type="empty">
  ...
  all shortcuts specified here aren't working
  ...
  </property>
</channel>

If I run

xfconf-query -c xfce4-keyboard-shortcuts -lv

it is returning all shortcuts specified in both sections ("xfwm4" and "commands") as it should be.

If I downgrade "xkeyboard-config" to version 2.16 all shortcuts are working again. (So this is my temporary fix.)

Is anybody experiencing the same problem after the recent update of "xkeyboard-config" and probably having a fix for this issue?
I would be grateful for any advice.

package versions used:
xfwm4: 4.12.3-1
xfdesktop: 4.12.3-1
xorg-server: 1.18.0-4
xkeyboard-config: 2.17-1 (not working); 2.16-1 (working)
xf86-input-evdev: 2.10.1-3

Last edited by kmaeder (2016-01-31 16:53:19)

Offline

#2 2016-01-31 00:47:29

respiranto
Member
Registered: 2015-05-15
Posts: 479
Website

Re: [SOLVED] xfwm4 keybindings not working after "xkeyboard-config" update

I do not have this problem, however my xfce4-keyboard-shortcuts.xml seems to have a notably different syntax.
Hence I would recommend to either:
- (re)move this file and make xfce recreate it or
- test with a completely new user.

Offline

#3 2016-01-31 16:52:08

kmaeder
Member
Registered: 2015-03-26
Posts: 6

Re: [SOLVED] xfwm4 keybindings not working after "xkeyboard-config" update

I did the first thing you mentioned(moving xfce4-keyboard-shortcuts.xml) before posting but that didn't solved my issue.

Following your second suggestion I moved the whole xfce4 folder in .config, rebooted (xfce seems to cache the settings, so logging off wasn't enough) and logged on again. Keyboard shortcuts were working again.
I started to copy/merge my old configurations in and reached a working configuration again. But it's still obscure to me as I haven't found the exact cause of my issue yet. I might explore this a bit more later.

By the way: I'm using the exact same xfce4-keyboard-shortcuts.xml as before. In my first post I left out the 2 sub property sections "default" and "custom" inside of "xfwm4" and "commands" property tags. Maybe that
is the syntax difference you were talking about.

Anyway: Thank you for your tips, respiranto!

Offline

#4 2016-01-31 18:01:59

respiranto
Member
Registered: 2015-05-15
Posts: 479
Website

Re: [SOLVED] xfwm4 keybindings not working after "xkeyboard-config" update

Glad that I could be of help.

I assume, that the syntax of a particular file has changed in a non-evident way, so that a particular setting, probably a special customization you made, makes the whole file unparseable.

By the way, killing xfconfd should have been sufficient to make xfce reload the settings upon next start of X.

The syntax difference I noted seems to have actually not have been so grave as I remembered, however I was missing the following terminating property tag:

  <property name="providers" type="array">
    <value type="string" value="commands"/>
    <value type="string" value="xfwm4"/>
  </property>

Offline

#5 2016-01-31 20:10:44

rwd
Member
Registered: 2009-02-08
Posts: 671

Re: [SOLVED] xfwm4 keybindings not working after "xkeyboard-config" update

I experience the same missing shortcuts in xfce since one or two weeks. But I am still running xkeyboard-config 2.16-1. because I haven't updated for a while.

Last edited by rwd (2016-01-31 20:11:08)

Offline

Board footer

Powered by FluxBB