DebianThis 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.
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.
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
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:
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?
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.
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..
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
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.
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!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.