Make xinput settings permanent after bootWhere is the X.org config file? How do I configure X there?How to...

Do native speakers use "ultima" and "proxima" frequently in spoken English?

Would mining huge amounts of resources on the Moon change its orbit?

How to find the largest number(s) in a list of elements, possibly non-unique?

Does convergence of polynomials imply that of its coefficients?

If I cast the Enlarge/Reduce spell on an arrow, what weapon could it count as?

How do researchers send unsolicited emails asking for feedback on their works?

Do I need an EFI partition for each 18.04 ubuntu I have on my HD?

UK Tourist Visa- Enquiry

Why are there no stars visible in cislunar space?

How can an organ that provides biological immortality be unable to regenerate?

What is the tangent at a sharp point on a curve?

Determine voltage drop over 10G resistors with cheap multimeter

What (if any) is the reason to buy in small local stores?

What is it called when someone votes for an option that's not their first choice?

Did Nintendo change its mind about 68000 SNES?

Print last inputted byte

Norwegian Refugee travel document

Why is participating in the European Parliamentary elections used as a threat?

Writing in a Christian voice

Can a university suspend a student even when he has left university?

Air travel with refrigerated insulin

Can "few" be used as a subject? If so, what is the rule?

Jem'Hadar, something strange about their life expectancy

How are passwords stolen from companies if they only store hashes?



Make xinput settings permanent after boot


Where is the X.org config file? How do I configure X there?How to make xinput settings persist after devices are unplugged, replugged, and after shutdown, restart, etc?How do I make xinput mouse settings persistent for a USB mouse?How to make xinput settings persist after devices are unplugged, replugged, and after shutdown, restart, etc?How do I make modprobe changes permanent?Logitech Mouse Appearing IncorrectlyxInput Mouse Sensitivity Units.Touchpad moves/clicks on its ownPersistent xinput settings on 16.04 with CompizTrackpad not functioning properly on Geobook 1mUbuntu 18 touchpad not working properlyScreen tearing on Ubuntu MATE 18.04













0















I am running Ubuntu 18.04.2 LTS with the standard gdm3 display manager. I would need to adjust the mouse speed, which I can do with xinput, using the following two commands in my case:



xinput set-prop 9 287 0, 1
xinput set-prop 9 284 -0.9


The only problem is that I can't make these settings permanent after reboot. If I place them into ~/.bashrc, then they do work fine after opening a new terminal window, but I would like to achieve the same already when the desktop has started (preferable already being active at the long-in screen).



Following this thread I did try to add these commands into ~/.xsessionrc, but also to several other different locations, like: /etc/profiles, ~/.xinputrc, /etc/X11/xinit/xinitrc, or /etc/X11/xinit/xinputrc, but none of them had effect after xwindows was up.



Any suggestions directing me to the correct path would be highly appreciated!



xinput details: (unfortunately there are multiple ids with the same name "Razer Razer DeathAdder Elite", hence I have to use the id number = 9):




