Bug 7807

Summary: update Vietnamese keyboard layout
Product: xkeyboard-config Reporter: Lê Hồng Bội <boi.le>
Component: GeneralAssignee: xkb
Status: RESOLVED MOVED QA Contact:
Severity: enhancement    
Priority: high CC: fgallaire
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: vn keyboard layout

Description Lê Hồng Bội 2006-08-07 21:12:43 UTC
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)"
};
Comment 1 Sergey V. Udaltsov 2006-09-02 17:00:05 UTC
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)?
Comment 2 Lê Hồng Bội 2006-09-03 02:33:32 UTC
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.
Comment 3 Sergey V. Udaltsov 2006-09-03 15:20:57 UTC
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.
Comment 4 Sergey V. Udaltsov 2006-09-03 15:25:25 UTC
committed now.
Comment 5 Fabian Hombsch 2006-09-05 13:45:37 UTC
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.
Comment 6 fgallaire 2018-07-14 05:29:03 UTC
This commit proposition was craziness, brilliant people accepting this it is craziness even more.
Comment 7 fgallaire 2018-07-14 05:46:04 UTC
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
Comment 8 Sergey V. Udaltsov 2018-09-26 22:53:57 UTC
*** Bug 107172 has been marked as a duplicate of this bug. ***
Comment 9 Sergey V. Udaltsov 2018-09-26 22:54:34 UTC
can we have a version of Vietnamese here that would make you all happy, lads?
Comment 10 GitLab Migration User 2018-12-28 00:32:18 UTC
-- 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.