Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 1305  / 3 Years ago, thu, august 26, 2021, 10:36:46

While trying to fiddle with my multi-language keyboard configuration broken by this bug, I stumbled again on this screen in gnome-tweak-tool, "typing" section:



gnome-tweak-tool -> typing -> caps lock



As you can see, option text is severely truncated and there is no tooltip emerging to explain the full function (the same problem is repeated on most of the other drop-down menus). I say "again" because I filed this bug some time ago.



The question: is there somewhere a place (configuration file, gsetting, dbus comment, source file, whatever) where I can find the full text of the options here?


More From » gnome

 Answers
7

On my 13.10 box I found them in /usr/share/X11/xkb/rules/base.{xml,lst} and /usr/share/X11/xkb/rules/evdev.{xml,lst}. The XMLs are identical, as are the LSTs (at least in my case), so I think any one of them would have the full text you seek.



Another thing you can do is modify gnome-tweak-tool so you can see the entire text. Here's how I "fixed" mine:



usr/share/pyshared/gtweak/tweaks/tweak_typing.py, line 56 - makes the comboboxes in the Typing section display more characters:



#renderer.props.max_width_chars = 40
renderer.props.max_width_chars = 80


/usr/share/pyshared/gtweak/tweakview.py, line 49 - resizes the tool window so there is space for the comboboxes:



#self._main_window.set_size_request(740, 636)
self._main_window.set_size_request(1160, 680)


These values work OK for me, but there are even longer text options that still do not fit. A better fix would be to add tooltips or horizontal scrolling, but I don't want to pick up up on GTK and its Python bindings right now. Let's hope the devs will take notice of the bug you filed.


[#26860] Thursday, August 26, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
dersol

Total Points: 78
Total Questions: 100
Total Answers: 124

Location: Christmas Island
Member since Mon, Oct 19, 2020
4 Years ago
;