The plugin seems to crash randomly, losing it configuration in the
process.

As stated above, if we want to still use the plugin (to switch, see the
flag, etc) we cannot use a setxkbmap command on startup because the
settings get overwritten by xkb-plugin (with blank ones).

Complicated temporary automated solution:
1. Set the desired options in the plugin
2. Copy the ~/.config/xfce4/panel/xkb-plugin-##.rc to some other file e.g. 
~/.config/xfce4/panel/goodxkb.rc
3. Add this command to a startup job:

     sh -c "cp ~/.config/xfce4/panel/goodxkb.rc 
~/.config/xfce4/panel/xkb-plugin-##.rc && pkill xkb" 
    (change the ## to your number)

The pkill part is crucial to reload the plugin and its config.

Works for me. Any change in the options will only affect the current
session. The goodxkb file would need to be modified or recreated for the
changes to persist.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/548631

Title:
  xubuntu keyboard layout switch shortcuts are not remembered

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfce4-xkb-plugin/+bug/548631/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to