You are not logged in.
I use BunsenLabs Linux Hydrogen.
1) I want to change mouse settings in ~/.xinitrc as described here.
So I created the file .xinitrc in home directory and appended commands for mouse.
#!/bin/sh
# /etc/X11/xinit/xinitrc
#
# global xinitrc file, used by all X sessions started by xinit (startx)
# invoke global X session script
. /etc/X11/Xsession
/usr/bin/xinput --set-prop 9 'Device Accel Constant Deceleration' 1.3 &
/usr/bin/xset m 1/1 0
But it doesn't work.
Where is my mistake?
2) And the second question: how to change wheel scroll speed?
I tried to change "Evdev Scrolling Distance" property. But I didn't find suitable values like this guy stackexchange.com
thank you for your attention :-)
Offline
BunsenLabs doesn't use ~/.xinitrc
You should instead add the last two lines to ~/.config/openbox/autostart
There is no need to source /etc/X11/Xsession as LightDM already does this
how to change wheel scroll speed?
Edit the file at ~/.config/openbox/autostart and change this line:
synclient VertEdgeScroll=1 HorizEdgeScroll=1 TapButton1=1 2>/dev/null
https://github.com/BunsenLabs/bunsen-co … ostart#L42
You need to add a VertScrollDelta parameter, the stock value is 50, to make it scroll faster you need to decrease this value and vice versa.
So if you wanted to scroll twice as fast, change the line to:
synclient VertEdgeScroll=1 VertScrollDelta=25 HorizEdgeScroll=1 TapButton1=1 2>/dev/null
For more on these parameters, read
man synaptics synclient
EDIT: I think this only works for touchpads, see damo's reply below for the correct solution.
Last edited by Head_on_a_Stick (2017-03-07 08:39:36)
Offline
`xset`can be used to configure the mouse speed, buttons etc
man xset
Get current settings:
xset -q
Example:
xset m speed 1 accel 1
These settings can be added to your autostart, instead of trying to use .xinitrc
There is some configuration available in the Openbox GUI config ( Preferences -> Openbox -> GUI Config tool -> Mouse);
Also see `man synclient`
EDIT: ninjad by @HoaS, as usual
Last edited by damo (2017-03-07 08:19:29)
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
^ Actually, I think that your answer is correct — my reply works for a touchpad but I'm not sure about a mousewheel...
Offline
Head_on_a_Stick, damo thanks a lot for attention!
I have tried your advice Head_on_a_Stick. My commands for mouse now working.
But wheel scroll is still 3 lines at a time (very low)...
I didn't find nothing about that in `man xset` and `man synclient`
from `man xset`
mouse The m option controls the mouse parameters; it may be abbreviated
to 'm'. Of course, it applies to most pointing devices, not just
mice. The parameters for the pointing device are `acceleration'
and `threshold'. The acceleration can be specified as an integer,
or as a simple fraction. Threshold is just an integer. The set‐
ting is applied to all connected pointing devices. xinput(1)
should be used if you need device-specific settings.
The parameters for the pointing device are `acceleration' and `threshold'
I understand that is all that it can for mouse?..
`man synclient` very poor and I don't understand how to deal with it...
synclient -l
Couldn't find synaptics properties. No synaptics driver loaded?
if it's important: I work on a conventional mouse, no touchpad
Last edited by xb3 (2017-03-07 09:04:50)
Offline
3 lines at a time sounds like a browser setting. What browser do you use? Is it like that in all apps, or just Firefox?
I don't care what you do at home. Would you care to explain?
Offline
hhh
I use Chrome.
It is like in all apps.
"3 lines" is a rough assessment of what I see
in terminal it is 4
in Kate it is 3
in default file manager in detailed style it is about 2 lines
and so on... it's everywhere about the same
Offline
guys, how do you set up it for yourself?
or are you satisfied with the default value?
Offline
are you satisfied with the default value?
^ this
I tried to change "Evdev Scrolling Distance" property. But I didn't find suitable values like this guy stackexchange.com
Please post exactly what you tried and the exact error messages.
Offline