hi,
I installed fedora 19 desktop edition and am having some trouble with the keyboard layout (in the standard gnome3 shell).
What I need is this layout: $ setxkbmap -query rules: evdev model: pc104 layout: us variant: intl options: kpdl:kposs
but what I get is: $ setxkbmap -query rules: evdev model: pc104 layout: us options: kpdl:kposs
I have tried adding an autostart file in $HOMEDIR/.config/autostart like this:
$ cat set_us_intl_keyboard.desktop [Desktop Entry] Type=Application Name=set us intl keyboard layout Comment=set us intl keyboard layout Exec=setxkbmap us -variant intl
but every time I need to run the command manually because the settings are not applied.
using the graphical tool 'Regional Settings' I choose as 'Input source' : English (US, alternative international), but still no go.
What is the way to fix this? Why is it not appying the settings with the autostart command? This is quite annoying, I should not be having to bang my head against the wall for a simple keyboard layout ;-)
TIA,
On 17 November 2013 10:37, Natxo Asenjo natxo.asenjo@gmail.com wrote:
hi,
I installed fedora 19 desktop edition and am having some trouble with the keyboard layout (in the standard gnome3 shell).
What I need is this layout: $ setxkbmap -query rules: evdev model: pc104 layout: us variant: intl options: kpdl:kposs
but what I get is: $ setxkbmap -query rules: evdev model: pc104 layout: us options: kpdl:kposs
Using dconf-editor edit org.gnome.desktop.input-sources "sources", change: ('xkb', 'us')
to: ('xkb', 'us+intl')
I have tried adding an autostart file in $HOMEDIR/.config/autostart like this:
$ cat set_us_intl_keyboard.desktop [Desktop Entry] Type=Application Name=set us intl keyboard layout Comment=set us intl keyboard layout Exec=setxkbmap us -variant intl
but every time I need to run the command manually because the settings are not applied.
It could be a race condition, i.e. the system kb layout settings are set after the command in the .desktop file is executed and system settings are overriding it.
[...]
On Sun, Nov 17, 2013 at 12:05 PM, Ahmad Samir ahmadsamir3891@gmail.com wrote:
On 17 November 2013 10:37, Natxo Asenjo natxo.asenjo@gmail.com wrote:
What I need is this layout: $ setxkbmap -query rules: evdev model: pc104 layout: us variant: intl options: kpdl:kposs
Using dconf-editor edit org.gnome.desktop.input-sources "sources", change: ('xkb', 'us')
to: ('xkb', 'us+intl')
awesome! thanks for the tip. This is the correct cli line:
$ gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'us+intl')]"
and the proof is in the pudding: $ gsettings get org.gnome.desktop.input-sources sources [('xkb', 'us+intl')]
$ setxkbmap -query rules: evdev model: pc104 layout: us variant: intl options: kpdl:kposs
Now I jus need to see how to set this system wide, but I know now where to look for info.
On 17 November 2013 14:41, Natxo Asenjo natxo.asenjo@gmail.com wrote:
On Sun, Nov 17, 2013 at 12:05 PM, Ahmad Samir ahmadsamir3891@gmail.com wrote:
On 17 November 2013 10:37, Natxo Asenjo natxo.asenjo@gmail.com wrote:
What I need is this layout: $ setxkbmap -query rules: evdev model: pc104 layout: us variant: intl options: kpdl:kposs
Using dconf-editor edit org.gnome.desktop.input-sources "sources", change: ('xkb', 'us')
to: ('xkb', 'us+intl')
awesome! thanks for the tip. This is the correct cli line:
$ gsettings set org.gnome.desktop.input-sources sources "[('xkb', 'us+intl')]"
and the proof is in the pudding: $ gsettings get org.gnome.desktop.input-sources sources [('xkb', 'us+intl')]
$ setxkbmap -query rules: evdev model: pc104 layout: us variant: intl options: kpdl:kposs
Now I jus need to see how to set this system wide, but I know now where to look for info.
Looking at http://forums.fedoraforum.org/showthread.php?t=292751 , it seems you can override/introduce your own custom defaults: - Create /usr/share/glib-2.0/schemas/org.gnome.desktop.input-sources.gschema.override, and put this in it: [org.gnome.desktop.input-sources] sources=[('xkb', 'us+intl')]
then as root: glib-compile-schemas /usr/share/glib-2.0/schemas
-- regards, Natxo -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org