-
Hmm, some clarifications:
This part you should do as root:
At the top of /etc/X11/XFConfig-4 there's a following section:
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
# PS/2 Mouse using /dev/input/mice in Kernel 2.6
# Serial Mouse not detected
# InputDevice "USB Mouse" "CorePointer"
InputDevice "PS/2 Mouse" "CorePointer" THIS is your mouse
EndSection
A bit further down you'll find the corresponding section to your mouse which I posted.
If you had "USB Mouse" at the top, that's what you want to modify.
This part you should do as user:
Open an editor and type the following lines:
echo '#!/bin/sh
xmodmap -e "pointer = 1 2 3 6 7 4 5"' >/tmp/x$$
chmod a+x /tmp/x$$
xterm -bg black -fg white -fn 9x15 -name "Pointer Remap" -e /tmp/x$$
rm -f /tmp/x$$
Save the file as /home/your_username/.kde/Autostart/some_filename.sh
Then do: chmod 700 /home/your_username/.kde/Autostart/some_filename.sh
Restart the xserver with Ctrl-Alt-Backspace to test it.
If you use something else than KDE you can add it to the end of ~/.xsession but put a echo '#!/bin/sh before the xmodmap line.
Similar Threads
-
By SunnyB in forum Hardware & Booting
Replies: 0
Last Post: 03-31-2004, 02:42 PM
-
By atlan in forum Hardware & Booting
Replies: 2
Last Post: 12-24-2003, 10:18 AM
-
By socalgail in forum Hdd Install / Debian / Apt
Replies: 7
Last Post: 08-25-2003, 01:34 AM
-
By hugowett in forum Hardware & Booting
Replies: 2
Last Post: 05-21-2003, 10:13 PM
-
By god in forum Hardware & Booting
Replies: 3
Last Post: 03-31-2003, 04:30 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch
$39.99

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W
$39.99

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless
$22.00

~NIB~ Netgear GS728TPP-300NAS V3 24 PORT GIGABIT POE MNGD W. 4 SFP PORTS
$349.95

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch
$19.99

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597
$36.98

TP-Link Omada SG3428 24-Port Gigabit L2+ Managed Switch 4x SFP w/ Ears
$104.99

Monoprice 5-Port 10/100/1000Mbps Gigabit Ethernet Unmanaged Switch Network Hub
$8.99

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed
$199.99

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch
$129.99