Bug#453296: MacBook: cannot assign right mouse click to lower Enter key

2009-02-01 Thread Brice Goglin
reassign 453296 xserver-xorg-core 2:1.4.1~git20071119-1
thank you


 The CD MacBook keyboard only has a single (left) mouse button
 below the touchpad, so I like to assign the right mouse click
 function to the lower Enter key (KP_Enter) with the commands

   xmodmap -e keycode 108 = Pointer_Button3
   xkbset m

 These commands have been put in a script in .kde/Autostart. This 
 setup has worked fine until a recent upgrade of X, now there is no
 response from hitting the lower Enter key.


Is this fixed in current X packages in testing?
I seem to remember about a bug when xmodmap was called before
any single key has been pressed. Might be fixed now.

Brice



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#453296: MacBook: cannot assign right mouse click to lower Enter key

2007-11-28 Thread Henk Koster
Package: xserver-xorg
Version: 1:7.3+7
Severity: normal


The CD MacBook keyboard only has a single (left) mouse button
below the touchpad, so I like to assign the right mouse click
function to the lower Enter key (KP_Enter) with the commands

  xmodmap -e keycode 108 = Pointer_Button3
  xkbset m

These commands have been put in a script in .kde/Autostart. This 
setup has worked fine until a recent upgrade of X, now there is no
response from hitting the lower Enter key.

I have included the output from hitting the left mouse button
(which works) and the right mouse button (which doesn't). It 
appears that there is a spurious extra pair of ButtonPress/Release
events in the latter case...

I have always specified the keyboard as pc104; changing this to
pc105, macbook78 or macbook79 makes no difference. The Mouse 
Navigation with numpad feature has not been enabled in KDE Settings/
Peripherals/Mouse. Enabling it (and commenting the above xkbset 
command) makes no difference either.

There is no keypad entry in the /etc/X11 subtree; copying it from
/usr/share/X11/xkb/symbols to /etc/X11/xkb/synbols and changing 
all occurrences of KP_Enter to Pointer_Button3 makes no 
difference either.

-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 2007-03-17 15:29 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1672732 2007-11-20 03:03 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML 
Express Integrated Graphics Controller (rev 03)

/etc/X11/xorg.conf does not match checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 1914 2007-11-27 18:27 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
#  (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the  manual page.
# (Type man  at the shell prompt.)
#
# This file is automatically updated on  package upgrades *only*
# if it has not been modified since the last upgrade of the 
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh 

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRules  xorg
Option  XkbModel  pc104
Option  XkbLayout us
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
EndSection

Section InputDevice
   Identifier  Synaptics Touchpad
   Driver  synaptics
   Option  MaxTapTime 0
   Option  VertScrollDelta 20
   Option  VertTwoFingerScroll 1
   Option  MinSpeed .70
   Option  MaxSpeed .70
   Option  AccelFactor 0.06
EndSection

Section Device
Identifier  Intel Corporation Mobile 945GM/GMS, 943/940GML Express 
Integrated Graphics Controller
Driver  intel
BusID  PCI:0:2:0
Option  UseFBDev  true
EndSection

Section Monitor
Identifier  Configured Monitor
Option  DPMS
HorizSync   28-33
VertRefresh 43-72
EndSection

Section Screen
Identifier Default Screen
MonitorConfigured Monitor
DefaultDepth24
SubSection Display
Modes  1280x800
EndSubSection
EndSection

Section ServerLayout
   Identifier  Default Layout
   Screen  Default Screen
   InputDevice Generic Keyboard
   InputDevice Configured Mouse
   InputDevice Synaptics Touchpad
EndSection



Xorg X server log files on system:
-rw-r--r-- 1 root root 34314 2007-11-28 13:09 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file
/var/log/Xorg.0.log:

X.Org X Server 1.4.0
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.1~git20071119-1)
Current Operating System: Linux sid32 2.6.22-3-686 #1 SMP Mon Nov 12 08:32:57 
UTC 2007 i686
Build Date: 20 November 2007  01:48:55AM
 
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Wed Nov 28 13:09:44 2007
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout Default