Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
0 answers
31 views
Easiest way to get multi-touch trackpad gestures in EndeavorOS
I have tried a few different programs to enable multi-finger gestures, but I can't seem to get anything to work. All I want is for a three-finger swipe left and right to navigate forward and backward, a three-finger swipe up and down to adjust the volume, and a four-finger swipe left and right to sw...
I have tried a few different programs to enable multi-finger gestures, but I can't seem to get anything to work. All I want is for a three-finger swipe left and right to navigate forward and backward, a three-finger swipe up and down to adjust the volume, and a four-finger swipe left and right to switch to the next or previous media track. Any help would be appreciated. I'm still quite new to Linux. I am using the latest EndeavourOS Mercury.
Riva Peeva (1 rep)
Mar 17, 2025, 10:58 PM • Last activity: Mar 17, 2025, 11:45 PM
21 votes
5 answers
11169 views
"Shake to locate cursor" feature
I was wondering if there is a feature in linux like OSX "shake to locate cursor", which temporarily makes the user's mouse or trackpad cursor much larger when shaken back and forth, making it easier to locate if the user loses track of it.
I was wondering if there is a feature in linux like OSX "shake to locate cursor", which temporarily makes the user's mouse or trackpad cursor much larger when shaken back and forth, making it easier to locate if the user loses track of it.
jmcthk (213 rep)
Jan 30, 2017, 12:38 PM • Last activity: Dec 5, 2024, 11:40 AM
0 votes
0 answers
44 views
Two finger right click on apple Magic Mouse (NOT trackpad)
I’ve seen a ton of answers regarding how to fix this on the trackpad, but does anyone know if this is possible to rewire with the apple Magic Mouse? Thank you!
I’ve seen a ton of answers regarding how to fix this on the trackpad, but does anyone know if this is possible to rewire with the apple Magic Mouse? Thank you!
rubixibuc (1787 rep)
Oct 17, 2024, 09:33 PM
1 votes
0 answers
526 views
How do I change the pixel perfect scrolling sensitivity in Firefox?
I am switching from Windows 11 to Arch with i3 on my Laptop. On Windows 11 Firefox had "pixel-perfect" scrolling (scrolling without steppyness) using the mousepad by default, which I find quite pleasant. I managed to activate it in Arch by adding `MOZ_USE_XINPUT2=1` to `/etc/environment` (first I tr...
I am switching from Windows 11 to Arch with i3 on my Laptop. On Windows 11 Firefox had "pixel-perfect" scrolling (scrolling without steppyness) using the mousepad by default, which I find quite pleasant. I managed to activate it in Arch by adding MOZ_USE_XINPUT2=1 to /etc/environment (first I tried putting Exec=env MOZ_USE_XINPUT2=1 firefox in the firefox Desktop entry but that did not work for some reason). However, it is much faster than in Windows and I do not know how to change that. The X scrolling sensitivity seems to be completely independent from the scrolling speed in Firefox now. In Windows, it seems to have a 1:1-mapping (the page moves the same distance that my fingers move) when I scroll very slowly, but there is some kind of acceleration if I move my fingers faster. How can I achieve something like this in Arch?
gearmic (11 rep)
Sep 3, 2023, 11:39 AM
3 votes
2 answers
616 views
Drop down terminal when mouse hits top border of Desktop
I would like a drop down terminal which drops down when I move the mouse to the top (or bottom, left, right), similar to how the panel can be configured to auto-hide and only drop down or pop up if the mouse hovers to the border where it is. Currently I only found a [method](http://ubuntuhandbook.or...
I would like a drop down terminal which drops down when I move the mouse to the top (or bottom, left, right), similar to how the panel can be configured to auto-hide and only drop down or pop up if the mouse hovers to the border where it is. Currently I only found a [method](http://ubuntuhandbook.org/index.php/2014/02/launch-xfce4-terminal-in-quake-style-drop-down-mode/) using shortcuts e.g. F12 to bind to e.g. xfce4-terminal --drop-down. I'm using XFCE 4.12, but I'm not particularly fixed to XFCE or xfce4-terminal, so if some other desktop or terminal supports this, it would also help.
mxmlnkn (620 rep)
May 2, 2016, 09:52 AM • Last activity: Feb 15, 2023, 05:54 PM
0 votes
1 answers
1304 views
Fedora 37/Wayland - Touchpad works but most gestures don't
I've used Linux daily for over a decade but have always run it in a VM or on a server due to the user experience typically not being quite on par with Windows/OSX (without significant fiddling). I have a spare laptop now so I'm giving Fedora 37 a test drive on a Dell Latitude 5530 and I've noticed t...
I've used Linux daily for over a decade but have always run it in a VM or on a server due to the user experience typically not being quite on par with Windows/OSX (without significant fiddling). I have a spare laptop now so I'm giving Fedora 37 a test drive on a Dell Latitude 5530 and I've noticed that while the touchpad does work, two finger touch for right click does not, four finger swipe doesn't, and a single tap will not left click. The only gesture that does seem to work is two finger scrolling. - GNOME Version: 43.0 - Windowing System: Wayland Anyone bumped into this before and been able to get it working?
Grant Curell (769 rep)
Nov 20, 2022, 02:43 AM • Last activity: Nov 21, 2022, 02:20 AM
1 votes
0 answers
45 views
Inverting the scrolling of only one mouse
Hi I have two mice connected to my machine. One is a standard mouse, the other is a touchpad which, as a device, is split into the touchpad itself and the mouse part. I would like to set the inverted scrolling in the touchpad but at the same time keeping the natural scrolling in the standard mouse....
Hi I have two mice connected to my machine. One is a standard mouse, the other is a touchpad which, as a device, is split into the touchpad itself and the mouse part. I would like to set the inverted scrolling in the touchpad but at the same time keeping the natural scrolling in the standard mouse. I can identify the two devices of interest using sudo libinput list-devices : Device: HP HP Pavilion Gaming Mouse 300 Kernel: /dev/input/event11 Group: 8 Seat: seat0, default Capabilities: pointer Tap-to-click: n/a Tap-and-drag: n/a Tap drag lock: n/a Left-handed: disabled Nat.scrolling: disabled Middle emulation: disabled Calibration: n/a Scroll methods: button Click methods: none Disable-w-typing: n/a Accel profiles: flat *adaptive Rotation: n/a and Device: MSFT0002:00 04F3:31AD Mouse Kernel: /dev/input/event22 Group: 12 Seat: seat0, default Capabilities: pointer Tap-to-click: n/a Tap-and-drag: n/a Tap drag lock: n/a Left-handed: disabled Nat.scrolling: disabled Middle emulation: n/a Calibration: n/a Scroll methods: *button Click methods: none Disable-w-typing: n/a Accel profiles: flat *adaptive Rotation: n/a As I told before, I would like to keep the Nat.scrolling disabled for the former while Nat.scrolling enabled for the latter. Unfortunately the xinput wayaround is not possible since there is the well known conflict with Xwayland. Any ideas?
Siderius (123 rep)
Oct 6, 2022, 05:57 PM
5 votes
3 answers
11141 views
How to set absolute mouse cursor position in Wayland without using mouse?
The question is pretty straight forward. What I would have used under X `[xdotool]` obviously does not work moving forward, and no obvious new solutions have arisen given the relative new adoption of wayland. Solutions which require programming are acceptable.
The question is pretty straight forward. What I would have used under X [xdotool] obviously does not work moving forward, and no obvious new solutions have arisen given the relative new adoption of wayland. Solutions which require programming are acceptable.
Anon (215 rep)
Feb 8, 2018, 01:49 AM • Last activity: Sep 28, 2022, 08:37 AM
1 votes
1 answers
873 views
Annoying multitouch behavior Elantech touchpad on Linux Mint 20.2 Cinnamon
Recently I installed Linux Mint 20.2 Cinnamon. Touchpad multi finger behavior is strange and annoying. When I tap with two fingers exactly at the same time, it performs right click and if one of my fingers touch a little later than the other one, it performs middle click. Three finger tap doesn't wo...
Recently I installed Linux Mint 20.2 Cinnamon. Touchpad multi finger behavior is strange and annoying. When I tap with two fingers exactly at the same time, it performs right click and if one of my fingers touch a little later than the other one, it performs middle click. Three finger tap doesn't work. Changing **Click Actions** in **Mouse and Touchpad** seems to have no effect. Currently I disabled **Tap to click** to prevent accidentally paste, closing tabs, opening links, etc. while performing *Two-finger scrolling* or tapping. Here is output for $ xinput --list-props X command:
$ xinput --list-props 13
Device 'ETPS/2 Elantech Touchpad':
	Device Enabled (166):	1
	Coordinate Transformation Matrix (168):	1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
	libinput Tapping Enabled (301):	1
	libinput Tapping Enabled Default (302):	0
	libinput Tapping Drag Enabled (303):	1
	libinput Tapping Drag Enabled Default (304):	1
	libinput Tapping Drag Lock Enabled (305):	0
	libinput Tapping Drag Lock Enabled Default (306):	0
	libinput Tapping Button Mapping Enabled (307):	1, 0
	libinput Tapping Button Mapping Default (308):	1, 0
	libinput Natural Scrolling Enabled (309):	1
	libinput Natural Scrolling Enabled Default (310):	0
	libinput Disable While Typing Enabled (311):	0
	libinput Disable While Typing Enabled Default (312):	1
	libinput Scroll Methods Available (313):	1, 1, 0
	libinput Scroll Method Enabled (314):	1, 0, 0
	libinput Scroll Method Enabled Default (315):	1, 0, 0
	libinput Accel Speed (316):	0.000000
	libinput Accel Speed Default (317):	0.000000
	libinput Left Handed Enabled (318):	0
	libinput Left Handed Enabled Default (319):	0
	libinput Send Events Modes Available (286):	1, 1
	libinput Send Events Mode Enabled (287):	0, 1
	libinput Send Events Mode Enabled Default (288):	0, 0
	Device Node (289):	"/dev/input/event5"
	Device Product ID (290):	2, 14
	libinput Drag Lock Buttons (320):	
	libinput Horizontal Scroll Enabled (321):	1
I tried to edit *libinput Tapping Button Mapping Enabled (307)* by $ xinput --set-prop 13 307 X Y. Changing it to 0 1 didn't have any effect. Other values return error. In Windows touchpad behaves OK for two and three finger actions. I think Ubuntu and previous versions of Linux Mint were OK too. External mouse works well. How should I set three fingers for middle click and two fingers **just** for right click? (or at least disable middle click for two fingers)
AmirSina Mashayekh (111 rep)
Jul 22, 2021, 06:41 AM • Last activity: Aug 10, 2021, 07:02 AM
0 votes
0 answers
17 views
libinput -- disable horizontal scrolling
The Logitech Trackman does not have a scroll wheel so we enable it by installing libinput and this libinput.conf Section "InputClass" Identifier "Marble Mouse" MatchProduct "Logitech USB Trackball" Driver "libinput" Option "ScrollMethod" "button" Option "ScrollButton" "8" Option "MiddleEmulation" "t...
The Logitech Trackman does not have a scroll wheel so we enable it by installing libinput and this libinput.conf Section "InputClass" Identifier "Marble Mouse" MatchProduct "Logitech USB Trackball" Driver "libinput" Option "ScrollMethod" "button" Option "ScrollButton" "8" Option "MiddleEmulation" "true" EndSection This works well. Combining small-left button with a vertical ball roll scrolls the page vertically but if there is an active horizontal scroll bar the page jitters. A perfectly straight roll requires precise movement and I never need a horizontal scroll. The libinput documentation has this to say Horizontal scrolling Scroll movements provide vertical and horizontal directions, each scroll event contains both directions where applicable, see libinput_event_pointer_get_axis_value(). libinput does not provide separate toggles to enable or disable horizontal scrolling. Instead, horizontal scrolling is always enabled. This is intentional, libinput does not have enough context to know when horizontal scrolling is appropriate for a given widget. The task of filtering horizontal movements is up to the caller. Here's the rub: **libinput does not provide separate toggles to enable or disable horizontal scrolling.... The task of filtering horizontal movements is up to the caller.** Who is the 'caller' here and how could I configure the caller to drop horizontal movements.
Stephen Boston (2526 rep)
Jul 24, 2021, 03:38 PM
0 votes
0 answers
290 views
Single mouse click turns into drag and drop when connecting to remote devices
On Ubuntu 20.04, I have a strange problem which is that regular mouse clicks turn into press and hold, drag and drop icon events when connected to a remote mobile device. The strange thing is that this happens both when using dedicated software (scrcpy) as well as a browser-based client connection (...
On Ubuntu 20.04, I have a strange problem which is that regular mouse clicks turn into press and hold, drag and drop icon events when connected to a remote mobile device. The strange thing is that this happens both when using dedicated software (scrcpy) as well as a browser-based client connection (in firefox). This makes me think it's not the specific software or service that is to blame, but something in my ubuntu configutation. I guess the remote connections are too slow which causes the regular mouse click to be misinterpreted. But is there some way to temporarily disable click-and-hold behavior? Ie make every mouse click last for say 1ms only. Thanks a lot.
user3764454 (1 rep)
Dec 1, 2020, 06:29 AM
0 votes
0 answers
227 views
How to create a gesture that changes the system volume
Can you create a gesture that lets you do a three finger swipe, which increases and decreases the system volume?
Can you create a gesture that lets you do a three finger swipe, which increases and decreases the system volume?
Isaac Harris (21 rep)
May 9, 2020, 09:30 AM • Last activity: May 30, 2020, 10:23 PM
2 votes
1 answers
3876 views
How to make 3 finger tap on touchpad act as middle mouse button for Debian 10, Cinnamon
I'm using Cinnamon on Debian 10 through virtualbox, and the "Mouse and Touchpad" settings don't seem to let me configure a 3 finger touchpad tap as the middle mouse button. How else can I do this?
I'm using Cinnamon on Debian 10 through virtualbox, and the "Mouse and Touchpad" settings don't seem to let me configure a 3 finger touchpad tap as the middle mouse button. How else can I do this?
Otherness (153 rep)
Feb 17, 2020, 01:43 AM • Last activity: Feb 17, 2020, 02:48 PM
5 votes
1 answers
1012 views
How do I prevent scrolling to the next email when I mouse scroll in mutt. mutt in Centos 7
mutt in Centos 7 I write this to help others as the articles I found were a mess and did not explain properly. **So when I am in an email in Mutt and I naturally scroll out of instinct, mutt sends me back to the previous indexed screen to the list of emails and scrolls there, it drops me out of the...
mutt in Centos 7 I write this to help others as the articles I found were a mess and did not explain properly. **So when I am in an email in Mutt and I naturally scroll out of instinct, mutt sends me back to the previous indexed screen to the list of emails and scrolls there, it drops me out of the current email I am trying to scroll through, which is extremely frustrating.** To Navigate my email I can: - **Return key** to scroll down 1 line at a time. - **page down/up** for 1 page at a time. - **home** to go to top. - **end** to go to bottom. - probably heaps of other ways, which I am happy to expand on here, please comment and I will edit/add acordingly. But mouse scrolling is natural! How do I fix this?
TheArchitecta (293 rep)
Nov 7, 2019, 12:18 AM
4 votes
0 answers
1630 views
I upgrade from Debian 9 to 10 and middle-click stops working
Recently I upgrade Debian on my laptop from Stretch to Buster. I noticed some problems (some apps stopped working, there was no drag 'n drop, Nvidia 3D card was not functional, etc), so I searched the Internet and realized it was related to Wayland. Since then, I've run Gnome on Xorg. Everything loo...
Recently I upgrade Debian on my laptop from Stretch to Buster. I noticed some problems (some apps stopped working, there was no drag 'n drop, Nvidia 3D card was not functional, etc), so I searched the Internet and realized it was related to Wayland. Since then, I've run Gnome on Xorg. Everything looks fine now, except the middle-click. Clicking on mouse wheel doesn't work anymore. I searched the Internet again and all answers I found say about checking org/gnome/settings-daemon/peripherals/mouse/middle-button-enabled in dconf-editor or edit /etc/X11/xorg.conf directly. Unfortunately, in my dconf-editor there's no middle-button-enabled in org/gnome/settings-daemon/peripherals/mouse/ And also there's no xorg.conf at /etc/X11/ What else can I do to re-enable/reactivate middle-click? P.S.: Touchpad seems to be working fine (clicking on both buttons acts as a middle-click on most app, triple touch on touchpad as well). [edit¹]
I unplugged and plugged mouse usb again and then dmesg showed: vinicius@Menbung:~$ sudo dmesg [ 1011.128101] usb 1-2: USB disconnect, device number 8 [ 1020.383018] usb 1-2: new full-speed USB device number 9 using xhci_hcd [ 1020.537022] usb 1-2: New USB device found, idVendor=046d, idProduct=c52f, bcdDevice=30.00 [ 1020.537024] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1020.537025] usb 1-2: Product: USB Receiver [ 1020.537026] usb 1-2: Manufacturer: Logitech [ 1020.540971] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:046D:C52F.0007/input/input28 [ 1020.541080] hid-generic 0003:046D:C52F.0007: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:14.0-2/input0 [ 1020.542265] input: Logitech USB Receiver Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:046D:C52F.0008/input/input29 [ 1020.599128] hid-generic 0003:046D:C52F.0008: input,hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-2/input1 [edit²]
I thought I had solved the issue... At first, I searched Internet to find my xorg.conf, which I think wayland hid. I didn't find it, but I found something I thought was somewhat equivalent (based on xorg.conf manpage ): /usr/share/X11/xorg.conf.d/40-libinput.conf. Then I added to the end of this file (based on this thread and this FAQ ): Section "InputClass" Identifier "middle button emulation class" MatchIsPointer "on" Option "Emulate3Buttons" "on" EndSection At first apparently it didn't work. So I decided to install xinput package from debian repositories. Found my mouse on $ xinput list, then listed its properties $ xinput list-props 10 (10 is my device id) and this line caught my attention:
    libinput Middle Emulation Enabled (297):	0
I simply changed 0 to 1: $ xinput set-prop 10 "libinput Middle Emulation Enabled" 1 Again, at first apparently it didn't work. Then I try it with sudo. No effect. But I realized something happened, the middle-click sometimes worked sometimes not. Then I found this: "Make sure "Middle Mouse Button Emulation" is disabled or you'll get 50ms left-click latency ". I changed back libinput Middle Emulation Enabled (297) to 0. The latency was gone. But after a while, middle-click simply stops working, until I change libinput Middle Emulation Enabled (297) to 1 (and middle-click works with latency) and again to 0 (when latency stops)... after a while middle-click stops working again.
MarvinMep (41 rep)
Jul 16, 2019, 05:36 PM • Last activity: Jul 19, 2019, 04:04 AM
1 votes
1 answers
1554 views
How to execute a function on button click with mouse movement?
I want the system to listen for a button press and then a mouse Right/left/up/down movement. I know which button is pressed by `XEV`, but I don’t know how to listen for mouse movements and then execute something. Does anyone know how can I do it?
I want the system to listen for a button press and then a mouse Right/left/up/down movement. I know which button is pressed by XEV, but I don’t know how to listen for mouse movements and then execute something. Does anyone know how can I do it?
Bas Bakker (13 rep)
Dec 31, 2018, 12:52 PM • Last activity: Jan 27, 2019, 08:08 PM
1 votes
1 answers
249 views
How to make the touch pad normal/minimal in Linux Mint?
I have bought a ASUS Vivobook S510U and installed linux Mint. The mouse is behaving abnormally. For example, it simulates the middle/scroll key of the mouse when I click in the middle of the right and left click button. However, this simulation often closes a window. I have accidentally closed many...
I have bought a ASUS Vivobook S510U and installed linux Mint. The mouse is behaving abnormally. For example, it simulates the middle/scroll key of the mouse when I click in the middle of the right and left click button. However, this simulation often closes a window. I have accidentally closed many windows so far. Which is problematic. Sometimes, the mouse button randomly pastes different info that I have typed early or which is from another window. Sometimes, it cuts different texts as well for which I have to press ctrl+z again and again. I think the OS as well as the mouse pad is trying to emulate gesture based features. But I want a normal old school touchpad with right/left click, two finger scroll only. I have looked into 'Muse and Touchpad' section of the settings and seen that the click action is set to 'Automatic'. I have changed them to other settings, but they do not seem to ideal to me.
ponir (111 rep)
Sep 22, 2018, 08:03 PM • Last activity: Oct 10, 2018, 05:24 PM
0 votes
1 answers
147 views
LMB + CTRL disable
My question is about that after pressing LMB + CTRL I have weird Green Circle (Linux Mint) It's disturbing me in playing games a lot, because when I'm trying to do something with comibination of this any of my commands are not being done.[![showcase][1]][1] [1]: https://i.sstatic.net/dVSpB.png There...

My question is about that after pressing LMB + CTRL I have weird Green Circle (Linux Mint)
It's disturbing me in playing games a lot, because when I'm trying to do something with comibination of this any of my commands are not being done.showcase
There is an img what shows what I meant.
GGrela (3 rep)
Jan 8, 2018, 07:45 PM • Last activity: Aug 21, 2018, 02:59 AM
2 votes
1 answers
573 views
Slow mouse button release in Debian stretch
In the past few weeks (after an update) my touchpad have been acting weird. Whenever, I let go of the mouse button the system does not register it until several seconds later. This is particular annoying when scrolling. I couldn't find anything about this anywhere nor any other people having the sam...
In the past few weeks (after an update) my touchpad have been acting weird. Whenever, I let go of the mouse button the system does not register it until several seconds later. This is particular annoying when scrolling. I couldn't find anything about this anywhere nor any other people having the same problem... I know very little about the mouse drivers, so I don't know where to begin. Here is ls -la of /etc/X11/: enter image description here Here is xinput list-props DEVICEID: enter image description here Here are the files in /usr/share/X11/xorg.conf.d/: enter image description here Here is a pastebin-link:https://pastebin.ubuntu.com/p/M2y7jQcCz6/ to 40-libinput.conf Here is a pastebin link:https://pastebin.ubuntu.com/p/xfRjhKvnxV/ to 99-libinput-custom-config.conf
Thomas Kragh (151 rep)
Aug 16, 2018, 12:05 PM • Last activity: Aug 16, 2018, 01:25 PM
3 votes
1 answers
3249 views
Touchpad gesture on wayland gnome 3.18
I am Using gnome 3.18.2 on wayland. I know there is support for touchpad gesture in wayland but how do I configure it?
I am Using gnome 3.18.2 on wayland. I know there is support for touchpad gesture in wayland but how do I configure it?
Divyang Chauhan (39 rep)
Feb 23, 2016, 06:47 PM • Last activity: Sep 14, 2017, 12:02 AM
Showing page 1 of 20 total questions