Questions tagged [input]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
26 views

Stopping keyboard input from propagating to UI

I'm trying to set up a kiosk machine. This is a PC with a touchscreen and no physical mouse or keyboard attached during normal operation. Currently I'm working with Debian 12, but I plan to look ...
Shaggydog's user avatar
  • 111
0 votes
3 answers
93 views

How can my terminal accept input when it's processing a previous command?

I use Ubuntu Linux on both my personal laptop and my school's computers. On my personal laptop, I'm looking to replicate the behavior of the school's computers where the terminal accepts user input ...
imranbout's user avatar
0 votes
0 answers
119 views

Cursor becomes invisible when Weston.ini set to Kiosk mode

I am running a custom crank GUI application on a SBC with an Ubuntu OS. The application is set to auto start on boot and the Weston.ini is setup for kiosk mode. The graphical application start ...
James McCall's user avatar
0 votes
0 answers
18 views

something grabs the keyboard when I press the audio previous key on my keyboard [duplicate]

When I press the audo play and audio next keys on my keyboard the keypress goes through to my application, but when I press the audio previous key something is grabbing the keypress and preventing it ...
Peter F. Patel-Schneider's user avatar
1 vote
1 answer
22 views

Make a window handle * input?

Xorg/DE always handles some keyboard/mouse input events rather than the currently focused window, which is useful, but I want to make an exception for a particular app (because reasons). That is, is ...
01AutoMonkey's user avatar
0 votes
2 answers
88 views

How to catch newlines in user input

I want to do something with user input to use in grep. Like, instead of uin="first\nsecond\n" printf $uin | grep d which outputs second, I want to have the user input it, like read uin ...
user14094230's user avatar
0 votes
0 answers
16 views

Prevent session from stealing input events?

I'm debugging Hyprland and unfortunately it blocks all your input at some stage of initiatlization blocking all input events. Unfortunately this is also the moment I am trying to debug from another ...
Daniel Krajnik's user avatar
0 votes
0 answers
150 views

Read physical state of keyboard modifiers in Linux (preferably in C or C++)

Is there a way to programmatically read, detect or get notified about the actual physical state of a modifier key, without requiring root level access rights? I tried X11, XCB and XKB, but their event ...
psq3000's user avatar
0 votes
1 answer
39 views

Gamepad disconects after a while

I have bought some cheap generic usb gamepad (nubwo nj-25). When I connect, it works for a while, until resting. And then throw errors. Device info I am using Linux 6.1.52 (NixOS) Lenovo ThinkPad T14s ...
Danil's user avatar
  • 31
0 votes
1 answer
63 views

How do I enable keyboard + mouse shortcuts on x11?

I'm using Garuda Linux with Gnome and I recently switched to X11 because I like to share my screen and play games, and wayland comes short specifically on that. I know Gnome isn't supposed to be used ...
cake's user avatar
  • 1
0 votes
0 answers
26 views

How to make it so a certain sound (like a guitar string being strung) makes a button be pressed

I am wondering if it is possible to make it so if a guitar string or such is strung a button is pressed, I am on arch linux using xorg and i3 as window manager
BestInfinity's user avatar
0 votes
0 answers
29 views

ds4drv: Can you map multiple values to a single Linux input event?

I am using ds4drv (git) to remap controller buttons to keyboard keys. I want to map multiple controller buttons (referred to as values in .conf example: ds4drv.conf) to a single Linux input event, e.g....
Olaf's user avatar
  • 113
0 votes
0 answers
27 views

How can place a newline before EVERY individual character in a file? [duplicate]

Ok, I may just be having a dumbass moment. If so, I apologize. It sounds like a fairly simple task, but I can't get this working: I'd just like to be able to input a string, and place each individual ...
Lee's user avatar
  • 105
0 votes
1 answer
267 views

How to speed up sending event to /dev/input/eventX in Linux?

I am working on an embedded Linux system with kernel-5.10.24, and I want to send events to system by writing to /dev/input/eventX. With my testing of sendevent (sendevent.c), the event injecting is ...
wangt13's user avatar
  • 429
0 votes
1 answer
1k views

How to emulate touch event by writing to /dev/input/eventX in Linux?

I am working on an embedded Linux (kernel 5.10.24) with a touch screen. Now I want to trigger touch event by writing to /dev/input/eventX corresponding to the touch screen. To figure out the event I ...
wangt13's user avatar
  • 429
0 votes
2 answers
1k views

How/Where does udev give permission to X11 input drivers to open /dev/input/event* files without also giving access to the logged-in user?

This is the permission of my /dev/input/event* files: crw-rw---- 1 root input 13, 64 Mar 21 09:02 /dev/input/event0 crw-rw---- 1 root input 13, 65 Mar 21 09:02 /dev/input/event1 crw-rw---- 1 root ...
Arash Rohani's user avatar
1 vote
0 answers
52 views

Firefox Does not read keyboard on google drive sites

