LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   trying to get some settings to be saved (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-get-some-settings-to-be-saved-4175695792/)

heidenau 05-30-2021 06:54 AM

trying to get some settings to be saved
 
Hello there,

I was just trying to make my mouse settings stick ("xinput --set-prop 9 291 2"). I read that I am supposed to be able to add xinput commands into ~/.xinitrc but this seems to get ignored. Also using .xsession didn't work.

What I also noticed is that the setting of the drop down terminal isn't saved (specifically which screen it's supposed to use, by default it uses my secondary screen...).

And while where's at it, the mousewheel scroll speed I set in the system settings is ignored by Firefox.

Any help?

rtmistler 05-30-2021 09:13 AM

Welcome to LQ,

Have you tried putting that in your bash profile until you figure out how X settings are saved? (I've never figured out a lot about X either, sorry.)

hazel 05-30-2021 09:23 AM

Try putting it in .Xmodmap. .xinitrc calls that automatically. I use a left-handed mouse and I have
Code:

$ cat ~/.Xmodmap
pointer  = 3 2 1


floppy_stuttgart 05-30-2021 03:00 PM

What distro do you use? and GNOME?
few weeks ago, I had an issue with setup https://www.linuxquestions.org/quest...ow-4175694402/
by going into the distro setting GUI I made it.
Your mouse should be seen in the settings tool?

heidenau 06-13-2021 04:33 PM

Putting it into ~/.profile worked. Thank you all!

@floppy_stuttgart unfortunately the mouse settings only provide acceleration and that's common problem.
In MXlinux my mouse had this "constant deceleration" (I believe) xinput property which I could use. Funnily enough in Manjaro it didn't have that and I had to go with this matrix property ("1 0 0 0 1 0 0 0 1" or something). This is bad when you want to up the value because it's just interpolating and leading to lost precision but in my case I just reduced it.


All times are GMT -5. The time now is 04:53 AM.