Penguin
Diff: XFree86KeyboardMouseNotes
EditPageHistoryDiffInfoLikePages

Differences between current version and predecessor to the previous major change of XFree86KeyboardMouseNotes.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 13 Last edited on Monday, December 12, 2005 11:10:41 am by MarkStumme
Older page: version 10 Last edited on Monday, November 29, 2004 4:12:05 pm by OmegaTron Revert
@@ -1,11 +1,11 @@
-!!! Mouse hardware support under [XFree86] 
+!!! Mouse hardware support under [XFree86]/[XOrg
  
 !! Side buttons on 7-button mice 
  
-Mice like the MS Intellimouse Explorer have 5 buttons, besides the wheel, which means a total of 7 buttons as far as [XFree86] is concerned. Here's a summary of how to get the extra buttons working, as outlined in the [official XFree developer documentation|http://www.xfree86.org/4.2./mouse.html]. 
+Mice like the [Microsoft] Intellimouse Explorer have 5 buttons, besides the wheel, which means a total of 7 buttons as far as [XFree86] is concerned. Here's a summary of how to get the extra buttons working, as outlined in the [official XFree developer documentation|http://www.xfree86.org/4.2./mouse.html]. 
  
-Under XFree86 4.2.x and later, add/change settings in your mouse !InputDevice section of /etc/X11/XF86Config(-4): 
+Under [ XFree86] 4.2.x and later, add/change settings in your mouse !InputDevice section of /etc/X11/XF86Config(-4): 
  
  Protocol "ExplorerPS/2" # instead of plain "IMPS/2" 
  Options "Buttons" "7" 
  "ZAxisMapping" "6 7" 
@@ -19,12 +19,12 @@
  
 To have this happen automatically, you could 
 # add it to your __.xsession__ or __.xinitrc__, which only works per user 
 # assuming you're using gdm(8), add it to /etc/gdm/!PreSession/Default which affects everyone using gdm(8) 
-# assuming you're using kdm(8), add it to ??? - AddToMe  
+# assuming you're using kdm(8), add it to /usr/kde/3.x/share/config/kdm which affects everyone using kdm(8)  
  
 Some applications already have support for these buttons, otherwise you can use xmodmap(1) or another program to map these button events to arbitrary key bindings/commands. 
-Recent versions of mozilla (for example 1.6 on Debian) uses these for horizontal scrolling of a wide page, or see MozillaNotes for examples on how to use these extra buttons for things like going forward/backwards in a browser. Many games also support them. 
+Recent versions of [Mozilla] (for example 1.6 on [ Debian] ) uses these for horizontal scrolling of a wide page, or see MozillaNotes for examples on how to use these extra buttons for things like going forward/backwards in a browser. Many games also support them. 
  
 Note that if you have multiple mice (touchpad and external mouse, for instance), xmodmap only affects the one which is registered as CorePointer. 
  
 !! Using your Keyboard as a mouse 
@@ -32,9 +32,9 @@
 Should you happen to find yourself without a mouse for one reason or another you can use the numpad on your keyboard as a substitute. To enable this feature simply press __Shift-!NumLock__ (various people report their keyboards' !NumLock keys even have mouse icons on them - check yours!), which gives you two beeps to signify it's active. 
  
 Use 2/4/6/8 as down/left/up/right, respectively. 5 clicks a mouse button, + toggles whether it's the left or right one. * produces a middle-click. 
  
-On my system, a Slackware 9.0 stock install, the + key does not toggle between left and right buttons. Instead, it emulates a double-click of the button. The / key changes 5 to be the left mouse button, * to the middle mouse button, and - to the right mouse button. -- SamuelFalvo  
+On my system, a Slackware 9.0 stock install, the + key does not toggle between left and right buttons. Instead, it emulates a double-click of the button. The / key changes 5 to be the left mouse button, * to the middle mouse button, and - to the right mouse button. -- Samuel Falvo  
  
  
 !! Changing the mouse cursor speed 
  
@@ -45,9 +45,9 @@
 will make the cursor go 2.5 times normal speed if the cursor moves over 8 pixels in a short time. 
  
 !!! Mouse cursor 
  
-Some games on linux (such as Quake2 or [BzFlag]) don't change the mouse pointer, meaning you get the mouse arrow in the middle of your game. 
+Some games on [Linux] (such as Quake2 or [BzFlag]) don't change the mouse pointer, meaning you get the mouse arrow in the middle of your game. 
  
 You can change the shape of the cursor using standard programs that come with [XFree86]. X also comes with lots of bitmaps for this purpose. The xsetroot(1) program does this. If you give it the __-cursor__ option, the first argument is an xbm to use for the cursor and the second argument is a transparency mask. 
  
 A good, minimalist pointer is: 
@@ -61,17 +61,17 @@
  $ xsetroot -cursor $BMPATH/left_ptr $BMPATH/left_ptrmsk 
  
  
 !!! Keyboards under [XFree86] 
-If you have a keyboard with 'extra' buttons, you'll probably want to get them to work under X. 
+If you have a keyboard with 'extra' buttons, you'll probably want to get them to work under [ X]
  
 You could try installing the "acme" package if you use [GNOME]2. This provides support for the multimedia keys found on some keyboards such as Hewlett-Packard's - even the volume knob worked! 
  
-!! MS Natural Pro 
+!! [Microsoft] Natural Pro 
  
-If you have a MS Natural Pro keyboard with the blue 'multimedia' buttons across the top and can change your __/etc/X11/XF86Config__, put __Option "!XkbModel" "microsoft"__ in the !InputDevice section for the keyboard and you'll be able to use them. If you can't, put one of the following in __.Xmodmap__ in your home directory (make sure your X login runs xmodmap over this file; this is a common default), depending on whether the keyboard is connected via USB or PS/2. 
+If you have a [Microsoft] Natural Pro keyboard with the blue 'multimedia' buttons across the top and can change your __/etc/X11/XF86Config__, put __Option "!XkbModel" "microsoft"__ in the !InputDevice section for the keyboard and you'll be able to use them. If you can't, put one of the following in __.Xmodmap__ in your home directory (make sure your [ X] login runs xmodmap over this file; this is a common default), depending on whether the keyboard is connected via [ USB] or [ PS/2]
  
-! MS Natural Pro (USB) .Xmodmap snippet 
+! [Microsoft] Natural Pro ([ USB] ) .Xmodmap snippet 
  
  keycode 234 = XF86Back 
  keycode 233 = XF86Forward 
  keycode 232 = XF86Stop 
@@ -91,9 +91,9 @@
  keycode 111 = XF86MyComputer 
  keycode 161 = XF86Calculator 
  keycode 227 = XF86Standby 
  
-! MS Natural Pro (PS/2) .Xmodmap snippet 
+! [Microsoft] Natural Pro ([ PS/2] ) .Xmodmap snippet 
  
  keycode 234 = XF86Back 
  keycode 233 = XF86Forward 
  keycode 232 = XF86Stop 
@@ -112,7 +112,40 @@
  keycode 237 = XF86AudioMedia 
  keycode 235 = XF86MyComputer 
  keycode 161 = XF86Calculator 
  keycode 223 = XF86Standby 
+  
+!!Dvorak keyboard layout  
+  
+Courtesy of David !McNab on [NZLUG].  
+  
+After much frustration and trial/error, I've finally perfected my Dvorak/XWindows setup.  
+  
+I tried two different ways of setting up dvorak:  
+  
+1) the ~/.xinitrc command:  
+  
+ setxkbmap dvorak  
+  
+2) the XWindows config line:  
+  
+ Option "!XkbLayout" "dvorak"  
+  
+Both these approaches had the same problems:  
+  
+* right-side Alt and Logo keys not being recognised  
+* Ctrl-Alt sequences such as Ctrl-Alt-Delete and Ctrl-Alt-Backspace not working  
+* keyboard shortcuts not working in my window manager (Openbox)  
+  
+I tried adding some 'xmodmap keysym' commands to my .xinitrc, but these just got ignored.  
+  
+The only solution that has worked for me has been a full xmodmap config file with a couple of nonintuitive tweaks. I've put mine (for standard  
+104-key keyboard) up at http://www.freenet.org.nz/dvorak.xmodmap.  
+  
+I activate this in my [X] config by putting into my .xinitrc the command:  
+  
+ xmodmap /path/to/dvorak.xmodmap  
+  
+This is the only scheme I've found that sets up my dvorak keyboard exactly as one would expect.  
  
 ---- 
 [CategoryXFree86Notes] 
The following authors of this page have not agreed to the WlugWikiLicense. As such copyright to all content on this page is retained by the original authors.
  • SamuelFalvo
The following authors of this page have agreed to the WlugWikiLicense.

lib/blame.php (In template 'html'):177: Warning: Invalid argument supplied for foreach() (...repeated 2 times)

lib/plugin/WlugLicense.php (In template 'html'):99: Warning: Invalid argument supplied for foreach()

lib/plugin/WlugLicense.php (In template 'html'):111: Notice: Undefined variable: ignore_authors

lib/plugin/WlugLicense.php (In template 'html'):111: Notice: Undefined variable: ignore_authors

lib/plugin/WlugLicense.php (In template 'html'):111: Warning: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument