[xorg-bugzilla-noise] [Bug 666] New: New XKB option for Tux keys: request for addition

bugzilla-daemon at pdx.freedesktop.org bugzilla-daemon at pdx.freedesktop.org
Sun May 23 15:58:07 PDT 2004


Please do not reply to this email: if you want to comment on the bug, go to    
the URL shown below and enter your comments there. 
 
http://freedesktop.org/bugzilla/show_bug.cgi?id=666  
  
           Summary: New XKB option for Tux keys: request for addition
           Product: xorg
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Input/Keyboard
        AssignedTo: xorg-bugzilla-noise at freedesktop.org
        ReportedBy: svu at gnome.org


Submitted by Daniel Elstner:

---

Basically, the bottom row of my keyboard (which is just a standard pc105
model with three replaced caps) now looks like this:

    <Ctrl> <Tux> <Alt> <----Space----> <AltGr> <Alt> <Tux> <Ctrl>

In order to make the keyboard work as advertised on the key caps, I need
to map the keys as follows:

    <LWIN> = Super_L
    <RWIN> = Alt_R Meta_R
    <MENU> = Super_R

So I did just that by putting another option into symbols/altwin:

// Layout for Tux key caps with additional right Alt key
partial modifier_keys 
xkb_symbols "alt_super_win" {
    key <LALT> {        [       Alt_L,  Meta_L          ]       };
    key <RWIN> {        [       Alt_R,  Meta_R          ]       };
    key <LWIN> {        [       Super_L                 ]       };
    key <MENU> {        [       Super_R                 ]       };
    modifier_map Mod1   { Alt_L, Alt_R, Meta_L, Meta_R };
    modifier_map Mod4   { Super_L, Super_R };
};

Obviously I also need put this line into rules/xfree86:

altwin:alt_super_win    =       +altwin(alt_super_win)
 
And finally there's the description entry in rules/xfree86.xml.  The
description was a little hard to keep short since this option actually
sets up two modifier mappings.  However, I'm not sure if splitting it
into separate options would actually be useful.  (This would require
adding another option group too, since in this one multiple selections
are disallowed.)  Anyway, here's the text:

<configItem>
  <name>altwin:alt_super_win</name>
  <description>Alt is mapped to the right Win-key and Super to Menu.</description>
</configItem>
 
If you look at the patch you'll see that I also changed two other option
entries in the XML file.  Those referred to option names which did not
exist; looks very much just like a copy-n-paste mistake.  
  
--   
Configure bugmail: http://freedesktop.org/bugzilla/userprefs.cgi?tab=email  
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the xorg-bugzilla-noise mailing list