Sites like google docs, sheets, slides, drive do not read the keyboard input but the keyboard works on other sites. All google apps work in Chromium. Linux Mint 21.1
Bodhi Teraguchi's user avatar
0 votes
1 answer
70 views

How to pass content from .txt file as argument for bash command after an equal sign [duplicate]

Instead of typing in the content of a public key I want to pass the content of it as an input. The command used is ipa user-mod user --sshpubkey='ssh-rsa AAA ........' This work. When I do ipa user-...
BPHusted's user avatar
0 votes
1 answer
81 views

Why is it different to run bash with an argument vs with an input file redirection?

Why exactly is bash <script different than bash script? When i try this using a script that contains: cat hello world In the first case, i get what i expected: hello world But in the second case, ...
Sophia Koulen's user avatar
1 vote
2 answers
270 views

How to stop reading when input is "q" in bash?

I am using read for user input to perform some operation. The selector uses a two character test to print the appropriate information, without requiring the user to press ENTER after his input. ...
Vera's user avatar
  • 1,223
1 vote
0 answers
33 views

Cannot use unicode shortcut on non-english layouts

I’m using US and RU layouts, and while I can use Ctrl+Shift+u, when I have US layout selected, when I try to use it with RU layout selected, it just doesn’t work. Didn’t find anything related to it in ...
Sebekerga's user avatar
1 vote
0 answers
314 views

How does the /dev/input folder get updated

I understand that evdev is used to get raw data from input devices such as keyboards and provide it to user space via files inside /dev/input/ for example /dev/input/event0 . Let's take a non-...
Engineer999's user avatar
  • 1,151
0 votes
0 answers
344 views

grep: What is the limit for a pattern file size

I am using grep with the -f option and I run into an issue when the pattern file given with -f is very long. The one that is failing for me has almost 300 thousand lines and 40 MBytes. grep does not ...
Frigo's user avatar
  • 232
3 votes
1 answer
552 views

How to disable the microphone of a Logitech BRIO webcam under Linux?

I have a Logitech BRIO webcam, which has a microphone that I never use. To avoid confusion, I would like to disable it on the lowest possible level. Can I somehow tell Linux to never load the driver ...
Bengt's user avatar
  • 741
0 votes
4 answers
292 views

Bash: interactively enter and save large html block into a variable from the terminal

This is simple #!/bin/bash echo "What is your name?" read name echo "Your name is: $name" But what if I don't want to treat a name but a large HTML code block with nested tags and ...
pastic's user avatar
  • 111
0 votes
0 answers
63 views

Can I make my system ignore a particular gamepad input?

I'm using a Corsair keyboard/touchpad combo which also functions as a gamepad input (it has a small joystick). It's a bit annoying because it often takes priority, so I have to unplug the keyboard to ...
sak's user avatar
  • 193
1 vote
1 answer
45 views

Chaotic Command-line Interface Layout

When I type a long command on a command-line interface. Something strange may happen in the layout. The characters I typed don't show in lines correctly. Instead, they merge into 1 line or overwrite ...
user avatar
0 votes
0 answers
12 views

Touchpad Detecting Input Less Than 3mm From Surface Problem

Today I installed Linux Mint on an Inspiron N5050 laptop I received today, and am having a strange problem. I hope someone here can maybe suggest a solution. The touchpad is registering mouse/touch ...
sysrpl's user avatar
  • 101
1 vote
1 answer
383 views

mouse click after ssh connection broken

I have logged into a remote server by ssh in the terminal. The connection was terminated due to the server going down or a network problem. Then something annoying appears. Once I click the mouse on ...
wsdzbm's user avatar
  • 2,836
1 vote
2 answers
2k views

Finding the /dev/input/event* path of a device from its name

I need to find a gamepad in my list of /dev/input/event* devices, and the only thing I know about it is that when I do evtest it shows up with the name G13. The problem is every time I reboot it gets ...
Poldovico's user avatar
10 votes
3 answers
1k views

How can I replace oe with ö while typing it?

I generally use the US layout on my devices because I dislike German layout, but it's annoying having to press Compose to type ä, ö, ü, ß etc. On Windows I have an AutoHotKey script that replaces oe ...
lxhom's user avatar
  • 229
1 vote
0 answers
419 views

xserver not using hotplug keyboard and mouse

I'm using a Linux desktop. My own customized distro, using debian packages, but no systemd stuff. The problem is if I re-plug the USB keyboard or mouse, the X will not respond to them anymore. unless ...
neoedmund's user avatar
  • 147
3 votes
1 answer
834 views

Almost multiseating with Xephyr

With swaywm I'm almost multiseating (two people simultaneously using the same computer) with two keyboards, two mice and one GPU with two outputs. At the start of the sway session, one nested X ...
igorkattar's user avatar
1 vote
1 answer
251 views

How to use two mice at the same time (single pointer)

I'm on Xorg (using libinput). I'm trying two use two "mouse" devices, one for scrolling and the other for moving the cursor. But when the pointer is moving, some aplications (but not ...
User412's user avatar
  • 21
3 votes
1 answer
1k views

Bluetooth keyboard connects, but does not work

I have a Lenovo Duet 3 Bluetooth keyboard, which works fine when connected physically (it has 5 pins for that) to its laptop, and also works as expected when I connect it to my Android phone. However, ...
Heinrich supports Monica's user avatar
2 votes
2 answers
634 views

How to put command in terminal prompt without executing

I know you can simply put what you'd like to run: func() { cd scripts ./excellent/script } but, what I'd like to do instead is have ./excellent/script be put in my commandline without being ...
mcp's user avatar
  • 717
3 votes
4 answers
3k views

Left Windows/Meta key suddenly stopped working

Out of nowhere, the left Windows/Meta key on my Corsair K70 RGB MK.2 just stopped working on my Manjaro KDE Plasma system. The right one still works fine, opening the application launcher as it should....
TheSHEEEP's user avatar
  • 135
0 votes
1 answer
346 views

Touch screen ABS_X and ABS_Y wrong behavior

I have a 7" touch screen that I'm connecting to Linux. The touchscreen is recognized, but the behavior is wrong. I used the evtest utility to look at the events coming out of /dev/input/* and I ...
rtclark's user avatar
  • 123
0 votes
1 answer
102 views

Expand input, output or error

What I want to do is to ask the user to enter one line and send to standard ouput. I tried get the input to carry out a conditional question, but there's no way to expand a input (in this case is ...
Matheus dos Santos Bonifácio's user avatar
2 votes
0 answers
95 views

Inputing accented letters in Qt applications on Cygwin

I am a native Portuguese speaker, and I am having problems when typing accented characters in any Qt application running on Cygwin. Almost always, the result on the screen for any accented letter I ...
Paulo1205's user avatar
  • 193
1 vote
1 answer
6k views

X11 - How to invert axis on touchscreen matrix?

I have a tablet that I flashed Fedora Silverblue on, but the touchscreen has the Y-axis inverted when the device is on landscape, and X-Axis inverted portrait mode. I've disabled wayland to use xinput ...
MrWm's user avatar
  • 171
1 vote
1 answer
3k views

Use xorg.conf to fix touchscreen X axis reversed

I setup Fedora 35 with my Titan6001 touchscreen. Although Linux is responding to touches, the X axis is reversed (touch on the right mouse goes to left side, and vice versa). Y axis is fine. How do ...
TSG's user avatar
  • 1,698
1 vote
3 answers
1k views

Automatic SSH prompt input

I'm trying to copy a bunch of RSA keys to multiple servers for a specific user. Whenever I issue the ssh-copy-id command it asks me to confirm by typing "yes", then asks me for the password. ...
markfree's user avatar
  • 365
3 votes
0 answers
325 views

Change keyboard layout and input language in a terminal on Ubuntu Droplet in Digital Ocean (English, Russian, Japanese)

I spun up a Digital Ocean Ubuntu Droplet and I ssh to that machine from both my home and office. I need to type in English, Russian and Japanese from a Mac Japanese keyboard from home and a US 106 ...
D H's user avatar
  • 41
1 vote
2 answers
512 views

How do I type a vinculum?

I am attempting to draw a vinculum over a 3. What I tried: Ctrl + Shift + u to enter unicode, then entering 0305, then enter. I get this: ̅ The issue is I cannot center a digit centered under that ...
CameronNemo's user avatar
  • 1,131
2 votes
1 answer
1k views

no sound on iec958 S/PDIF input - sound card USB CM106

Issue : no sound on digital input S/PDIF / IEC958. Device / software : USB external sound card : CM106 - Ubuntu 20.04 LTS - GUI : Gnome-FlashBack Config audio : FreeBox Player (french internet TV ...
Nils BAY's user avatar
2 votes
0 answers
978 views

Keyboard input N-Key Rollover

Question Is there any way to programmatically negotiate and enable NKRO (N-Key Rollover) for plugged keyboards when that feature is available? Also, how to properly distinguish between "standard ...
Gethiox's user avatar
  • 21
4 votes
0 answers
2k views

Fedora 34 Pipewire 0.3.38-1.fc34 microphone detected but no sound input

What is happening I recently installed fedora 34 on my laptop, before I was using Ubuntu 18.04 and my mic was working fine, them I decided to change to fedora 34 and everything was ok until I try to ...
marcelovbcfilho's user avatar
1 vote
1 answer
308 views

How can I type a password when fprint is enabled?

I use Fedora 34. I love what fprint is doing when it allows me to authenticate using my fingerprints on my ThinkPad's built-in fingerprint reader, but when I'm in my office, I like to dock my laptop ...
Brian Reading's user avatar
0 votes
0 answers
1k views

XBox One controller (USB) is detected, but sends no input events

I have a recently purchased X Box One wired controller, which I would like to have available on Linux. When I plug it in, it is detected, and does show up as /dev/input/js1. (/dev/input/js0 is my ...
Michael Macha's user avatar

1
2 3 4 5
7