Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 2153  / 3 Years ago, tue, may 25, 2021, 12:54:37

On my laptop, I only have one keyboard layout:

Menu in top panel showing keyboard layout



Now, if I login in to Ubuntu 13.10, and press the # key, I get .
Similar things occur for other keys - become <. UK layout features don't work, as £ becomes #.



But if I open the settings, or select the layout in the top bar of Unity, despite it being the only layout, it does not cause the above problems.



Here is also the window of Keyboard Settings:
Keyboard Settings



The layout seems to show correctly (but this is after opening Keyboard Settings, after which it seems alright....):
Keyboard layout



I hope to find an answer myself, but I'll see if anyone else has any ideas about this? I haven't had this problem elsewhere... and is a tad irritating when programming.



The laptop in question is Lenovo G570 with Ubuntu 13.10 + Fedora 20 dual boot (I haven't had any problems in Fedora) - Model 4334


More From » keyboard

 Answers
6

I found the answer in dconf - I changed org.gnome.desktop.input-sources sources from:



[('xkb', 'gb')]


to



[('gb', 'xkb')]


This works very nicely, but seems to have killed the Keyboard Settings:



enter image description here



Probably as I switched iBus and the other thing in a 'incorrect manner' - here is the description of the thing I edited from dconf-editor:




Schema:



org.gnome.desktop.input-sources



Summary:



List of input sources



Description:



List of input source identifiers available. Each source is specified
as a tuple of 2 strings. The first string is the type and can be one
of 'xkb' or 'ibus'. For 'xkb' sources the second string is
'xkb_layout+xkb_variant' or just 'xkb_layout' if a XKB variant isn't
needed. For 'ibus' sources the second string is the IBus engine name.
An empty list means that the X server's current XKB layout and variant
won't be touched and IBus won't be used.




But as it works still, I'll leave it until it explodes or something.



Update:



Setting it to this also works:



[('ibus', 'gb')]


Weird.


[#26934] Thursday, May 27, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
izecaptur

Total Points: 113
Total Questions: 102
Total Answers: 114

Location: Northern Mariana Islands
Member since Fri, Jan 15, 2021
3 Years ago
;