Created attachment 990886 [details] Gnome 3.14 keyboard layout (no default setting possibility) Description of problem: There is no way how to set default keyboard layout in control-center This possibility disappeared 2-4 minor version ago (3.6 - 3.8). Version-Release number of selected component (if applicable): control-center-3.14.2-2.fc21.x86_64 (for F20: control-center-3.12.1-1.fc20.x86_64) How reproducible: Always Steps to Reproduce: 1. add second keyboard layout (czech) 2. set "Allow different sources for each window" 3. start new windows 4. keyboard layout of new window depend on last layout state Actual results: keyboard layout of new window depend on last layout state Expected results: keyboard layout of new window will use default layout Additional info: I can add second layout (czech) but I can't choose which one is default. Just now it remembers last layout even after reboot. It is very annoying specially in case when I use switch "Allow different sources for each window" with Focus mode: Sloppy Than every new window is started with layout of actual active window (which depends on mouse position) I work mostly in gnome-terminal and there I need US layout almost every time.
Created attachment 990887 [details] Gnome 3.14 keyboard per window switch
Created attachment 990888 [details] Xfce keyboard layout (default setting possibility)
Created attachment 990890 [details] Cinnamon keyboard layout (default setting possibility with per window variant)
Very annoying... In addition to this, random layout (depends on active window layout) also in lock screen...
This was fixed upstream, and will be in GNOME 3.16 (and 3.15.91 released yesterday). See: https://bugzilla.gnome.org/show_bug.cgi?id=743400
This is not solution for this bug I've just tried it in F22 Alpha (updated to 3.15.91) New buttons change order in: /org/gnome/desktop/input-sources/sources "[('xkb', 'us'), ('xkb', 'cz')]" when I have "per-window" true new window still have layout of last active window not default layout. In cinnamon you can do it correctly this way: Set default keyboard layout for new window: dconf write /org/gnome/libgnomekbd/desktop/group-per-window true dconf write /org/gnome/libgnomekbd/desktop/default-group 0 Set actual keyboard layout for new window: dconf write /org/gnome/libgnomekbd/desktop/group-per-window true dconf write /org/gnome/libgnomekbd/desktop/default-group -1 In gnome 3.16 there is no possibility to set "group-per-window" /org/gnome/desktop/input-sources/group-per-window There is only: /org/gnome/desktop/input-sources/current Can you improve it, please?
See https://bugzilla.gnome.org/show_bug.cgi?id=746037
Hi Rui thanks for your fix. Actual state in F22 "default is the same for every new window". It is good enough for me. And for layout-per-window one/common default layout for new window is probably better way. But from multi-layout environment view (ex. Czech Republic) it could be better work with layout-per-windowgroup and change (runtime) default per windowgroup like Cinnamon do. Can you look to my attachment? "Cinnamon keyboard layout (default setting possibility with per window variant)" There is dconf settings (which could be first step) and possibility to switch it in gui. Do you think it is possible to improve it this way? I think it will require deeper change but it is worthy for users: Use case: I work in IT, mostly in terminal/vim - I want have US layout in every terminal. When I write email I often need write in czech so I can switch to czech layout. It is OK. New email window should be in czech. But next terminal window I want in US layout again. Terminal: US (admin and coding work in english) Gvim/vim: US (admin and coding work in english) LibreOffice: czech layout (mostly I need write czech texts) Evolution: czech layout (dtto) Firefox: czech layout (I search/comment in czech) What do you think? Is it nonsense? Is it possible to do it or absolutely not?
Downstream bug reports to request upstream features don't work very well. If you have suggestions to improve things please file a bug against gnome-shell in gnome's bugzilla.