[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#121297: xlibs: German ibook-layout, please apply at least partially



Followup-For: Bug #121297
Package: xlibs
Version: 4.3.0.dfsg.1-8

I also did not have a proper AltGr key, making typing things like [
difficult. So i copied /etc/X11/xkb/symbols/macintosh/de to
/etc/X11/xkb/symbols/macintosh/de2 (attached) and corrected the keys.

A few notes:
a) I never used MacOS, hence I chose the symbols ordinarilly appearing
   in Linux via AltGr. Only the following keys have a printed "third"
   (AltGr) code:
   e with Euro sign
   L with at sign
   and hence I think it makes no sense

b) In contrast to the other reporter, I have the following function
   key layout:

   <fn> <ctrl> <alt> <apple> <space> <apple> <???> <arrow keys>

c) I left the at sign at L, but doubled it to q where it "normally" is
   available. I use both Apple keys as AltGr, and did not try to use
   the ??? key (I have no idea what this key is supposed to do, i
   heard it is Mac OS 9-legacy, right now it produces an Enter).

d) Some keys do not print anything, though I defined them, I marked
   them with // does not work

e) On my x86 at work, the following additonal AltGr-combinations are
   defined. I could not find their name, hence I did not assing them
   in the attached file (and I never used them):
   AltGr-R    looks like paragraph sign, instead registered is printed
   AltGr-P    looks like a p where the belly has sacked down a little
   AltGr-A    on my x86 box the ae-letter is printed, now aring is
              printed
   AltGr-S    ß is printed, but I did not want to double it
   AltGr-D    like an o, where a diagonal bar is place above it, which
              is crossed by another bar
   AltGr-G    x86 has nothing here, left alone from original definition
   AltGr-H    x86 has nothing here, left alone from original definition
   AltGr-N    x86 has nothing here, left alone from original definition
   
If you need additional information (photo of keyboard?) please mail
me, I can also try things out. And please apply at least the
assignement of the AltGr-key. 

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.7
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages xlibs depends on:
ii  libice6                   4.3.0.dfsg.1-8 Inter-Client Exchange library
ii  libsm6                    4.3.0.dfsg.1-8 X Window System Session Management
ii  libx11-6                  4.3.0.dfsg.1-8 X Window System protocol client li
ii  libxext6                  4.3.0.dfsg.1-8 X Window System miscellaneous exte
ii  libxft1                   4.3.0.dfsg.1-8 FreeType-based font drawing librar
ii  libxi6                    4.3.0.dfsg.1-8 X Window System Input extension li
ii  libxmu6                   4.3.0.dfsg.1-8 X Window System miscellaneous util
ii  libxmuu1                  4.3.0.dfsg.1-8 lightweight X Window System miscel
ii  libxp6                    4.3.0.dfsg.1-8 X Window System printing extension
ii  libxpm4                   4.3.0.dfsg.1-8 X pixmap library
ii  libxrandr2                4.3.0.dfsg.1-8 X Window System Resize, Rotate and
ii  libxt6                    4.3.0.dfsg.1-8 X Toolkit Intrinsics
ii  libxtrap6                 4.3.0.dfsg.1-8 X Window System protocol-trapping 
ii  libxtst6                  4.3.0.dfsg.1-8 X Window System event recording an
ii  xlibs-data                4.3.0.dfsg.1-8 X Window System client data

-- no debconf information
-- 
Helge Kreutzmann, Dipl.-Phys.               Helge.Kreutzmann@itp.uni-hannover.de
                       gpg signed mail preferred 
    64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
       Help keep free software "libre": http://www.freepatents.org/
// $XConsortium: de /main/4 1996/08/31 12:19:20 kaleb $
// $XFree86: xc/programs/xkbcomp/symbols/macintosh/de,v 1.1 2000/09/19 12:46:25 eich Exp $

// olh@suse.de   very close to MacOS map

