Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 2731  / 1 Year ago, mon, december 26, 2022, 9:17:55

There are no examples in the manual and every file I've tried needs some geometry.



$ xkbcomp /usr/share/X11/xkb/symbols/ua tmp/ua.xkm

$ xkbprint tmp/ua.xkm
Cannot open "tmp/ua.xkm" to read geometry

$ xkbprint /usr/share/X11/xkb/symbols/ua
Error: Couldn't read geometry from XKM file "/usr/share/X11/xkb/symbols/ua"
Exiting

More From » xorg

 Answers
7

To build on gioele's answer, to preview custom keyboard layout, you can also use xkbcomp like this:



setxkbmap ua -print | xkbcomp - - | xkbprint - - | ps2pdf - > ua.pdf


ua being the desired keyboard layout.



Inspect setxkbmap -print — it provides xkbcomp with geometry, symbols, keycodes, ...


[#28308] Tuesday, December 27, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
pantkie

Total Points: 209
Total Questions: 112
Total Answers: 138

Location: Venezuela
Member since Sat, Apr 24, 2021
3 Years ago
pantkie questions
Tue, Feb 14, 23, 07:17, 1 Year ago
Sat, May 8, 21, 05:13, 3 Years ago
Sat, Jun 11, 22, 17:14, 2 Years ago
Thu, Mar 10, 22, 12:32, 2 Years ago
;