On Sat, Nov 29, 2008 at 05:39:02PM +0100, Christian Perrier wrote:
> 
> I finally had a closer look here and I can propose the attached patch
> to console-data so that PrtScr does nothing.
> 
> This is untested stuff. Just wild guess as I'm often doing with 
> console-data...
> 
> --- keymaps/i386/include/linux-keys-bare.inc  2007-05-08 19:00:08.519961000 
> +0200
> +++ keymaps/i386/include/linux-keys-bare.inc.new      2008-11-29 
> 15:59:47.792370754 +0100
> @@ -148,7 +148,7 @@
>  # The three system keys
>  #
>  keycode  84 = Last_Console           # Alt+SysRq/PrintScrn
> -keycode  99 = Control_backslash              # SysRq/PrintScrn
> +keycode  99 = VoidSymbol             # SysRq/PrintScrn
>  
>  plain   keycode 70 = Scroll_Lock
>  shift        keycode 70 = Show_Memory

I think the following code has to have similar effect to the change 
proposed by Colin Watson for console-setup:

 # The three system keys
 #
 keycode  84 = Last_Console             # Alt+SysRq/PrintScrn
 keycode  99 = Control_backslash                # SysRq/PrintScrn
+plain keycode  99 = VoidSymbol
+shift keycode  99 = VoidSymbol
 
 plain   keycode 70 = Scroll_Lock
 shift  keycode 70 = Show_Memory

I thested this and it doesn't work (I don't know why).  The following 
code works:

keycode  99 = VoidSymbol
alt keycode  99 = Control_backslash
control keycode  99 = Control_backslash
control alt keycode  99 = Control_backslash
altgr alt keycode  99 = Control_backslash
altgr control keycode  99 = Control_backslash
altgr control alt keycode  99 = Control_backslash


Anton Zinoviev



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to