You are not logged in.
I have recently purchased a Logitech Trackman Marble:
https://images-na.ssl-images-amazon.com … L._AC_.jpg
This trackball does not have a scroll wheel, but I read some guides on how to get a scroll wheel working with this mouse by holding down the small left button and then turning the wheel.
I found this wiki article in the Arch Wiki:
https://wiki.archlinux.org/index.php/Lo … rble_Mouse
Since I am running Gnome 3.36.1 on Wayland, I entered the following command, as recommended by the Wiki:
gsettings set org.gnome.desktop.peripherals.trackball scroll-wheel-emulation-button 8In order to get this to work, however, I need to unplug the trackball and plug it back in. And the setting goes away after I reboot my laptop.
How do I make it stick and work after a reboot or logout? My initial thought was to make a bash script and use systemd to launch it when I login, but that would still involve me needing to unplug the trackball and plug it back in.
moderator edit -- replaced oversized image with link.
Pasting pictures and code
Last edited by 2ManyDogs (2020-04-12 13:24:23)
Offline
Ok, I double checked and it appears the setting does indeed stick. When I go into dconf, it is set to 8.
But it will not apply, even after a reboot, unless I unplug the mouse and plug it back in.
Offline
Just make an Xorg.conf snippet rather than depending on gnome to handle this for you. This will work every time X starts, and it is more general if you ever want to use something other than gnome.
EDIT: oops, sorry, I missed that you are using wayland. I don't know any way to do the equivalent there.
Last edited by Trilby (2020-04-12 03:22:53)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
According to the wiki, x.org snippets won't work, since I am using Wayland. The only thing that works in Wayland is the gsettings.
Offline
Switching to Gnome on x.org with the example config for libinput seems to work perfectly. I'll stay on x.org now.
Offline