Questions tagged [input]

245 questions
244
votes
8 answers

Automatically enter input in command line

I'm running a script that it requests entering 'y' on each operation, I am looking for a solution like $ ./script < echo 'yyyyyyyyyyyyyy' to pass all my inputs in one time.
NewMrd
  • 2,797
14
votes
1 answer

Keyboard input doesn't work in various snap apps after upgrade to 22.04

After the update I noticed that I can't type in firefox. After changing the snap for the ppa from mozilla the problem was solved. But then I noticed that typing also doesn't work in signal-desktop installed as snap and the snap-store. So i'd like to…
Ronin
  • 141
13
votes
4 answers

Disabling touch screen only temporarily

My touchscreen is cracked, so the pointer continuously clicks on the cracked area. That prevents me from using the computer normally. I have tried the xinput disable 'ELAN Touchscreen' command, and even the one specific to the input number (though…
12
votes
3 answers

How to identify relation between HID /dev/input/* files and real hardware?

My friend had problems with touchscreen (they are gone after two reboots) after her sister used her laptop and when I tried to help I didn't find a way to identify /dev/input/* files. One way I've found was to grep in $ dmesg (/var/log/kern.log) but…
int_ua
  • 8,892
11
votes
1 answer

16.04 Japanese Text Input not working

There were a set of extra steps I needed to take with Ubuntu 14.04 that got Japanese text input working, but the same steps seem to not apply to 16.04. The system toggles between "En" and "Ja", but all it's doing (functionally) is switching from an…
TKLHS
  • 113
11
votes
1 answer

How can I map keyboard buttons to my mouse buttons?

I have 2 extra buttons on my mouse that I would like to map as "Home" and "End" I am able to map mouse buttons to my keyboard using xkbset, but I would like to do the reverse and map keyboard buttons to my mouse. Output of xbindkeys here.
TuxForLife
  • 1,333
10
votes
3 answers

How to understand the ordering of output redirection?

So I am trying to learn how to pass standard out and standard err to various areas. Let's say I have a folder with here.txt alone. So if I do ls here.txt not-here.txt 1>out 2>&1 Since here.txt is present I'll have some output to direct to the…
AJJ
  • 902
10
votes
3 answers

Pressing dead keys twice

I've recently switched from Windows to Ubuntu 11.04, and a difference that bugs me a bit is, when a dead key (such as ^ or ´) is pressed twice, the behavior differs in the two OS'es. On Windows, the first press is dead, but the second press gives…
10
votes
4 answers

Ubuntu 20.04, switch between two keyboard layouts does not work properly

on a fresh Ubuntu 20.04 installation, i'm currently facing the issue that i can't switch between two keyboard layouts with the shortcut super + space. I use a Duck2 mini with QWERTY layout, ubuntu system language is English (US) and also the first…
user1090545
9
votes
3 answers

How can I input to a file directly from the terminal

Other than bringing up a text editor, is there a way I can input text in a linux terminal directly to a file? (then enter a control code such as ctrl-c, to end the input) I'm pretty sure there's a way to do this... I am SSH'd to a server with…
Tracker1
  • 335
  • 2
  • 4
  • 13
6
votes
5 answers

Ubuntu 16.04 hides cursor when using graphics tablet

For some reason Ubuntu hides the cursor when I'm hovering my stylus above the pad. It works ok when you are in drawing area since it has its own cursor. But it's completely useless when you try to use the UI of the graphics program or the desktop…
pvc
  • 325
6
votes
2 answers

How can I make tar read input from stdin?

I need to use tar in a pipeline inside a shell script to archive and compress some files. After having read the manpage for tar I was able to make tar output to stdout by running it along with the -O argument, but I wasn't able to find out how to…
kos
  • 41,268
6
votes
1 answer

Configure ibus to generate "à" using Compose + a + `

I would like to have ibus work like to corresponding system in OS X. In order to get an "à" in a text field I want to make these steps: I press the Compose key I press the a key (an "a" appear in the text field with a yellow background) (a menu of…
gioele
  • 406
6
votes
2 answers

How to correctly get RIGHT KEYSEQ for readline in .inputrc?

What I struggle with: I'm configuring ~/.inputrc file to be same as mine custom emacs key-bindings and I'm struggling very much with readline's key sequences. What I mean by that is that if I want to set / , I have to set it to "\e[A" /…
6
votes
2 answers

Quick insertion of down quotation marks

Is there an easy way to input these quotation marks on Linux: „“ ? On a Mac, there's a relatively easy compose shortcut, but I couldn't find a shortcut for Linux. There doesn't even seem to be a compose key combination, based on…
Tin Man
  • 393
  • 4
  • 13
1
2 3
16 17