The current Vietnamese keyboard layout contains us layer and vn layer. In the past, it was necessary to contain 2 layers to allow users switching back and forth easily. Now Gnome applet allow switching between keyboard layouts easily, so we don't need 2 layers in Vietnamese keyboard layout. I hope KDE also provides the same feature. The new layout with Vietnamese only: // $XKeyboardConfig: xkbdesc/symbols/vn,v 1.5 2004/12/22 21:51:19 svu Exp $ // based on: // vn, TCVN 5712:1993 // Le Hong Boi <boi.le@bigfoot.com> // August 1999 // Further modified by Ashley Clark <aclark@debian.org> // July 2000 for X 4.0 partial default alphanumeric_keys xkb_symbols "basic" { include "us" name[Group1]= "Vietnam"; // Alphanumeric section key { [ quoteleft, asciitilde ] }; key { [ abreve, Abreve ] }; key { [ acircumflex, Acircumflex ] }; key { [ ecircumflex, Ecircumflex ] }; key { [ ocircumflex, Ocircumflex ] }; key { [ dead_grave, percent ] }; key { [ dead_hook, asciicircum ] }; key { [ dead_tilde, ampersand ] }; key { [ dead_acute, asterisk ] }; key { [ dead_belowdot,parenleft ] }; key { [ dstroke, Dstroke ] }; key { [ minus, underscore ] }; key { [ DongSign, plus ] }; key { [ uhorn, Uhorn ] }; key { [ ohorn, Ohorn ] }; // End alphanumeric section include "level3(ralt_switch)" };
A couple of things: 1. If you get rid of digits in 'vn', users have to switch to 'us' every time they need something numeric. It is not nice - the common practice is to include digits into every layout. What's wrong with the current layout which provides digits but has 4 shift levels? 2. Your code is somewhat broken - there are not kecodes visible. Could you please attach new version of the file to the bug report (using "Creat a New Attachment" functionality)?
Created attachment 6799 [details] vn keyboard layout Reply to comment #1 1. Yes, I use Gnome with two keyboard layouts us and vn. I switch between 2 lay out by pressing both Shift key. I need to switch to us layout when I have to type symbols above digits. Personally, I feel switching between 2 layouts easier than switching between 4 levels of one layout (with Shift and Right Alt key). If digits must be included in every layout, I suggest to place digits in level 3, symbol in level 4 (similarly to '[', '{', ']', '}'), level 1 & 2 for Vietnamese vowels and diacritical marks, because they are used very frequently in Vietnamese. 2. The file is attached now.
Thanks for the attachment. > Vietnamese vowels and diacritical marks, because they are used very frequently > in Vietnamese. OK, I see your point. I will update the layout and see what people say.
committed now.
Numbers are not needed in the top row since every keyboard has the numpad (numeric section to the right activated via NumLock). Even Laptops have it as an extra shift level accessible via some function key (At least, it works in Windows). So I think it would be OK to go without numbers.
This commit proposition was craziness, brilliant people accepting this it is craziness even more.
How consideration about a Gnome applet could be invocated for an agnostic keyboard layout ? How heavily switching keyboard for using numbers could be evocated as a solution ? ALL pure craziness... By the way the official viet keyboard is model 461 and has numbers. https://upload.wikimedia.org/wikipedia/commons/thumb/2/2a/KB_Vietnamese.svg/800px-KB_Vietnamese.svg.png ftp://ftp.software.ibm.com/software/globalization/keyboards/KBD461.pdf
*** Bug 107172 has been marked as a duplicate of this bug. ***
can we have a version of Vietnamese here that would make you all happy, lads?
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/issues/6.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.