default partial alphanumeric_keys 
xkb_symbols "basic" {

    // Describes the differences between a very simple US/ASCII
    // keyboard and a very simple German keybaord

    // Alphanumeric section
    name[Group1]= "German";
    key <TLDE> {	[ dead_circumflex,	degree	],
			[   notsign 			]	};
    key <AE01> {	[         1,    exclam		],
			[ onesuperior,   at		]	};
    key <AE02> {	[	  2,	quotedbl	],
			[ twosuperior			]	};
    key <AE03> {	[	  3,	section		],
			[ threesuperior,sterling	]	};
    key <AE04> {	[	  4,	dollar		],
			[ onequarter,	currency	]	};   // does not work
    key <AE05> {	[	  5,	percent		],
			[ onehalf			]	};   // does not work
    key <AE06> {	[	  6,	ampersand	],
			[ threequarters			]	};   // does not work
    key <AE07> {	[	  7,	slash		],
			[ braceleft,    backslash	]	};
    key <AE08> {	[	  8,	parenleft	],
			[ bracketleft,    asciitilde	]	};
    key <AE09> {	[	  9,	parenright	],
			[ bracketright			]	};
    key <AE10> {	[	  0,	equal		],
			[ braceright,	degree		]	};
    key <AE11> {	[    ssharp,	question	],
			[ backslash,	questiondown	]	};
    key <AE12> {	[ dead_acute,	dead_grave	],
			[ dead_cedilla			]	};  // does not work

    key <AD01> {	[	  q,	Q 		],
			[ at,guillemotright	]	};
    key <AD03> {	[	  e,	E		],
			[  EuroSign			]	};
    key <AD04> {	[         r,    R		],
			[ registered			]	};
    key <AD05> {	[	  t,	T		]	};
    key <AD06> {	[	  z,	Z		]	};
    key <AD07> {	[	  u,	U		],
			[diaeresis,    Aacute		]	};
    key <AD08> {	[	  i,	I		],
			[     slash,    Ucircumflex	]	};
    key <AD09> {	[         o,    O		],
			[     oslash,   Ooblique	]	};
    key <AD11> {	[ udiaeresis,	Udiaeresis	],
			[ periodcentered, degree	]	};
    key <AD12> {	[      plus,	asterisk	],
			[ asciitilde			]	}; 
    key <AC01> {	[         a,    A		],
			[     aring,    Aring		]	};
    key <AC04> {	[	  f,	F		]	};
    key <AC05> {	[	  g,	G		],
			[ copyright			]	};
    key <AC06> {	[         h,    H		],
			[ ordfeminine			]	};
    key <AC09> {	[	  l,    L		],
			[	at			]	};
    key <AC10> {	[ odiaeresis,	Odiaeresis	],
			[ dead_acute			]	};
    key <AC11> {	[ adiaeresis,	Adiaeresis	],
			[ dead_circumflex		]	};

    key <LSGT> {	[      less,	greater		],
			[       bar			]	};
    key <AB01> {	[	  y,	Y 		],
			[ guillemotleft,less		]	};
    key <AB02> {	[	  x,	X 		],
			[ guillemotright,less		]	};
    key <AB06> {	[         n,    N		],
			[asciitilde			]	};
    key <AB07> {	[	  m,	M		],
			[	 mu			]	};
    key <AB08> {	[     comma,	semicolon	]	};
    key <AB09> {	[    period,	colon		],
			[ periodcentered, division	]	};
    key <AB10> {	[     minus,	underscore	]	};
    key <BKSL> {	[ numbersign,	apostrophe	],
			[ dead_grave			]	};

    // End alphanumeric section, begin "Keypad"
    key <KPDL> {	[  KP_Delete,	KP_Separator	]	};
    // End "Keypad" section

     // Begin "Modifier" section
    key <LFSH> {        [  Shift_L      ]       };
    key <RTSH> {        [  Shift_R      ]       };
    key <LCTL> {        [  Control_L    ]       };
    key <RCTL> {        [  Control_R    ]       };
    key <LALT> {        [  Alt_L        ]       };
    key <RALT> {        [  Alt_R        ]       };
    key <LWIN> {        [  Mode_switch       ]       };
    key <RWIN> {        [  Mode_switch       ]       };
    // End "Modifier" section

    // begin modifier mappings
    modifier_map Shift  { Shift_L , Shift_R };
    modifier_map Lock   { Caps_Lock };
    modifier_map Control{ Control_L, Control_R };
    modifier_map Mod1   { Alt_L, Alt_R };
    modifier_map Mod2   { Num_Lock };
    modifier_map Mod3   { Mode_switch };
//    modifier_map Mod4   { Super_L, Super_R };
    modifier_map Mod5   { Scroll_Lock };
    // end modifier mappings

   // begin modifier mappings
//    modifier_map Shift  { Shift_L };
//    modifier_map Lock   { Caps_Lock };
//    modifier_map Control{ Control_L };
//    modifier_map Mod3	{ Mode_switch };
};

partial alphanumeric_keys 
xkb_symbols "Sundeadkeys" {
    // modify the default German layout to use Sun dead keys
    include "macintosh/de(basic)"
    key <TLDE> {	[ SunFA_Circum,	degree		],
			[   notsign 			]	};
    key <AE12> {	[ SunFA_Acute,	SunFA_Grave	],
			[ SunFA_Cedilla			]	};
    key <AD11> {	[ udiaeresis,	Udiaeresis	],
			[ SunFA_Diaeresis		]	};
    key <AD12> {	[      plus,	asterisk	],
			[ SunFA_Tilde,	dead_macron	]	};
    key <AC10> {	[ odiaeresis,	Odiaeresis	],
			[ SunFA_Acute			]	};
    key <AC11> {	[ adiaeresis,	Adiaeresis	],
			[ SunFA_Circum			]	};

    key <BKSL> {	[ numbersign,	acute		],
			[ SunFA_Grave			]	};
};

partial alphanumeric_keys 
xkb_symbols "sundeadkeys" {
    include "macintosh/de(Sundeadkeys)"
};

partial alphanumeric_keys 
xkb_symbols "nodeadkeys" {
    // modify the default German layout to not have any dead keys
    include "macintosh/de2(basic)"
    key <TLDE> {	[ asciicircum,	degree		],
			[   notsign 			]	};
    key <AE12> {	[ acute,	grave		],
			[ cedilla			]	};
    key <AD11> {	[ udiaeresis,	Udiaeresis	],
			[ diaeresis 			]	};
    key <AD12> {	[      plus,	asterisk	],
			[ asciitilde,	macron		]	};
    key <AC10> {	[ odiaeresis,	Odiaeresis	],
			[ acute				]	};
    key <AC11> {	[ adiaeresis,	Adiaeresis	],
			[ asciicircum			]	};

    key <BKSL> {	[ numbersign,	apostrophe	],
			[ grave				]	};
};

Attachment: pgpd_DR0VZJMt.pgp
Description: PGP signature


Reply to: