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

Re: X on a 9600 artifacts and AltGr on Keyboard mapped to where?



On Tue, 2002-08-20 at 11:26, Vinai Kopp wrote:

> 1) Where is the keyboard mapping for the console specified?
>    I would like to map the right alt key to act as the AltGr key.
>    I can't type the tilde, pipe or at symbols (~ | @) witout it
>    (it's a german qwertz keyboard).

If your keyboard has two independent alt keys, you can try

	Option		"XkbOptions"	"ralt:mode_switch"

in the keyboard section, or the attached patch for
/etc/X11/xkb/symbols/macintosh/us.

>    Also is there a was to emulate the second and thord mouse button
>    using gpm?

That's a kernel feature, it has nothing to do with gpm. It's been
discussed extensively on this very list.


> 2) X starts using the fbdev driver (imstt doesn't work).
>    The problem is every couple of pixels a line is shifted to the left.
>    The shifted lines even wrap around to the right, if the offset
>    takes them beyond the left border of the screen.
>    That happens with wdm, xdm, twm and WindowMaker, so I guess it is a
>    xserver issue.  Setting UseFBDev to false makes no difference.

The fbdev driver doesn't know that option, its whole point is to use a
framebuffer device.

>    Changing the depth doesn't make the problem go away,
>    it only changes the length of the offset and the distance between
>    the shifted lines. All listed resolutions work (all display
>    the strange behavior).
>    I put up a couple of photos that illustrate the problem
>    online here: http://vinais.home-in-the.net/ppc/

This is probably a bug related to framebuffer offset and/or line length.
Someone with unusual hardware (like you :) will have to debug that code.
Maybe 4.2.0 works better though, you could try Branden's pre-packages.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast
--- /etc/X11/xkb/symbols/macintosh/us.dpkg-dist	2002-08-07 21:07:45.000000000 +0200
+++ /etc/X11/xkb/symbols/macintosh/us	2002-06-01 15:51:02.000000000 +0200
@@ -1,5 +1,5 @@
-// $XConsortium: macintosh /main/10 1996/01/29 19:54:54 kaleb $
-// $XFree86: xc/programs/xkbcomp/symbols/macintosh/us,v 1.5 2001/10/02 19:57:01 alanh Exp $
+// $xcONS/ortium: macintosh /main/10 1996/01/29 19:54:54 kaleb $
+// $XFree86: xc/programs/xkbcomp/symbols/macintosh/us,v 1.3 2000/09/29 08:59:49 eich Exp $
 
 // symbols definition for a Macintosh "Extended" keyboard
 
@@ -130,7 +130,7 @@
     key <LCTL> {	[  Control_L	]	};
     key <RCTL> {	[  Control_R	]	};
     key <LALT> {	[  Alt_L	]	};
-    key <RALT> {	[  Alt_R	]	};
+//    key <RALT> {	[  Alt_R	]	};
     key <LWIN> {	[  Meta_L	]	};
     key <WWIN> {	[  Meta_R	]	};
     // End "Modifier" section
@@ -195,7 +195,7 @@
 //			[asciitilde			]	};
 //    key <AB07> {	[	  m,	M		],
 //			[	 mu,	Acircumflex	]	};
-//    key <RALT> {	[ Mode_switch,	Multi_key	]	};
-//    modifier_map Mod3   { Mode_switch };
+    key <RALT> {	[ Mode_switch,	Multi_key	]	};
+    modifier_map Mod3   { Mode_switch };
 
 };

Reply to: