Bug 11470 (iran-keyboard) - iran keybaord problem with left alt
Summary: iran keybaord problem with left alt
Status: RESOLVED WORKSFORME
Alias: iran-keyboard
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: high normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks: Persian
  Show dependency treegraph
 
Reported: 2007-07-04 04:06 UTC by mohsen saeedi
Modified: 2009-09-09 17:15 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
xkbcomp (58.49 KB, application/octet-stream)
2007-08-31 05:12 UTC, mohsen saeedi
Details

Description mohsen saeedi 2007-07-04 04:06:01 UTC
i have problem with fedora 6 and 7.when i add iran keyboard and using iran pro and iran keypad left alt don't work correctly.i must using shift+alt (first press shift and then alt) for change between language.and ctrl+alt don't work toghether.but when i using iran pro keypad as additional keyboard all of them work correctly.i have this problem with many laptops such as hp,sony and others.
this is my xkb ir keyboard file:
// $XKeyboardConfig: xkbdesc/symbols/ir,v 1.5 2005/08/15 23:26:07 svu Exp $
// Iranian keyboard layout,
// based on National Iranian Keyboard Standard (ISIRI 2901:1994),
// with additions.
//
// Copyright (C) 2004,2005  Sharif FarsiWeb, Inc.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
// 
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
// 
// A copy of the GNU General Public License is available from
// <http://www.gnu.org/licenses/gpl.txt>.
//
// Author: Behnam Esfahbod <behnam@esfahbod.info>
//


// 3-Level layout

partial default alphanumeric_keys
xkb_symbols "basic" {
    name[Group1]= "Iran";

    // Persian digits
    key <AE01> { [ 0x10006f1,   exclam,         quoteleft               ] };
    key <AE02> { [ 0x10006f2,   0x100066c,      at                      ] };
    key <AE03> { [ 0x10006f3,   0x100066b,      numbersign              ] };
    key <AE04> { [ 0x10006f4,   0x100fdfc,      dollar                  ] };
    key <AE05> { [ 0x10006f5,   0x100066a,      percent                 ] };
    key <AE06> { [ 0x10006f6,   multiply,       asciicircum             ] };
    key <AE07> { [ 0x10006f7,   Arabic_comma,   ampersand               ] };
    key <AE08> { [ 0x10006f8,   asterisk,       enfilledcircbullet      ] };
    key <AE09> { [ 0x10006f9,   parenright,     0x100200e               ] };
    key <AE10> { [ 0x10006f0,   parenleft,      0x100200f               ] };

    // Other 3-Level symbols
    key <TLDE> { [ 0x100200d,           division,               asciitilde      ] };
    key <AE11> { [ minus,               Arabic_tatweel,         underscore      ] };
    key <AE12> { [ equal,               plus,                   0x1002212       ] };
    key <BKSL> { [ backslash,           bar,                    0x1002010       ] };
    key <SPCE> { [ space,               0x100200c,              nobreakspace    ] };

    key <AD01> { [ Arabic_dad,          Arabic_sukun,           degree          ] };
    key <AD02> { [ Arabic_sad,          Arabic_dammatan,        VoidSymbol      ] };
    key <AD03> { [ Arabic_theh,         Arabic_kasratan,        0x13a4          ] };
    key <AD04> { [ Arabic_qaf,          Arabic_fathatan,        VoidSymbol      ] };
    key <AD05> { [ Arabic_feh,          Arabic_damma,           VoidSymbol      ] };
    key <AD06> { [ Arabic_ghain,        Arabic_kasra,           VoidSymbol      ] };
    key <AD07> { [ Arabic_ain,          Arabic_fatha,           VoidSymbol      ] };
    key <AD08> { [ Arabic_heh,          Arabic_shadda,          0x100202d       ] };
    key <AD09> { [ Arabic_khah,         bracketright,           0x100202e       ] };
    key <AD10> { [ Arabic_hah,          bracketleft,            0x100202c       ] };
    key <AD11> { [ Arabic_jeem,         braceright,             0x100202a       ] };
    key <AD12> { [ 0x1000686,           braceleft,              0x100202b       ] };

    key <AC01> { [ Arabic_sheen,        Arabic_hamzaonwaw,      VoidSymbol      ] };
    key <AC02> { [ Arabic_seen,         Arabic_hamzaonyeh,      VoidSymbol      ] };
    key <AC03> { [ 0x10006cc,           Arabic_yeh,             Arabic_alefmaksura ] };
    key <AC04> { [ Arabic_beh,          Arabic_hamzaunderalef,  VoidSymbol      ] };
    key <AC05> { [ Arabic_lam,          Arabic_hamzaonalef,     VoidSymbol      ] };
    key <AC06> { [ Arabic_alef,         Arabic_maddaonalef,     0x1000671       ] };
    key <AC07> { [ Arabic_teh,          Arabic_tehmarbuta,      VoidSymbol      ] };
    key <AC08> { [ Arabic_noon,         guillemotright,         0x100fd3e       ] };
    key <AC09> { [ Arabic_meem,         guillemotleft,          0x100fd3f       ] };
    key <AC10> { [ 0x10006a9,           colon,                  semicolon       ] };
    key <AC11> { [ 0x10006af,           Arabic_semicolon,       quotedbl        ] };

    key <AB01> { [ Arabic_zah,          Arabic_kaf,             VoidSymbol      ] };
    key <AB02> { [ Arabic_tah,          0x1000653,              VoidSymbol      ] };
    key <AB03> { [ Arabic_zain,         0x1000698,              VoidSymbol      ] };
    key <AB04> { [ Arabic_ra,           0x1000670,              0x1000656       ] };
    key <AB05> { [ Arabic_thal,         0x100200c,              0x100200d       ] };
    key <AB06> { [ Arabic_dal,          0x1000654,              0x1000655       ] };
    key <AB07> { [ 0x100067e,           Arabic_hamza,           ellipsis        ] };
    key <AB08> { [ Arabic_waw,          greater,                comma           ] };
    key <AB09> { [ period,              less,                   apostrophe      ] };
    key <AB10> { [ slash,               Arabic_question_mark,   question        ] };

    include "level3(ralt_switch)"
};


partial hidden alphanumeric_keys
xkb_symbols "part_pro" {

    // Persian and English (ASCII) digits
    key <AE01> { [ 0x10006f1,   exclam,         quoteleft,              1       ] };
    key <AE02> { [ 0x10006f2,   0x100066c,      at,                     2       ] };
    key <AE03> { [ 0x10006f3,   0x100066b,      numbersign,             3       ] };
    key <AE04> { [ 0x10006f4,   0x100fdfc,      dollar,                 4       ] };
    key <AE05> { [ 0x10006f5,   0x100066a,      percent,                5       ] };
    key <AE06> { [ 0x10006f6,   multiply,       asciicircum,            6       ] };
    key <AE07> { [ 0x10006f7,   Arabic_comma,   ampersand,              7       ] };
    key <AE08> { [ 0x10006f8,   asterisk,       enfilledcircbullet,     8       ] };
    key <AE09> { [ 0x10006f9,   parenright,     0x100200e,              9       ] };
    key <AE10> { [ 0x10006f0,   parenleft,      0x100200f,              0       ] };
};

partial hidden alphanumeric_keys
xkb_symbols "part_keypad" {

    // Persian digits and Mathematical operators
    key <KPDV> { [ division,    XF86_Ungrab     ] };
    key <KPMU> { [ multiply,    XF86_ClearGrab  ] };
    key <KPSU> { [ 0x1002212,   XF86_Prev_VMode ] };
    key <KPAD> { [ plus,        XF86_Next_VMode ] };

    key <KPEN> { [ KP_Enter     ] };
    key <KPEQ> { [ equal        ] };

    key <KP7>  { [ KP_Home,     0x10006f7       ] };
    key <KP8>  { [ KP_Up,       0x10006f8       ] };
    key <KP9>  { [ KP_Prior,    0x10006f9       ] };

    key <KP4>  { [ KP_Left,     0x10006f4       ] };
    key <KP5>  { [ KP_Begin,    0x10006f5       ] };
    key <KP6>  { [ KP_Right,    0x10006f6       ] };

    key <KP1>  { [ KP_End,      0x10006f1       ] };
    key <KP2>  { [ KP_Down,     0x10006f2       ] };
    key <KP3>  { [ KP_Next,     0x10006f3       ] };

    key <KP0>  { [ KP_Insert,   0x10006f0       ] };
    key <KPDL> { [ KP_Delete,   0x100066b       ] };
};

// 4-Level leyout

partial alphanumeric_keys
xkb_symbols "pro" {
    include "ir(basic)"
    include "ir(part_pro)"

    name[Group1]= "Iran - Pro";
};


// Persian Keypad leyout

partial alphanumeric_keys
xkb_symbols "keypad" {
    include "ir(basic)"
    include "ir(part_keypad)"

    name[Group1]= "Iran - Keypad";
};


// 4-Level leyout with Persian Keypad leyout

partial alphanumeric_keys
xkb_symbols "pro_keypad" {
    include "ir(basic)"
    include "ir(part_keypad)"
    include "ir(part_pro)"

    name[Group1]= "Iran - Pro Keypad";

};
Comment 1 Sergey V. Udaltsov 2007-07-04 15:47:43 UTC
The difference with the current symbols/ir file seems to be rather large. Could you please provide a patch?
Comment 2 mohsen saeedi 2007-08-29 15:00:13 UTC
(In reply to comment #1)
> The difference with the current symbols/ir file seems to be rather large. Could
> you please provide a patch?
> 

after 3 month i have new problem.alt+shift only work when i use iran pro keypad as default language.and En . english as second language.i can't use ctrl+alt+f1 too.
that is vaey bad problem.
Comment 3 Sergey V. Udaltsov 2007-08-29 15:06:40 UTC
"After 3 month" - does it mean something changed on your system? Could you please find out which change triggered that issue?
Comment 4 mohsen saeedi 2007-08-30 00:16:11 UTC
(In reply to comment #3)
> "After 3 month" - does it mean something changed on your system? Could you
> please find out which change triggered that issue?
> 

that is confusing.I solve problem last night.when I choos both alt and alt+shift for change group then alt+shif work correctly.but if i remove check box for both alt i must press first shift and then alt.other problem is ctrl+alt+f(1-6) doesn't wotk.I test this for another language.all of them had this problem.
Comment 5 Sergey V. Udaltsov 2007-08-30 09:37:13 UTC
May be, something is broken with your xkeyboard-config installation. Or Xserver.
Please try xkbcomp :0 -xkb out.xkb and attach out.xkb here.
Comment 6 mohsen saeedi 2007-08-31 05:12:41 UTC
Created attachment 11350 [details]
xkbcomp

please see the attachment.
Comment 7 Sergey V. Udaltsov 2007-08-31 06:15:50 UTC
First of all, functional keys are defined as necessary:
    key <FK01> {
        type= "CTRL+ALT",
        symbols[Group1]= [              F1, XF86_Switch_VT_1 ]
    };
etc
The type CTRL+ALT is defined properly - Control+Alt modifiers together should switch to level 1:
        modifiers= Control+Alt;
        map[Control+Alt]= Level2;
The modifiers Control and Alt are correctly turned on by LALT and RCTRL/LCTRL (RALT is used for 3rd level).

So the problem seems to be related to broken X server. May be, just for testing, you should try not using alts_toggle but some other way of switching
Comment 8 Benjamin Close 2008-01-11 02:37:50 UTC
Bugzilla Upgrade Mass Bug Change

NEEDSINFO state was removed in Bugzilla 3.x, reopening any bugs previously listed as NEEDSINFO.

  - benjsc
    fd.o Wrangler
Comment 9 Behnam Esfahbod [:zwnj] 2009-09-09 17:15:48 UTC
Mohsen, please provide updated info if you still face this problem.

Closing per comment #7 and the fact that there hasn't been any dup.


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.