netsim Posted December 15, 2008 Share Posted December 15, 2008 I recently installed Ubuntu 8.10 on my machine, I figured out most of the minor problems I encountered, but I'm still stuck on a rather important issue. I can't turn the Emulate3Buttons, in xorg.conf, off. It is set at "no" and no matter what I do it still emulate it. I tried to set it at "false", same problem. Thanks for your help. EDIT: Sorry it'S Emulate3Buttons, not Enable3Buttons Link to comment Share on other sites More sharing options...
Lechio Posted December 15, 2008 Share Posted December 15, 2008 Section "InputDevice" Identifier "PS/2 Mouse" Driver "mouse" Option "Protocol" "auto" Option "ZAxisMapping" "4 5" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "false" Option "Emulate3Timeout" "70" Option "SendCoreEvents" "true" EndSection You have something like this on the /etc/X11/xorg.conf file? The xserver also needs to be restarted after editing the file. Link to comment Share on other sites More sharing options...
netsim Posted December 15, 2008 Author Share Posted December 15, 2008 Yes and yes Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted December 15, 2008 Veteran Share Posted December 15, 2008 (edited) Also, you weren't clear in your first post. Did you edit the file, but the change didn't seem to remain? If so, that is likely a root permissions issue. Use a sudo gedit /etc/X11/xorg.conf command, because the 'sudo' in the front will prompt you for your credentials to allow editing of that protected file. Also, as Lechio stated, you need to restart X before the changes will be re-read. Use CTRL+ALT+[backspace], or just reboot the whole machine if you prefer (but a full reboot is not necessary at all). EDIT: You posted your confirmations as I was typing my post. Could you make a copy of your xorg.conf file with a .txt at the end, and upload it to Neowin here as an attachment? Link to comment Share on other sites More sharing options...
netsim Posted December 15, 2008 Author Share Posted December 15, 2008 Yes I did it with sudo, and I restarted the X server aswell. I'm currently at work, I'll be home in around 2 hours and I'll post it. Does gedit work when X is stopped? Link to comment Share on other sites More sharing options...
Lechio Posted December 15, 2008 Share Posted December 15, 2008 It should work if it is correctly edited. Try commenting that line by putting an "#" at the start of the line: # Option "Emulate3Buttons" "false" Should default to not emulating 3 buttons. Then logout and press CTRL+ALT+BACKSPACE to restart the xserver. Does gedit work when X is stopped? No. For that you have a console based editor like nano: sudo nano /etc/X11/xorg.conf Link to comment Share on other sites More sharing options...
netsim Posted December 15, 2008 Author Share Posted December 15, 2008 It was indeed set to "no" at default, but it was doing it anyway. Link to comment Share on other sites More sharing options...
Lechio Posted December 15, 2008 Share Posted December 15, 2008 OK. If it doesn't work after doing the above, you might want to try something else. The following process is explained here: https://wiki.ubuntu.com/X/Config/Input Create a new file named "mouse.fdi" in the "/etc/hal/fdi/policy/" directory:sudo touch /etc/hal/fdi/policy/mouse.fdi Then open it with gedit ( sudo gedit /etc/hal/fdi/policy/mouse.fdi ) and copy>paste the following into that file:<?xml version="1.0" encoding="ISO-8859-1"?> <deviceinfo version="0.2"> <device> <match key="info.capabilities" contains="input.mouse"> <merge key="input.x11_options.Emulate3Buttons" type="string">false</merge> </match> </device> </deviceinfo> Finally restart the xserver.Report back if that works/fails when you try it. Link to comment Share on other sites More sharing options...
netsim Posted December 15, 2008 Author Share Posted December 15, 2008 It did not work Also here is my xorg.conf # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue Nov 4 14:07:17 PST 2008 Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection Section "Files" EndSection Section "Module" Load "dbe" Load "extmod" Load "type1" Load "freetype" Load "glx" EndSection Section "InputDevice" # generated from default Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Unknown" HorizSync 30.0 - 110.0 VertRefresh 50.0 - 150.0 Option "DPMS" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 EndSubSection EndSection --- Another problem I just encountered, I realised my Numpad isn't working, any suggestion for this too? Thanks. Link to comment Share on other sites More sharing options...
Lechio Posted December 15, 2008 Share Posted December 15, 2008 Comment the line Option "Emulate3Buttons" "no": #Option "Emulate3Buttons" "False" Creating the "mouse.fdi" file option failed? As it is something dealing with hal I believe you have to reboot or at least unplug and replug the mouse. Link to comment Share on other sites More sharing options...
netsim Posted December 15, 2008 Author Share Posted December 15, 2008 I just unplugged and replugged my mouse and it worked, Thanks alot. Could my numpad problem have something to do with xorg.conf ? Link to comment Share on other sites More sharing options...
markwolfe Veteran Posted December 15, 2008 Veteran Share Posted December 15, 2008 It's not working at all? :unsure: Is this a standard desktop type of machine? For me, the num pad defaults to off. When I reboot, it is back to arrows and home/end stuff, until I press the [numlock] key once. Is this what you are talking about? Because the num pad should work just fine. Link to comment Share on other sites More sharing options...
Lechio Posted December 15, 2008 Share Posted December 15, 2008 What type of keyboard is that? Brand and model. Link to comment Share on other sites More sharing options...
netsim Posted December 16, 2008 Author Share Posted December 16, 2008 Some very old Compaq keyboard. Link to comment Share on other sites More sharing options...
Recommended Posts