Debian This forum is for the discussion of Debian Linux.
|
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
05-07-2005, 12:17 PM
|
#1
|
Member
Registered: Oct 2004
Location: Chicago, IL, USA
Distribution: Debian
Posts: 71
Rep:
|
Installed Debain Sarge, Xserver resolution
I just installed Debain Sarge. I also installed XFree86, but the screen resolution is too small. How can I change the resolution? I have done some googling, but this command doesn't work:
- dpkg-reconfigure xserver-xfree86
. . Command not found.
- xf86config
. . Configured everything right, nothing's changed after reboot...
HP Pavilion 6545C
128 Mb PC 100 SDRAM
500 MH Intel Celeron
intel 810 chipset
i810 graphics controler
11MB Video mem (I rounded it off and put 11000Kb during the config)
Dell M991 Color Monitor
- hsync range: 30-96 kHz
- vsync range: 50-160 kHz
- max. resolution: 1280x1024 (I use)
Tell me if you need any more info.
I had Debian on my system before, but it was cluttered and not organized(Knoppix Hd Install). Everything was already set up for me, except for the sound, so I never experienced anything like this before. I'm using gdm with GNOME. Also, my middle mouse button doens't work(scroll wheel). I have a Microsoft IntelliMouse Optical. It has 7 buttons, and I would like all 7 to work.
This is how I set everything up (in order) after I got the Debian base-install compleated:
apt-get update
apt-get upgrade
apt-get install aptitude <= almost all the apt-get lines after this I did with aptitude.
apt-get install xserver-common <= I think that's the name
apt-get install xserver-xfree86 <= "
apt-get install IceWM
apt-get install gnome-desktop-environment
apt-get install gnome
apt-get install gdm
>I set gdm as the default, not xdm
apt-get install mozilla-firefox
Is there anything I'm missing? Thanks in advance.
|
|
|
05-07-2005, 12:36 PM
|
#2
|
Member
Registered: Oct 2004
Location: Chicago, IL, USA
Distribution: Debian
Posts: 71
Original Poster
Rep:
|
Now I feel stupid. Right after posting this I tried
Code:
dpkg-reconfigure xserver-xfree86
and it worked! I got the resolution problem fixed, but the middle mouse button still doesn't work.
|
|
|
05-07-2005, 12:41 PM
|
#3
|
Member
Registered: May 2004
Location: Iceland
Distribution: Ubuntu Dapper Drake
Posts: 172
Rep:
|
Can you show me your XFree86 config file? It's at /etc/X11/XF86Config-4
There is a section in it that defines what resolution you can use, in my file it looks like this:
Code:
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV18 [GeForce4 MX - nForce GPU]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x960" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x960" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x960" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x960" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x960" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x960" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
If I add "1600x1200" I can use that resolution for example. Also be sure you are using the correct driver for your graphic card, for a i810 graphics controller I believe the driver is "i810", that's also defined in that file, should look something like this:
Code:
Section "Device"
Identifier "NVIDIA Corporation NV18 [GeForce4 MX - nForce GPU]"
Driver "nv"
EndSection
As you can see I'm using the "nv" driver. You should use "i810", or at least I think so, I'm not completely sure.
|
|
|
05-07-2005, 12:48 PM
|
#4
|
Member
Registered: Oct 2004
Location: Chicago, IL, USA
Distribution: Debian
Posts: 71
Original Poster
Rep:
|
I got the resolution part fixed, but I still need help with my mouse. During configuration I said no to 'emulate 3rd button', so maybe that's the problem. I would also like all 7 of the buttons to work, but I'm real new at this, so could someone guide my through it?
|
|
|
05-07-2005, 02:10 PM
|
#5
|
Member
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848
Rep:
|
Yes. You must have the following in your Xfree86 config file :
Mouse section : add this : Option "ZAxisMapping" "4 5"
Check that you also have : Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "true"
That should work.
Cheers
|
|
|
05-07-2005, 02:16 PM
|
#6
|
Member
Registered: Oct 2004
Location: Chicago, IL, USA
Distribution: Debian
Posts: 71
Original Poster
Rep:
|
I posted this problem at another forum, and the person there said that the mouse section should look like this:
Code:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2" #<--This is the first line to change
Option "Emulate3Buttons" "false" #<-- "This can be true, I set the button to nothing, because my wheel sucks because it's old"
Option "ZAxisMapping" "6 7" #<-- This must be added
Option "Buttons" "7" #<-- This too
EndSection
He said that this would allow all of the mouse buttons to work. I'm not sure if this is true.
|
|
|
05-07-2005, 02:34 PM
|
#7
|
Member
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848
Rep:
|
The ZAxisMapping part is to make your wheel mouse working. The rest might work, as well.
It's true that in Debian I have only a generic mouse. I don't know for the 7 buttons but in my
own XFreeconf file, there is the ZAxisMapping part enabled and scrolling works.
Try what was suggested, the only thing that can break is your patience..
Cheers
|
|
|
05-07-2005, 02:40 PM
|
#8
|
Member
Registered: Oct 2004
Location: Chicago, IL, USA
Distribution: Debian
Posts: 71
Original Poster
Rep:
|
I did try it, but it didnt work. I was just asking if his and your suggestion was nearly the same (if that makes sense). Here was the entire suggestion:
Quote:
Next for the mouse, I have an Intellimouse explorer 3.0 USB and have all buttons working. To do this you need to do 5 things. First edit your XF86Config file in the /etc/X11 dir and modify the mouse area. Modify them to read:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2" <--This is the first line to change
Option "Emulate3Buttons" "false" <-- "This can be true, I set the button to nothing, because my wheel sucks because it's old"
Option "ZAxisMapping" "6 7" <-- This must be added
Option "Buttons" "7" <-- This too
EndSection
and in your home directory add the following line to your .xinitrc:
xmodmap -e "pointer = 1 2 3 6 7 4 5"
Now all the buttons are mapped so X can see them. Next is to get the program imwheel through apt, aptitude, ...(I recommend just using synaptic, its GUI is easier for people to navigate).
Next you'll have to make in your home directory you need to make a file called .imwheelrc, here's what mine looks like:
".*"
None, Right, Alt_L|F4 <-- Maps the forward button to close stuff
None, Left, Alt_L|Left <-- Maps the backwards button to go back
You can do a lot with this program and can map buttons or individual programs this has a couple examples: http://lug.mtu.edu/lists/lug-l-0311/msg00011.html
Last in Gnome goto desktop preference, advanced, session and under startup programs add the command:
imwheel -b "456789"
Now your mouse will work and you can change what the buttons do by making keyboard bindings and modifying your .imwheelrc to map the key to the new shortcut.
|
|
|
|
05-07-2005, 11:40 PM
|
#9
|
Member
Registered: Oct 2004
Location: Chicago, IL, USA
Distribution: Debian
Posts: 71
Original Poster
Rep:
|
Installing the kernel did the it! there is one problem that might be easy to fix:
the 2 side buttons(back/forward buttons) work, but only act as a new left and right mouse button.
Last edited by rossjman1; 05-08-2005 at 12:00 AM.
|
|
|
05-09-2005, 11:11 AM
|
#10
|
Member
Registered: Oct 2004
Location: Chicago, IL, USA
Distribution: Debian
Posts: 71
Original Poster
Rep:
|
Does anyone have any suggestions as to what I should do to get all the buttons on my mouse to work?
|
|
|
06-18-2005, 12:53 AM
|
#11
|
LQ Newbie
Registered: May 2005
Location: cleveland
Distribution: debian/sid
Posts: 6
Rep:
|
My scroll didn't work but after following Samael26 example,I changed my mouse type to IMPS/2.Quick Crt-Alt-Backspace and it now works,funny though how the IMPS/2 was the default during installation,for some reason I didn't like it,so I changed it.Duh!!!
|
|
|
All times are GMT -5. The time now is 08:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|