Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello all. I'm pleased with the status thus far with the progress my Red Hat 8.0 box has made so far, but I want to make sure that I've got certain settings correct.
I've found many a text on this site about getting a two button wheel mouse working. While I've followed them, I still do not have a working wheel. If any of you could offer assistance, I would appreciate it.
I do have the nVidia drivers for my Riva TNT2 card properly loaded (the nVidia splash screen comes up when X loads), but I am not comfortably sure that it is loading all the capabilities of the card (3D acceleration, for instance). Could any of you take the time to examine my XF86Config file and make sure it is properly written to include 3D Acceleration? As I have said, the nvidia driver is loaded, so that's taken care of for you. I installed the drivers by the nvidia.run file provided by nVidia.
My XF86Config file is posted immediately after this post. Thank you for your time, Linux users and gurus.
Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "InputDevice"
# Option "AutoRepeat" "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
# Option "Protocol" "Xqueue"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
#Option "XkbOptions" ""
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us" #Option "XkbVariant" ""
EndSection
all i can tell you is that if your in Xwindows using the nvidia driver then you have 3dcapabilites...
arf!! i just scrolled up just to re-examine what you have and i noticed that you have Load "dri" in your module section...get rid of that and you'll be flying high
ok as for your 3d driver tnt2 card you need to remove the dri because that is talling your linux version to load the original driver if you get that meaning its as plain as i can explain it as to not get into to much detail as for your mouse here is how i get my 7 button microsoft intelli mouse to work and have full function including the side buttons work in games they come up as MOUSE4 and MOUSE5
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Buttons" "7"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "6 7"
Option "Emulate3Buttons" "no"
EndSection
And then you type Xmodmap -e "pointer = 1 2 3 6 7 4 5" in the terminal then thats it all sweet
But as i am a Microsoft guru and only have been using linux for a few days now i will have to ask does any one know where i can put the line Xmodmap -e "pointer = 1 2 3 6 7 4 5" into say a script so as it runs as soon as any user logs onto the system
Further searching on this topic has revealed some things to me that I do not quite know how to handle, and don't wish to muck with without having an understanding of what I am doing.
Upon reexamination of my XF86Config file, I noticed that I have two mouse sections. Is this normal? I have a feeling that I would enable my wheel by changing all protocols to IMPS/2, but I do not know for sure, as the devices assigned to the two mouse sections in my config file are different.
So, should I have two mouse sections in my config file? Or can I safely get rid of one? If so, which one, referencing the above post where I included my XF86Config file.
I decided to go ahead and edit my XF86Config file (after making a backup) and now the wheel on the mouse is working fine. So, there's only one thing to do left with my Linux box : Finally kill my brothers at Unreal Tournament. Man, I have missed that wheel, it really threw off my style of playing...
Anyways. This thread is now useless, since all questions and problems addressed herein have been answered and solved. Thank you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.