How to disable mouse acceleration on Kubuntu 18.04
I just installed Kubuntu 18.04 and i tried to disable mouse acceleration. I had a script file that i was usually using with the following commands but it doesnt work anymore :
xinput set-prop 8 "Device Accel Profile" -1
xinput set-prop 8 "Device Accel Constant Deceleration" 4
The output of xinput is:
Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Razer Razer Abyssus id=8 [slave pointer (2)]
⎜ ↳ Gaming KB Gaming KB id=10 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Gaming KB Gaming KB id=9 [slave keyboard (3)]
↳ Gaming KB Gaming KB id=11 [slave keyboard (3)]
and xinput -list-props
Device 'Razer Razer Abyssus':
Device Enabled (139): 1
Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (274): 0
libinput Natural Scrolling Enabled Default (275): 0
libinput Scroll Methods Available (276): 0, 0, 1
libinput Scroll Method Enabled (277): 0, 0, 0
libinput Scroll Method Enabled Default (278): 0, 0, 0
libinput Button Scrolling Button (279): 2
libinput Button Scrolling Button Default (280): 2
libinput Middle Emulation Enabled (281): 0
libinput Middle Emulation Enabled Default (282): 0
libinput Accel Speed (283): 0.000000
libinput Accel Speed Default (284): 0.000000
libinput Accel Profiles Available (285): 1, 1
libinput Accel Profile Enabled (286): 1, 0
libinput Accel Profile Enabled Default (287): 1, 0
libinput Left Handed Enabled (288): 0
libinput Left Handed Enabled Default (289): 0
libinput Send Events Modes Available (259): 1, 0
libinput Send Events Mode Enabled (260): 0, 0
libinput Send Events Mode Enabled Default (261): 0, 0
Device Node (262): "/dev/input/event2"
Device Product ID (263): 5426, 66
libinput Drag Lock Buttons (290): <no items>
libinput Horizontal Scroll Enabled (291):
I tried changing Accel Profile Enabled but it doesnt work (unless i'm doing something wrong).
any ideas?
kubuntu mouse 18.04
add a comment |
I just installed Kubuntu 18.04 and i tried to disable mouse acceleration. I had a script file that i was usually using with the following commands but it doesnt work anymore :
xinput set-prop 8 "Device Accel Profile" -1
xinput set-prop 8 "Device Accel Constant Deceleration" 4
The output of xinput is:
Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Razer Razer Abyssus id=8 [slave pointer (2)]
⎜ ↳ Gaming KB Gaming KB id=10 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Gaming KB Gaming KB id=9 [slave keyboard (3)]
↳ Gaming KB Gaming KB id=11 [slave keyboard (3)]
and xinput -list-props
Device 'Razer Razer Abyssus':
Device Enabled (139): 1
Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (274): 0
libinput Natural Scrolling Enabled Default (275): 0
libinput Scroll Methods Available (276): 0, 0, 1
libinput Scroll Method Enabled (277): 0, 0, 0
libinput Scroll Method Enabled Default (278): 0, 0, 0
libinput Button Scrolling Button (279): 2
libinput Button Scrolling Button Default (280): 2
libinput Middle Emulation Enabled (281): 0
libinput Middle Emulation Enabled Default (282): 0
libinput Accel Speed (283): 0.000000
libinput Accel Speed Default (284): 0.000000
libinput Accel Profiles Available (285): 1, 1
libinput Accel Profile Enabled (286): 1, 0
libinput Accel Profile Enabled Default (287): 1, 0
libinput Left Handed Enabled (288): 0
libinput Left Handed Enabled Default (289): 0
libinput Send Events Modes Available (259): 1, 0
libinput Send Events Mode Enabled (260): 0, 0
libinput Send Events Mode Enabled Default (261): 0, 0
Device Node (262): "/dev/input/event2"
Device Product ID (263): 5426, 66
libinput Drag Lock Buttons (290): <no items>
libinput Horizontal Scroll Enabled (291):
I tried changing Accel Profile Enabled but it doesnt work (unless i'm doing something wrong).
any ideas?
kubuntu mouse 18.04
Can't you usekcmshell5 mouse
or the same accessed via the K menu and settings? That has an option to disable mouse acceleration. Mind you sometimes (when switching between fullscreen games and KDE) I'm getting an unsetting of my changes made in that settings screen.
– pbhj
Aug 10 '18 at 19:33
add a comment |
I just installed Kubuntu 18.04 and i tried to disable mouse acceleration. I had a script file that i was usually using with the following commands but it doesnt work anymore :
xinput set-prop 8 "Device Accel Profile" -1
xinput set-prop 8 "Device Accel Constant Deceleration" 4
The output of xinput is:
Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Razer Razer Abyssus id=8 [slave pointer (2)]
⎜ ↳ Gaming KB Gaming KB id=10 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Gaming KB Gaming KB id=9 [slave keyboard (3)]
↳ Gaming KB Gaming KB id=11 [slave keyboard (3)]
and xinput -list-props
Device 'Razer Razer Abyssus':
Device Enabled (139): 1
Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (274): 0
libinput Natural Scrolling Enabled Default (275): 0
libinput Scroll Methods Available (276): 0, 0, 1
libinput Scroll Method Enabled (277): 0, 0, 0
libinput Scroll Method Enabled Default (278): 0, 0, 0
libinput Button Scrolling Button (279): 2
libinput Button Scrolling Button Default (280): 2
libinput Middle Emulation Enabled (281): 0
libinput Middle Emulation Enabled Default (282): 0
libinput Accel Speed (283): 0.000000
libinput Accel Speed Default (284): 0.000000
libinput Accel Profiles Available (285): 1, 1
libinput Accel Profile Enabled (286): 1, 0
libinput Accel Profile Enabled Default (287): 1, 0
libinput Left Handed Enabled (288): 0
libinput Left Handed Enabled Default (289): 0
libinput Send Events Modes Available (259): 1, 0
libinput Send Events Mode Enabled (260): 0, 0
libinput Send Events Mode Enabled Default (261): 0, 0
Device Node (262): "/dev/input/event2"
Device Product ID (263): 5426, 66
libinput Drag Lock Buttons (290): <no items>
libinput Horizontal Scroll Enabled (291):
I tried changing Accel Profile Enabled but it doesnt work (unless i'm doing something wrong).
any ideas?
kubuntu mouse 18.04
I just installed Kubuntu 18.04 and i tried to disable mouse acceleration. I had a script file that i was usually using with the following commands but it doesnt work anymore :
xinput set-prop 8 "Device Accel Profile" -1
xinput set-prop 8 "Device Accel Constant Deceleration" 4
The output of xinput is:
Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Razer Razer Abyssus id=8 [slave pointer (2)]
⎜ ↳ Gaming KB Gaming KB id=10 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Gaming KB Gaming KB id=9 [slave keyboard (3)]
↳ Gaming KB Gaming KB id=11 [slave keyboard (3)]
and xinput -list-props
Device 'Razer Razer Abyssus':
Device Enabled (139): 1
Coordinate Transformation Matrix (141): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (274): 0
libinput Natural Scrolling Enabled Default (275): 0
libinput Scroll Methods Available (276): 0, 0, 1
libinput Scroll Method Enabled (277): 0, 0, 0
libinput Scroll Method Enabled Default (278): 0, 0, 0
libinput Button Scrolling Button (279): 2
libinput Button Scrolling Button Default (280): 2
libinput Middle Emulation Enabled (281): 0
libinput Middle Emulation Enabled Default (282): 0
libinput Accel Speed (283): 0.000000
libinput Accel Speed Default (284): 0.000000
libinput Accel Profiles Available (285): 1, 1
libinput Accel Profile Enabled (286): 1, 0
libinput Accel Profile Enabled Default (287): 1, 0
libinput Left Handed Enabled (288): 0
libinput Left Handed Enabled Default (289): 0
libinput Send Events Modes Available (259): 1, 0
libinput Send Events Mode Enabled (260): 0, 0
libinput Send Events Mode Enabled Default (261): 0, 0
Device Node (262): "/dev/input/event2"
Device Product ID (263): 5426, 66
libinput Drag Lock Buttons (290): <no items>
libinput Horizontal Scroll Enabled (291):
I tried changing Accel Profile Enabled but it doesnt work (unless i'm doing something wrong).
any ideas?
kubuntu mouse 18.04
kubuntu mouse 18.04
asked Apr 28 '18 at 12:14
DergonDergon
601312
601312
Can't you usekcmshell5 mouse
or the same accessed via the K menu and settings? That has an option to disable mouse acceleration. Mind you sometimes (when switching between fullscreen games and KDE) I'm getting an unsetting of my changes made in that settings screen.
– pbhj
Aug 10 '18 at 19:33
add a comment |
Can't you usekcmshell5 mouse
or the same accessed via the K menu and settings? That has an option to disable mouse acceleration. Mind you sometimes (when switching between fullscreen games and KDE) I'm getting an unsetting of my changes made in that settings screen.
– pbhj
Aug 10 '18 at 19:33
Can't you use
kcmshell5 mouse
or the same accessed via the K menu and settings? That has an option to disable mouse acceleration. Mind you sometimes (when switching between fullscreen games and KDE) I'm getting an unsetting of my changes made in that settings screen.– pbhj
Aug 10 '18 at 19:33
Can't you use
kcmshell5 mouse
or the same accessed via the K menu and settings? That has an option to disable mouse acceleration. Mind you sometimes (when switching between fullscreen games and KDE) I'm getting an unsetting of my changes made in that settings screen.– pbhj
Aug 10 '18 at 19:33
add a comment |
2 Answers
2
active
oldest
votes
This worked for me on Ubuntu.
You have to change Accel Speed.
xinput set-prop <mouse_id> <accel_speed_id> <number>
So in your case:
xinput set-prop 8 283 -0.5
note: i used -0.5 as an example, use what ever value you want.
This will last till the next reboot or logout.
If you want it permanent use a X11 conf file (/usr/share/X11/xorg.conf.d), there are some tutorials online, but i had no luck getting it to work.
An alternative is creating a startup script that would execute the command for you.
add a comment |
I haven't figured out how to disable mouse accel. yet, and I'm quite sure Jubast's way isn't the best one. If it was, 0.0
should give a 1:1 ratio, but it doesn't. xset m 0 0
is also useless (and ffs, why tf is it still so hard to do stuff like this on Linux? Jesus).
Regarding storing the settings, you can make the configuration permanent by writing it to the ~/.config/kcminputrc file. Here's mine
[Keyboard]
KeyboardRepeating=0
NumLock=0
RepeatDelay=200
RepeatRate=25
[Mouse]
XLbInptAccelProfileFlat=true
XLbInptNaturalScroll=false
XLbInptPointerAcceleration=-0.75
cursorTheme=breeze_cursors
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1029194%2fhow-to-disable-mouse-acceleration-on-kubuntu-18-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
This worked for me on Ubuntu.
You have to change Accel Speed.
xinput set-prop <mouse_id> <accel_speed_id> <number>
So in your case:
xinput set-prop 8 283 -0.5
note: i used -0.5 as an example, use what ever value you want.
This will last till the next reboot or logout.
If you want it permanent use a X11 conf file (/usr/share/X11/xorg.conf.d), there are some tutorials online, but i had no luck getting it to work.
An alternative is creating a startup script that would execute the command for you.
add a comment |
This worked for me on Ubuntu.
You have to change Accel Speed.
xinput set-prop <mouse_id> <accel_speed_id> <number>
So in your case:
xinput set-prop 8 283 -0.5
note: i used -0.5 as an example, use what ever value you want.
This will last till the next reboot or logout.
If you want it permanent use a X11 conf file (/usr/share/X11/xorg.conf.d), there are some tutorials online, but i had no luck getting it to work.
An alternative is creating a startup script that would execute the command for you.
add a comment |
This worked for me on Ubuntu.
You have to change Accel Speed.
xinput set-prop <mouse_id> <accel_speed_id> <number>
So in your case:
xinput set-prop 8 283 -0.5
note: i used -0.5 as an example, use what ever value you want.
This will last till the next reboot or logout.
If you want it permanent use a X11 conf file (/usr/share/X11/xorg.conf.d), there are some tutorials online, but i had no luck getting it to work.
An alternative is creating a startup script that would execute the command for you.
This worked for me on Ubuntu.
You have to change Accel Speed.
xinput set-prop <mouse_id> <accel_speed_id> <number>
So in your case:
xinput set-prop 8 283 -0.5
note: i used -0.5 as an example, use what ever value you want.
This will last till the next reboot or logout.
If you want it permanent use a X11 conf file (/usr/share/X11/xorg.conf.d), there are some tutorials online, but i had no luck getting it to work.
An alternative is creating a startup script that would execute the command for you.
answered Apr 28 '18 at 16:06
JubastJubast
16114
16114
add a comment |
add a comment |
I haven't figured out how to disable mouse accel. yet, and I'm quite sure Jubast's way isn't the best one. If it was, 0.0
should give a 1:1 ratio, but it doesn't. xset m 0 0
is also useless (and ffs, why tf is it still so hard to do stuff like this on Linux? Jesus).
Regarding storing the settings, you can make the configuration permanent by writing it to the ~/.config/kcminputrc file. Here's mine
[Keyboard]
KeyboardRepeating=0
NumLock=0
RepeatDelay=200
RepeatRate=25
[Mouse]
XLbInptAccelProfileFlat=true
XLbInptNaturalScroll=false
XLbInptPointerAcceleration=-0.75
cursorTheme=breeze_cursors
add a comment |
I haven't figured out how to disable mouse accel. yet, and I'm quite sure Jubast's way isn't the best one. If it was, 0.0
should give a 1:1 ratio, but it doesn't. xset m 0 0
is also useless (and ffs, why tf is it still so hard to do stuff like this on Linux? Jesus).
Regarding storing the settings, you can make the configuration permanent by writing it to the ~/.config/kcminputrc file. Here's mine
[Keyboard]
KeyboardRepeating=0
NumLock=0
RepeatDelay=200
RepeatRate=25
[Mouse]
XLbInptAccelProfileFlat=true
XLbInptNaturalScroll=false
XLbInptPointerAcceleration=-0.75
cursorTheme=breeze_cursors
add a comment |
I haven't figured out how to disable mouse accel. yet, and I'm quite sure Jubast's way isn't the best one. If it was, 0.0
should give a 1:1 ratio, but it doesn't. xset m 0 0
is also useless (and ffs, why tf is it still so hard to do stuff like this on Linux? Jesus).
Regarding storing the settings, you can make the configuration permanent by writing it to the ~/.config/kcminputrc file. Here's mine
[Keyboard]
KeyboardRepeating=0
NumLock=0
RepeatDelay=200
RepeatRate=25
[Mouse]
XLbInptAccelProfileFlat=true
XLbInptNaturalScroll=false
XLbInptPointerAcceleration=-0.75
cursorTheme=breeze_cursors
I haven't figured out how to disable mouse accel. yet, and I'm quite sure Jubast's way isn't the best one. If it was, 0.0
should give a 1:1 ratio, but it doesn't. xset m 0 0
is also useless (and ffs, why tf is it still so hard to do stuff like this on Linux? Jesus).
Regarding storing the settings, you can make the configuration permanent by writing it to the ~/.config/kcminputrc file. Here's mine
[Keyboard]
KeyboardRepeating=0
NumLock=0
RepeatDelay=200
RepeatRate=25
[Mouse]
XLbInptAccelProfileFlat=true
XLbInptNaturalScroll=false
XLbInptPointerAcceleration=-0.75
cursorTheme=breeze_cursors
answered Feb 5 at 0:51
KaeLLKaeLL
12
12
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1029194%2fhow-to-disable-mouse-acceleration-on-kubuntu-18-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Can't you use
kcmshell5 mouse
or the same accessed via the K menu and settings? That has an option to disable mouse acceleration. Mind you sometimes (when switching between fullscreen games and KDE) I'm getting an unsetting of my changes made in that settings screen.– pbhj
Aug 10 '18 at 19:33