Comment 64 for bug 196277

Revision history for this message
Jan Vlnas (jnv) wrote : Re: [hardy] keyboard layout switching shortcut doesn't work after reboot

This script should work like the previously mentioned workaround, but keeps your keyboard settings:
#!/bin/bash
gconftool-2 -s /desktop/gnome/peripherals/keyboard/kbd/options -t list --list-type=string "`gconftool-2 -g /desktop/gnome/peripherals/keyboard/kbd/options`"

The problem is, where to put it to be autostarted. I've tried the regular Session settings in GNOME and .xprofile, but script has no effect then. I guess it can be executed before the gconfd's start. Maybe putting it to `sleep` for a few seconds would help. Any ideas?