Registered Member
|
Hi,
I only have a laptop, that I use with my mouse at home and with the trackpoint when I'm out. With the mouse, no pointer accelleration feels best, if I set the mouse to 800 DPI. Which brings me to the first problem: Every time I reconnect the mouse (which happens at least once a day, because I don't take my mouse with me when I'm out), it gets reset to 400 DPI. I have to manually set it to 800 DPI (It's an MX500, there is an option in systemsetting to set DPI for it). Is there a way to make KDE or X remember this setting? About the second problem: When I'm using the trackpoint, I need 2.0x pointer accelleration, otherwise it does not go across the screen fast enough. In KDE, there is only one setting for all input devices. How can I make KDE use two different pointer accelleration settings for my two different input devices? Or at least switch between profiles on mouse connection? I'm not sure whether this is X11 specific, but since I can adjust the settings in systemsettings, I'm thinking it may have something to do with KDE as well. Cheers, Malte |
Administrator
|
In this case, KDE is simply changing the X settings. Unfortunately the X settings are global, and not per hardware device.
I don't see a DPI option in System Settings - is this a Logitech specific control module? If it is, then this module needs to provide a hardware listener to re-apply these settings on disconnection / reconnection of the mouse. As a workaround for the pointer acceleration issue, you could probably discover the X setting KDE is changing, and write a script to call the appropriate command to change the X setting. You could then use the Custom Shortcuts system to setup hotkeys to change the pointer acceleration setting.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
It seems it is specific. Because it shows a tab "Logitech MX 500" that allows me to change the settings, only when the mouse is connected.
It would be nicer to have this script called upon connection of a certain USB device - my mouse. I should be able to figure out the command.I'll see what I can find out. Thanks so far! Edit: the program "lomoco" comes with a udev rule that automatically sets the resolution of my mouse. Now I'm looking for a way to set the accelleration on both connect and disconnect. Edit2: I wrote a /etc/udev/40-mouse.rules, containing
but when I plug the mouse in and out nothing happens at all. The IDs are correct. I had the file named "90-mouse.rules" but that didn't do anything either. |
Administrator
|
This is probably because the rules are executed by udevd, which does not have access to your X session.
You could try writing a script with "export DISPLAY=:0" at the start - and invoke that script instead - but it still may not work depending on your setup.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]