⎡ Virtual core pointer                       id=2    [master pointer  (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Razer Razer DeathAdder Elite id=9 [slave pointer (2)]
⎜ ↳ Razer Razer DeathAdder Elite id=10 [slave pointer (2)]
⎜ ↳ Razer Razer Ornata Chroma id=13 [slave pointer (2)]
⎜ ↳ Razer Razer Ornata Chroma id=14 [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)]
↳ HD Webcam C525 id=8 [slave keyboard (3)]
↳ Razer Razer DeathAdder Elite id=11 [slave keyboard (3)]
↳ Razer Razer Ornata Chroma id=12 [slave keyboard (3)]
↳ Razer Razer DeathAdder Elite id=15 [slave keyboard (3)]
↳ Razer Razer Ornata Chroma id=16 [slave keyboard (3)]



xinput list-props 9 output, highlighting the two relevant ones:





    ...
libinput Accel Speed (284): -0.900000
libinput Accel Speed Default (285): 0.000000
libinput Accel Profiles Available (286): 1, 1
libinput Accel Profile Enabled (287): 0, 1
libinput Accel Profile Enabled Default (288): 1, 0
...










share|improve this question




















  • 1





    You can set it using Options in a file in /usr/share/X11/xorg.conf.d.

    – Pilot6
    Feb 24 at 11:28











  • Thanks @Pilot6! I am trying to google around how to do that, but was unable to find good references. I am adding the xinput info into the original quesiton, could you please help translating device=9 and properties 287 & 284 into xorg.conf.d Option entries?

    – Zorgmorduk
    Feb 24 at 12:53
















0















I am running Ubuntu 18.04.2 LTS with the standard gdm3 display manager. I would need to adjust the mouse speed, which I can do with xinput, using the following two commands in my case:



xinput set-prop 9 287 0, 1
xinput set-prop 9 284 -0.9


The only problem is that I can't make these settings permanent after reboot. If I place them into ~/.bashrc, then they do work fine after opening a new terminal window, but I would like to achieve the same already when the desktop has started (preferable already being active at the long-in screen).



Following this thread I did try to add these commands into ~/.xsessionrc, but also to several other different locations, like: /etc/profiles, ~/.xinputrc, /etc/X11/xinit/xinitrc, or /etc/X11/xinit/xinputrc, but none of them had effect after xwindows was up.



Any suggestions directing me to the correct path would be highly appreciated!



xinput details: (unfortunately there are multiple ids with the same name "Razer Razer DeathAdder Elite", hence I have to use the id number = 9):




⎡ Virtual core pointer                       id=2    [master pointer  (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Razer Razer DeathAdder Elite id=9 [slave pointer (2)]
⎜ ↳ Razer Razer DeathAdder Elite id=10 [slave pointer (2)]
⎜ ↳ Razer Razer Ornata Chroma id=13 [slave pointer (2)]
⎜ ↳ Razer Razer Ornata Chroma id=14 [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)]
↳ HD Webcam C525 id=8 [slave keyboard (3)]
↳ Razer Razer DeathAdder Elite id=11 [slave keyboard (3)]
↳ Razer Razer Ornata Chroma id=12 [slave keyboard (3)]
↳ Razer Razer DeathAdder Elite id=15 [slave keyboard (3)]
↳ Razer Razer Ornata Chroma id=16 [slave keyboard (3)]



xinput list-props 9 output, highlighting the two relevant ones:





    ...
libinput Accel Speed (284): -0.900000
libinput Accel Speed Default (285): 0.000000
libinput Accel Profiles Available (286): 1, 1
libinput Accel Profile Enabled (287): 0, 1
libinput Accel Profile Enabled Default (288): 1, 0
...










share|improve this question




















  • 1





    You can set it using Options in a file in /usr/share/X11/xorg.conf.d.

    – Pilot6
    Feb 24 at 11:28











  • Thanks @Pilot6! I am trying to google around how to do that, but was unable to find good references. I am adding the xinput info into the original quesiton, could you please help translating device=9 and properties 287 & 284 into xorg.conf.d Option entries?

    – Zorgmorduk
    Feb 24 at 12:53














0












0








0








I am running Ubuntu 18.04.2 LTS with the standard gdm3 display manager. I would need to adjust the mouse speed, which I can do with xinput, using the following two commands in my case:



xinput set-prop 9 287 0, 1
xinput set-prop 9 284 -0.9


The only problem is that I can't make these settings permanent after reboot. If I place them into ~/.bashrc, then they do work fine after opening a new terminal window, but I would like to achieve the same already when the desktop has started (preferable already being active at the long-in screen).



Following this thread I did try to add these commands into ~/.xsessionrc, but also to several other different locations, like: /etc/profiles, ~/.xinputrc, /etc/X11/xinit/xinitrc, or /etc/X11/xinit/xinputrc, but none of them had effect after xwindows was up.



Any suggestions directing me to the correct path would be highly appreciated!



xinput details: (unfortunately there are multiple ids with the same name "Razer Razer DeathAdder Elite", hence I have to use the id number = 9):




⎡ Virtual core pointer                       id=2    [master pointer  (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Razer Razer DeathAdder Elite id=9 [slave pointer (2)]
⎜ ↳ Razer Razer DeathAdder Elite id=10 [slave pointer (2)]
⎜ ↳ Razer Razer Ornata Chroma id=13 [slave pointer (2)]
⎜ ↳ Razer Razer Ornata Chroma id=14 [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)]
↳ HD Webcam C525 id=8 [slave keyboard (3)]
↳ Razer Razer DeathAdder Elite id=11 [slave keyboard (3)]
↳ Razer Razer Ornata Chroma id=12 [slave keyboard (3)]
↳ Razer Razer DeathAdder Elite id=15 [slave keyboard (3)]
↳ Razer Razer Ornata Chroma id=16 [slave keyboard (3)]



xinput list-props 9 output, highlighting the two relevant ones:





    ...
libinput Accel Speed (284): -0.900000
libinput Accel Speed Default (285): 0.000000
libinput Accel Profiles Available (286): 1, 1
libinput Accel Profile Enabled (287): 0, 1
libinput Accel Profile Enabled Default (288): 1, 0
...










share|improve this question
















I am running Ubuntu 18.04.2 LTS with the standard gdm3 display manager. I would need to adjust the mouse speed, which I can do with xinput, using the following two commands in my case:



xinput set-prop 9 287 0, 1
xinput set-prop 9 284 -0.9


The only problem is that I can't make these settings permanent after reboot. If I place them into ~/.bashrc, then they do work fine after opening a new terminal window, but I would like to achieve the same already when the desktop has started (preferable already being active at the long-in screen).



Following this thread I did try to add these commands into ~/.xsessionrc, but also to several other different locations, like: /etc/profiles, ~/.xinputrc, /etc/X11/xinit/xinitrc, or /etc/X11/xinit/xinputrc, but none of them had effect after xwindows was up.



Any suggestions directing me to the correct path would be highly appreciated!



xinput details: (unfortunately there are multiple ids with the same name "Razer Razer DeathAdder Elite", hence I have to use the id number = 9):




⎡ Virtual core pointer                       id=2    [master pointer  (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Razer Razer DeathAdder Elite id=9 [slave pointer (2)]
⎜ ↳ Razer Razer DeathAdder Elite id=10 [slave pointer (2)]
⎜ ↳ Razer Razer Ornata Chroma id=13 [slave pointer (2)]
⎜ ↳ Razer Razer Ornata Chroma id=14 [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)]
↳ HD Webcam C525 id=8 [slave keyboard (3)]
↳ Razer Razer DeathAdder Elite id=11 [slave keyboard (3)]
↳ Razer Razer Ornata Chroma id=12 [slave keyboard (3)]
↳ Razer Razer DeathAdder Elite id=15 [slave keyboard (3)]
↳ Razer Razer Ornata Chroma id=16 [slave keyboard (3)]



xinput list-props 9 output, highlighting the two relevant ones:





    ...
libinput Accel Speed (284): -0.900000
libinput Accel Speed Default (285): 0.000000
libinput Accel Profiles Available (286): 1, 1
libinput Accel Profile Enabled (287): 0, 1
libinput Accel Profile Enabled Default (288): 1, 0
...







boot 18.04 mouse gnome-shell






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 24 at 13:11







Zorgmorduk

















asked Feb 24 at 11:19









ZorgmordukZorgmorduk

1054




1054








  • 1





    You can set it using Options in a file in /usr/share/X11/xorg.conf.d.

    – Pilot6
    Feb 24 at 11:28











  • Thanks @Pilot6! I am trying to google around how to do that, but was unable to find good references. I am adding the xinput info into the original quesiton, could you please help translating device=9 and properties 287 & 284 into xorg.conf.d Option entries?

    – Zorgmorduk
    Feb 24 at 12:53














  • 1





    You can set it using Options in a file in /usr/share/X11/xorg.conf.d.

    – Pilot6
    Feb 24 at 11:28











  • Thanks @Pilot6! I am trying to google around how to do that, but was unable to find good references. I am adding the xinput info into the original quesiton, could you please help translating device=9 and properties 287 & 284 into xorg.conf.d Option entries?

    – Zorgmorduk
    Feb 24 at 12:53








1




1





You can set it using Options in a file in /usr/share/X11/xorg.conf.d.

– Pilot6
Feb 24 at 11:28





You can set it using Options in a file in /usr/share/X11/xorg.conf.d.

– Pilot6
Feb 24 at 11:28













Thanks @Pilot6! I am trying to google around how to do that, but was unable to find good references. I am adding the xinput info into the original quesiton, could you please help translating device=9 and properties 287 & 284 into xorg.conf.d Option entries?

– Zorgmorduk
Feb 24 at 12:53





Thanks @Pilot6! I am trying to google around how to do that, but was unable to find good references. I am adding the xinput info into the original quesiton, could you please help translating device=9 and properties 287 & 284 into xorg.conf.d Option entries?

– Zorgmorduk
Feb 24 at 12:53










2 Answers
2






active

oldest

votes


















2














Option 1:



Edit /usr/share/X11/xorg.conf.d/40-libinput.conf



And add there 2 lines to the first section before EndSection:



Option "AccelProfile" "flat"
Option "AccelSpeed" "-0.9"


Like this



Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "AccelProfile" "flat"
Option "AccelSpeed" "-0.9"
EndSection


Option 2:



Use evdev instead of libinput.



Option 3:



Add the 2 commands into "Startup Applications"






share|improve this answer


























  • Thanks! In my case the file is: /usr/share/X11/xorg.conf.d/40-libinput.conf, and have added the two Option lines exactly as you indicated. Unfortunately it does not have effect, and the settings are on their default after restart. I am trying now to add the same to /etc/... and report back.

    – Zorgmorduk
    Feb 24 at 13:23











  • It should work in this file.

    – Pilot6
    Feb 24 at 13:24











  • Try to add to other sections. Is it a mouse or touchpad?

    – Pilot6
    Feb 24 at 13:25











  • It is a mouse. Unforunately it does not work. I've also tried to put into the end of /etc/X11/xorg.conf, but does not help neither. I have generated the xorg.conf file as suggested here: askubuntu.com/questions/4662/… .But will remove this now.

    – Zorgmorduk
    Feb 24 at 13:29













  • In Ubuntu it's /usr/share/X11

    – Pilot6
    Feb 24 at 13:39



















0














Answer:




  • Hit the "Windows" key

  • Type "Start" and click the "Startup Applications Preferences" icon.

  • In the "Startup Applications Preferences" window, click the "Add" button.

  • Enter a "Name" in the name field

  • Enter "xinput set-prop 9 287 0, 1" in the "Command" field

  • Give it a brief description in the "Description" field

  • Click "Add"

  • Repeat the above five (5) steps for the other command.

  • Alternatively, chain both commands into "xinput set-prop 9 287 0, 1 && xinput set-prop 9 284 -0.9" and enter that in the "Command" field.


I've found this approach both clean and effective for my touchpad, and it should work for the mouse as well. Best of luck.






share|improve this answer























    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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1120841%2fmake-xinput-settings-permanent-after-boot%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









    2














    Option 1:



    Edit /usr/share/X11/xorg.conf.d/40-libinput.conf



    And add there 2 lines to the first section before EndSection:



    Option "AccelProfile" "flat"
    Option "AccelSpeed" "-0.9"


    Like this



    Section "InputClass"
    Identifier "libinput pointer catchall"
    MatchIsPointer "on"
    MatchDevicePath "/dev/input/event*"
    Driver "libinput"
    Option "AccelProfile" "flat"
    Option "AccelSpeed" "-0.9"
    EndSection


    Option 2:



    Use evdev instead of libinput.



    Option 3:



    Add the 2 commands into "Startup Applications"






    share|improve this answer


























    • Thanks! In my case the file is: /usr/share/X11/xorg.conf.d/40-libinput.conf, and have added the two Option lines exactly as you indicated. Unfortunately it does not have effect, and the settings are on their default after restart. I am trying now to add the same to /etc/... and report back.

      – Zorgmorduk
      Feb 24 at 13:23











    • It should work in this file.

      – Pilot6
      Feb 24 at 13:24











    • Try to add to other sections. Is it a mouse or touchpad?

      – Pilot6
      Feb 24 at 13:25











    • It is a mouse. Unforunately it does not work. I've also tried to put into the end of /etc/X11/xorg.conf, but does not help neither. I have generated the xorg.conf file as suggested here: askubuntu.com/questions/4662/… .But will remove this now.

      – Zorgmorduk
      Feb 24 at 13:29













    • In Ubuntu it's /usr/share/X11

      – Pilot6
      Feb 24 at 13:39
















    2














    Option 1:



    Edit /usr/share/X11/xorg.conf.d/40-libinput.conf



    And add there 2 lines to the first section before EndSection:



    Option "AccelProfile" "flat"
    Option "AccelSpeed" "-0.9"


    Like this



    Section "InputClass"
    Identifier "libinput pointer catchall"
    MatchIsPointer "on"
    MatchDevicePath "/dev/input/event*"
    Driver "libinput"
    Option "AccelProfile" "flat"
    Option "AccelSpeed" "-0.9"
    EndSection


    Option 2:



    Use evdev instead of libinput.



    Option 3:



    Add the 2 commands into "Startup Applications"






    share|improve this answer


























    • Thanks! In my case the file is: /usr/share/X11/xorg.conf.d/40-libinput.conf, and have added the two Option lines exactly as you indicated. Unfortunately it does not have effect, and the settings are on their default after restart. I am trying now to add the same to /etc/... and report back.

      – Zorgmorduk
      Feb 24 at 13:23











    • It should work in this file.

      – Pilot6
      Feb 24 at 13:24











    • Try to add to other sections. Is it a mouse or touchpad?

      – Pilot6
      Feb 24 at 13:25











    • It is a mouse. Unforunately it does not work. I've also tried to put into the end of /etc/X11/xorg.conf, but does not help neither. I have generated the xorg.conf file as suggested here: askubuntu.com/questions/4662/… .But will remove this now.

      – Zorgmorduk
      Feb 24 at 13:29













    • In Ubuntu it's /usr/share/X11

      – Pilot6
      Feb 24 at 13:39














    2












    2








    2







    Option 1:



    Edit /usr/share/X11/xorg.conf.d/40-libinput.conf



    And add there 2 lines to the first section before EndSection:



    Option "AccelProfile" "flat"
    Option "AccelSpeed" "-0.9"


    Like this



    Section "InputClass"
    Identifier "libinput pointer catchall"
    MatchIsPointer "on"
    MatchDevicePath "/dev/input/event*"
    Driver "libinput"
    Option "AccelProfile" "flat"
    Option "AccelSpeed" "-0.9"
    EndSection


    Option 2:



    Use evdev instead of libinput.



    Option 3:



    Add the 2 commands into "Startup Applications"






    share|improve this answer















    Option 1:



    Edit /usr/share/X11/xorg.conf.d/40-libinput.conf



    And add there 2 lines to the first section before EndSection:



    Option "AccelProfile" "flat"
    Option "AccelSpeed" "-0.9"


    Like this



    Section "InputClass"
    Identifier "libinput pointer catchall"
    MatchIsPointer "on"
    MatchDevicePath "/dev/input/event*"
    Driver "libinput"
    Option "AccelProfile" "flat"
    Option "AccelSpeed" "-0.9"
    EndSection


    Option 2:



    Use evdev instead of libinput.



    Option 3:



    Add the 2 commands into "Startup Applications"







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Feb 24 at 13:57









    Zorgmorduk

    1054




    1054










    answered Feb 24 at 13:13









    Pilot6Pilot6

    53.5k15109198




    53.5k15109198













    • Thanks! In my case the file is: /usr/share/X11/xorg.conf.d/40-libinput.conf, and have added the two Option lines exactly as you indicated. Unfortunately it does not have effect, and the settings are on their default after restart. I am trying now to add the same to /etc/... and report back.

      – Zorgmorduk
      Feb 24 at 13:23











    • It should work in this file.

      – Pilot6
      Feb 24 at 13:24











    • Try to add to other sections. Is it a mouse or touchpad?

      – Pilot6
      Feb 24 at 13:25











    • It is a mouse. Unforunately it does not work. I've also tried to put into the end of /etc/X11/xorg.conf, but does not help neither. I have generated the xorg.conf file as suggested here: askubuntu.com/questions/4662/… .But will remove this now.

      – Zorgmorduk
      Feb 24 at 13:29













    • In Ubuntu it's /usr/share/X11

      – Pilot6
      Feb 24 at 13:39



















    • Thanks! In my case the file is: /usr/share/X11/xorg.conf.d/40-libinput.conf, and have added the two Option lines exactly as you indicated. Unfortunately it does not have effect, and the settings are on their default after restart. I am trying now to add the same to /etc/... and report back.

      – Zorgmorduk
      Feb 24 at 13:23











    • It should work in this file.

      – Pilot6
      Feb 24 at 13:24











    • Try to add to other sections. Is it a mouse or touchpad?

      – Pilot6
      Feb 24 at 13:25











    • It is a mouse. Unforunately it does not work. I've also tried to put into the end of /etc/X11/xorg.conf, but does not help neither. I have generated the xorg.conf file as suggested here: askubuntu.com/questions/4662/… .But will remove this now.

      – Zorgmorduk
      Feb 24 at 13:29













    • In Ubuntu it's /usr/share/X11

      – Pilot6
      Feb 24 at 13:39

















    Thanks! In my case the file is: /usr/share/X11/xorg.conf.d/40-libinput.conf, and have added the two Option lines exactly as you indicated. Unfortunately it does not have effect, and the settings are on their default after restart. I am trying now to add the same to /etc/... and report back.

    – Zorgmorduk
    Feb 24 at 13:23





    Thanks! In my case the file is: /usr/share/X11/xorg.conf.d/40-libinput.conf, and have added the two Option lines exactly as you indicated. Unfortunately it does not have effect, and the settings are on their default after restart. I am trying now to add the same to /etc/... and report back.

    – Zorgmorduk
    Feb 24 at 13:23













    It should work in this file.

    – Pilot6
    Feb 24 at 13:24





    It should work in this file.

    – Pilot6
    Feb 24 at 13:24













    Try to add to other sections. Is it a mouse or touchpad?

    – Pilot6
    Feb 24 at 13:25





    Try to add to other sections. Is it a mouse or touchpad?

    – Pilot6
    Feb 24 at 13:25













    It is a mouse. Unforunately it does not work. I've also tried to put into the end of /etc/X11/xorg.conf, but does not help neither. I have generated the xorg.conf file as suggested here: askubuntu.com/questions/4662/… .But will remove this now.

    – Zorgmorduk
    Feb 24 at 13:29







    It is a mouse. Unforunately it does not work. I've also tried to put into the end of /etc/X11/xorg.conf, but does not help neither. I have generated the xorg.conf file as suggested here: askubuntu.com/questions/4662/… .But will remove this now.

    – Zorgmorduk
    Feb 24 at 13:29















    In Ubuntu it's /usr/share/X11

    – Pilot6
    Feb 24 at 13:39





    In Ubuntu it's /usr/share/X11

    – Pilot6
    Feb 24 at 13:39













    0














    Answer:




    • Hit the "Windows" key

    • Type "Start" and click the "Startup Applications Preferences" icon.

    • In the "Startup Applications Preferences" window, click the "Add" button.

    • Enter a "Name" in the name field

    • Enter "xinput set-prop 9 287 0, 1" in the "Command" field

    • Give it a brief description in the "Description" field

    • Click "Add"

    • Repeat the above five (5) steps for the other command.

    • Alternatively, chain both commands into "xinput set-prop 9 287 0, 1 && xinput set-prop 9 284 -0.9" and enter that in the "Command" field.


    I've found this approach both clean and effective for my touchpad, and it should work for the mouse as well. Best of luck.






    share|improve this answer




























      0














      Answer:




      • Hit the "Windows" key

      • Type "Start" and click the "Startup Applications Preferences" icon.

      • In the "Startup Applications Preferences" window, click the "Add" button.

      • Enter a "Name" in the name field

      • Enter "xinput set-prop 9 287 0, 1" in the "Command" field

      • Give it a brief description in the "Description" field

      • Click "Add"

      • Repeat the above five (5) steps for the other command.

      • Alternatively, chain both commands into "xinput set-prop 9 287 0, 1 && xinput set-prop 9 284 -0.9" and enter that in the "Command" field.


      I've found this approach both clean and effective for my touchpad, and it should work for the mouse as well. Best of luck.






      share|improve this answer


























        0












        0








        0







        Answer:




        • Hit the "Windows" key

        • Type "Start" and click the "Startup Applications Preferences" icon.

        • In the "Startup Applications Preferences" window, click the "Add" button.

        • Enter a "Name" in the name field

        • Enter "xinput set-prop 9 287 0, 1" in the "Command" field

        • Give it a brief description in the "Description" field

        • Click "Add"

        • Repeat the above five (5) steps for the other command.

        • Alternatively, chain both commands into "xinput set-prop 9 287 0, 1 && xinput set-prop 9 284 -0.9" and enter that in the "Command" field.


        I've found this approach both clean and effective for my touchpad, and it should work for the mouse as well. Best of luck.






        share|improve this answer













        Answer:




        • Hit the "Windows" key

        • Type "Start" and click the "Startup Applications Preferences" icon.

        • In the "Startup Applications Preferences" window, click the "Add" button.

        • Enter a "Name" in the name field

        • Enter "xinput set-prop 9 287 0, 1" in the "Command" field

        • Give it a brief description in the "Description" field

        • Click "Add"

        • Repeat the above five (5) steps for the other command.

        • Alternatively, chain both commands into "xinput set-prop 9 287 0, 1 && xinput set-prop 9 284 -0.9" and enter that in the "Command" field.


        I've found this approach both clean and effective for my touchpad, and it should work for the mouse as well. Best of luck.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 10 mins ago









        ghedger42ghedger42

        12




        12






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1120841%2fmake-xinput-settings-permanent-after-boot%23new-answer', 'question_page');
            }
            );

            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







            Popular posts from this blog

            Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

            Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

            Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...