Find the answer to your Linux question:
Results 1 to 8 of 8
I am pretty new to Linux, and brand new to Slackware. I setup Slackware earlier today, and I first had a problem with the Fluxbox install, so I ran XFCE ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2006
    Location
    Ont. Canada
    Posts
    52

    Mouse setup


    I am pretty new to Linux, and brand new to Slackware. I setup Slackware earlier today, and I first had a problem with the Fluxbox install, so I ran XFCE instead. Now that I have the GUI setup, I have no mouse. How would I go about getting the mouse to work?

    I am runing Slackware 10.2

  2. #2
    Linux Enthusiast
    Join Date
    Feb 2005
    Location
    Luton, England, UK, Earth
    Posts
    639
    Go to a console, and run the command:

    xorgconfig

    Then answer the questions correctly and it should work...


  3. #3
    Just Joined!
    Join Date
    Jun 2006
    Location
    Ont. Canada
    Posts
    52
    Quote Originally Posted by onlinebacon
    Go to a console, and run the command:

    xorgconfig

    Then answer the questions correctly and it should work...

    I would prefer not to go through all of that, in fear of screwing something else up. I would just like to know how to edit the xorg.conf file for a PS/2, 2 button mouse.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    Well, just make a backup of your existing /etc/X11/xorg.conf first. And then run xorgconfig. You can then use the mouse section in your old xorg.conf.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  6. #5
    Just Joined! LinuxBox420's Avatar
    Join Date
    Jan 2005
    Posts
    32
    What type of mouse is it? Is it a USB or PS2?

  7. #6
    Just Joined!
    Join Date
    Jun 2006
    Location
    Ont. Canada
    Posts
    52
    Quote Originally Posted by antidrugue
    Well, just make a backup of your existing /etc/X11/xorg.conf first. And then run xorgconfig. You can then use the mouse section in your old xorg.conf.
    You know, I enden up rolling fedora core back out on my system yesterday afternoon, because I have to do some end-of-semester projects. I figure I can save the xorg.conf file in my home folder (which is on a seperate partion), and when I reinstall Slackware, I can copy the mouse portion of that into the new file. it defenatly should work, assuming everything else in the install goes fine.

    Quote Originally Posted by LinuxBox420
    What type of mouse is it? Is it a USB or PS2?
    I said in my seccond post that it was a PS/2.

  8. #7
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,407
    try running
    modprobe psmouse
    Also post the relevent part of your xorg.conf
    Brilliant Mediocrity - Making Failure Look Good

  9. #8
    Just Joined!
    Join Date
    Jun 2006
    Posts
    12

    mouseconfig is the ncurses gui to setup a mouse for dev mouse!

    You should run mouseconfig as root if your mouse is not being detected....just make sure that you make /dev/mouse the place that x looks for the mouse... then when you then run xorgconfig it will find the mouse. Depending on the type of mouse you have mouseconfig will let you select how your mouse is connected DO NOT USE xorgconfig to configure the mouse first! Here is a sample of the mouse section of my /etc/X11/xorg.conf file.... as you can see the mouse is already booted before X as /dev/mouse which is a symbolic link to the actual mouse. By having the mouse running at boot you can cut and paste commands and text in a shell without having to use an x gui client like kde or whatever. Remember all the fun when you tried msdos programs with a mouse the first time?....well using a mouse in a bash shell without x is so much more effective and it works!

    Code:
    Section "InputDevice"
    
    # Identifier and driver
    
        Identifier	"Mouse1"
        Driver	"mouse"
    
    # On platforms where PnP mouse detection is supported the following
    # protocol setting can be used when using a newer PnP mouse:
    
    #      Option     "Protocol"      "Auto"
    
    # The available mouse protocols types that you can set below are:
    #    Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
    #    Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
    #    MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
    #    ThinkingMouse ThinkingMousePS/2 Xqueue
        Option "Protocol"    "IMPS/2"
        Option "Device"      "/dev/mouse"
        Option "ZAxisMapping" "4 5"
        Option "Buttons" "5"
    # The mouse device.  The device is normally set to /dev/mouse,
    # which is usually a symbolic link to the real device.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •