On 4/29/06, Golam Mortuza Hossain <[EMAIL PROTECTED]> wrote:
On 4/30/06, Jamil Ahmed <[EMAIL PROTECTED]> wrote:
> So we are sticking with BN shortcuts then...
..but before that Runa's concern must be taken care off!
She has brought out several points in this regards.
#1 BN shortcuts are not working smoothly everywhere.
Personally, I have found that it can become erratic
in some cases. Ex. using CTRL+SHIFT for switching.
Please feel free to add other potentially problematic
situation. So that we can compile a sort of "DO NOT" list.
Runa, can you please give your response here.
I'm slightly confused about this. There are two types of shortcuts,
one in menu items etc (indicated by _ or & in the translated strings),
and one like CTRL-Q to quit an application. Which ones are we talking
about? The first type are activated by pressing ALT. Where does the
CTRL key come in? If we are talking about the second, I didn't even
know that they could be translated. Can they? How?
As far as KDE is concerned, it's not a good idea to use CTRL-SHIFT as
a shortcut. Quoting from
http://www.bengalinux.org/documents/bengali-keyboard-mini-howto.php,
<quote>...you can use an option like grp:shift_toggle which will
toggle by pressing both shift buttons. In which case your command
becomes:
setxkbmap -symbols "us(pc101)+ben" -option "grp:shift_toggle"
This would in fact be preferable if you use KDE, since many standard
KDE keyboard shortcuts involve the Ctrl+Shift combination.</quote>
An easier alternative in KDE is to use the KDE keyboard switcher (by
default uses CTRL-ALT-K to switch layouts)
#2 Duplication of BN shorcuts
This is a serious problem. Checking manually for
duplication is not an easy task! However, I think
its not difficult to write a script to check them
automatically. In fact, I already have some codes
(as a part of future version of po_anubadok) that
aims to do that. First, it splist po files depending
on their location (msggrep --location=SOURCEFILE)
then it checks for repeatation of shortcuts.
I don't think this will work. First of all, it's fine to have the same
shortcut in different submenus. Also, consider the two strings "Enable
Proxy" and "Disable Proxy". They will probably be close together in
the sources and in the same submenu as well, but will never be
displayed together. So, it's fine if they have the same shortcut.
For KDE, there's a tool for this (although I have never actually used
it) called Dr Klash. See
http://www.kdedevelopers.org/node/520
Deepayan