Questions tagged [events]
The events tag has no summary.
61 questions
1 vote
1 answer
61 views
Is there a way to snoop on what is changing the audio volume?
Something is adjusting the volume. This is a recurring problem for me on Linux. I've had Zoom do it. I've had Discord do it. A lot of programs try to auto adjust my volume. I'd like to know if there ...
0 votes
0 answers
200 views
When HDMI is plugged into computer, run script
Setup Headless single board computer (this one) which has an HDMI input (To clarify, this is a port which takes in HDMI like a monitor would. It will receive HDMI feed, not export it, like a computer ...
2 votes
1 answer
2k views
What could cause a missing mouse scroll event just after reversing scroll direction?
I'm using Ubuntu 22.04.2 on an x86_64 system, with Xorg and libinput. I have a Logitech MX Master mouse (the first model), and I've noticed some unusual behaviour with scrolling. The mouse has a free-...
2 votes
0 answers
729 views
/dev/input/event doesn't report keys being pressed
I have an usb keyboard connected to a linux box. I need to capture all keys that have been pressed and released. My keyboard n-key rollover meaning that it doesn't have limits on number of ...
2 votes
0 answers
2k views
How to access gpio-keys from a shell script
In my embedded linux system, I defined some GPIOs as keys in the device tree so I can use them as keys in my application. This works fine so far. Now I want to add an early startup script to respond ...
2 votes
1 answer
1k views
get event when user has selected a text in any window in X11
I want to write an app that shows a popup-menu after a user has selected a text in any window in Linux (debian based). Mac users may know "PopClip" (https://pilotmoon.com/popclip/) and as I ...
0 votes
0 answers
333 views
Side mouse buttons doesn't work
I switched to Pop! OS, but side mouse buttons doesn't work. On windows they were button 4 & 5, but here I used xev and it turns out button 4 & 5 were assigned to the scroll wheel. When I ...
0 votes
1 answer
439 views
Linux on-exit (Ctrl-C) action
This is an interesting scenario and I'm relatively new in writing shell scripts. I have a case where I want the user to enter a password at a prompt. That works fine. The PROBLEM is if the user ...