[SOLVED] Logitech mouse scroll doesn't work on debian 8 in virtualbox
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.
Logitech mouse scroll doesn't work on debian 8 in virtualbox
Hi folks,
I am a new Debian user, a . I am also a new member of the forum.
I have experienced a problem with my wireless mouse (Logitech M185) on my Dedian 8, installed in a Virtual Machine (Virtual box).
When I try to scroll down in a page (browser or editors...), if I do this quickly, the bar goes up even if I want it down! It's a strange problem. If I move the mouse wheel slowly, it seems to work well.
Can you help me, please? Have you a solution for me?
Thanks in advance to all and sorry if I am in the wrong section (I hope no).
Last edited by michele_deb; 02-27-2017 at 01:38 PM.
Wonder if it is something like when the wheel drops down to a "click" that changes actions? I have a mouse that the wheel has two features. One is the wheel part and the other is the ability to drop down and click.
Sounds like you are off to a pretty good start if that is all that is wrong. Guess it could be an oddity of how the vm picked up the virtual mouse. Could be timing issue. Could be how the mouse is located on screen as to page down or side scroll deal.
Wonder if it is something like when the wheel drops down to a "click" that changes actions? I have a mouse that the wheel has two features. One is the wheel part and the other is the ability to drop down and click.
Sounds like you are off to a pretty good start if that is all that is wrong. Guess it could be an oddity of how the vm picked up the virtual mouse. Could be timing issue. Could be how the mouse is located on screen as to page down or side scroll deal.
Others may have a better solution.
Thanks!Well, I get the problem just scrolling up and down the wheel.If I click on the wheel and it drops down, the mouse works regularly, the "circle" appears to move up and down the page.I agree with you regarding the fact that the issue could be related to how the VM picked up the virtual mouse, but I don't have any idea how to fix it. I tried diefferents mouse also, but I got always the same problem.
Last edited by michele_deb; 02-27-2017 at 04:09 PM.
In the link you sent me, they suggest to eject guestaddition.iso and than insert it again...so, I am not sure to have guestaddition installed in my debian guest, in anay case, how can I install it on debian OS guest? (I am on Windows 10)and try to see if it solve the problem?
In the link you sent me, they suggest to eject guestaddition.iso and than insert it again...so, I am not sure to have guestaddition installed in my debian guest, in anay case, how can I install it on debian OS guest? (I am on Windows 10)and try to see if it solve the problem?
Before you even start, be sure you have the correct kernel-headers installed as well as "make" and "gcc".
In your debian guest, go to the "user interface" bar (or whatever it's called) and select "devices" and go down to "insert Guest Addisions CD image" that should put it on your desktop.
Open that up and find "VBoxLinuxAdditions.run". Now open a terminal in that folder (or 'cd" into it) and type "sudo sh VBoxLinuxAdditions.run", That will install it. Depending on if "sudo" doesn't work, first type "su" and hit enter and type your password, then type "sh VBoxLinuxAdditions.run"
I don't know why that one person ejected the GuestAdditions then re-inserted it. Once you have installed it you never have a need for it again.
Before you even start, be sure you have the correct kernel-headers installed as well as "make" and "gcc".
In your debian guest, go to the "user interface" bar (or whatever it's called) and select "devices" and go down to "insert Guest Addisions CD image" that should put it on your desktop.
Open that up and find "VBoxLinuxAdditions.run". Now open a terminal in that folder (or 'cd" into it) and type "sudo sh VBoxLinuxAdditions.run", That will install it. Depending on if "sudo" doesn't work, first type "su" and hit enter and type your password, then type "sh VBoxLinuxAdditions.run"
I don't know why that one person ejected the GuestAdditions then re-inserted it. Once you have installed it you never have a need for it again.
Before you even start, be sure you have the correct kernel-headers installed as well as "make" and "gcc".
In your debian guest, go to the "user interface" bar (or whatever it's called) and select "devices" and go down to "insert Guest Addisions CD image" that should put it on your desktop.
Open that up and find "VBoxLinuxAdditions.run". Now open a terminal in that folder (or 'cd" into it) and type "sudo sh VBoxLinuxAdditions.run", That will install it. Depending on if "sudo" doesn't work, first type "su" and hit enter and type your password, then type "sh VBoxLinuxAdditions.run"
I don't know why that one person ejected the GuestAdditions then re-inserted it. Once you have installed it you never have a need for it again.
DVOM, kernel headers and gcc are OK!
After that, I tried and I got two errors:
1) I got an error when I try to "insert" the guestaddition iso in "devices":could not mount the media/drive vboxguestadditions.iso (just a little bit different because I am on windows!) Nevertheless I am able to see the guestaddition in media folder on Debian guest OS.It is strange I know.
2) I moved to media and started a terminal where is the file VBoxLinuxAdditions.run. I have typed the command you wrote to me and I got the following: sh: 0: Can't open VBoxLinuxAdditions.run
What's happened? Should be a problem of permission? (but I open the terminal as root!)
Last edited by michele_deb; 02-28-2017 at 11:42 AM.
Dear friends, I solved the problem!!! I was able to run VBoxLInuxAdditions.run file and guest addittions were installed correctly. Now the mouse scrolling works perfectly and also the OS seems to be more "reactive". Basically the installation of guestaddittions is extremely important.
To run the file above, I have typed the following:
cd /media
mkdir vbox
sudo mount /dev/sr0 vbox/
cd vbox/
Great! Glad you fixed it and reported the solution.
Yes, when possible, guest additions (or similar names on other VM's) do generally do what you say. The speed gets faster, better integration.
I did have a Windows 10 client the other day on a linux host that just would not run with guest additions but that may be the first time in a long while it didn't work better.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.