The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
4 views

IBus sometimes not working in KDE

Sometimes (or usually) IBus does not work in KDE. I have autoremove it, install it with my language input (Vietnamese, both ibus-bogo or ibus-unikey), install ibus-m17n, restart many times but it ...
3
votes
1answer
70 views

USB keypad (HID) not responding in linux but in grub

An external USB keypad I'd like to use gets recognised as a USB HID device, but it is not functional when Linux is booted. It does work when plugged into a Windows desktop and it does work while in ...
5
votes
1answer
99 views

Why does “cat ttyUSB0” not produce output?

I connected an infrared receiver to a USB port ... (the last line of dmesg tells device file) $ dmesg [10496.596063] usb 7-2: new full-speed USB device number 2 using uhci_hcd [10496.751112] usb 7-2: ...
1
vote
1answer
39 views

Loading input from a file in lex

First of all, I was not sure whether to post this question here or on stackoverflow, but here's my question anyway. Besides using input redirection, i.e. ./code < inputFile.dat, is there any way I ...
4
votes
0answers
82 views

How to get a Finepoint Digitizer Tablet to work under Fedora Core 16?

How to get a Finepoint Digitizer Tablet to work under Fedora Core 16? The hardware in question is a Gateway m285-E. It uses an active pen (has a battery in the pen). cat /dev/ttyS0 returns ...
2
votes
2answers
286 views

Capturing key input from events device and mapping it (toggle TouchPad key is unmapped)

I have a Lenovo IdeaPad Yoga 13 with Ubuntu 13.10 Installed. The device has a "Toggle TouchPad" button on the keyboard (F5). The keyboard's F* buttons are reversed (so to get F5, I need to press Fn + ...
1
vote
0answers
105 views

Tmux hidden input at command line

I've just started using tmux recently, and have run into this problem a few times. Whatever I type on the command line, is hidden from view until I press enter and it is executed. I don't know how I ...
2
votes
0answers
83 views

Tmux is not able to distinguish between insert and shift-insert

Insert when in xterm, gives ^[[2~ and, Shift+Insert gives ^[[2;1~ All this is good until I start tmux. Note that the $TERM variable remains the same, so this issue should not be related to ...
2
votes
4answers
774 views

How to send keystrokes (F5) from terminal to a process?

I'm using an Raspberry Pi in combination with Chromium (kiosk mode) to show up some stats. The Pi doesn't have an connected keyboard so I searched for a solution to send keystrokes from the terminal ...
0
votes
0answers
80 views

EVIOCGKEY ioctl on a Polled Input Device

Is there something that might prevent the EVIOCGKEY ioctl from behaving as expected if called against a polled input device (a device registered using input_register_polled_device())? I have a ...
1
vote
0answers
90 views

No USB 04b4:0307 microphone input after Ubuntu 10.04

I was very happily using VOIP SIP with Ubuntu 10.04. Since I upgraded to 12.04, not only has Ekiga become very buggy and inconvenient, but, the subject matter of this question: the microphone of my ...
0
votes
1answer
271 views

Using a file input as stdin for a shell script does not work

I have the following script code: test.sh echo "BEGIN" while read CMD <&1; do [ -z "$CMD" ] && continue case "$CMD" in start) echo "get_start" ;; ...
6
votes
1answer
115 views

X Server won't load when I add a 50-synaptics.conf file inside the xorg.conf.d directory

I'm using Fedora 18. I'm trying to configure my synaptics touchpad, I need the tapping and the horizontal scrolling inside Awesome Window Manager. I've created a file at ...
2
votes
1answer
128 views

Virtual mouse linux module and problem with Xorg on ubuntu 12.04

I'm trying to run virtual mouse driver from book "Essential Linux Device Drivers" but when I'm load this module into kernel using insmod in /var/log/Xorg.0.log I see: [ 757.212] (II) config/udev: ...
2
votes
1answer
134 views

How to lock-down input on a Linux machine?

We need to put out a web browser to a public place to show informations. I need to lock down all the input interfaces via software methods. So ex.: if someone plugs a USB keyboard to the machine it ...
1
vote
2answers
224 views

Redirecting Multiple Commands as Input

What is the correct way to redirect the output of multiple commands as input for another command? e.g. $ command < (command2 | grep pattern)
2
votes
1answer
123 views

How to get Xorg to use the wacom driver for my graphics tablet?

I just got a Wacom graphics tablet, plugged it in, installed the drivers and it mostly works. However xsetwacom and the KDE tablet settings module don't recognize it. Upon inspection of Xorg.0.log I ...
1
vote
2answers
98 views

Automate input procedure to a binary file

I have a binary file on Unix, which when executed asks the user for inputs. The inputs to this binary file are given manually. I want to automate the procedure, since I know the inputs already. I ...
4
votes
1answer
1k views

SSH causes while loop to stop

I have finally managed to boil down a problem I have been struggling with for a few weeks. I use SSH with "authorized keys" to run commands remotely. All is fine except when I do it in a while loop. ...
4
votes
1answer
356 views

Get raw input from command line (ignore shell meta characters)

Is there any way to read raw text from stdin before it is expanded or before the shell does anything to it? Say I wanted to run a script where a user enters a string which is then printed out, how can ...
2
votes
2answers
508 views

CrunchBang & Openbox: no reaction to laptop power button pressed

I've just installed #! and I'm loving the customizable Openbox DE. However, when I press the power button on my laptop, the system doesn't react. For example, when I was using Debian & Gnome, ...
4
votes
1answer
480 views

How do I enforce system-wide custom keyboard shortcuts / macros?

I would like to be able to apply the same custom key bindings and shortcuts I use on my text editors to my entire desktop environment. I want to basically remap my keyboard system-wide, not just in ...
0
votes
1answer
255 views

input, evdev alternatives?

Simply put what are some other input subsystems? P.S. (a little context) Is there a popular alternative? (I'm looking at an HP-UX and have no idea how its taking care of this, because there is no ...
0
votes
0answers
141 views

Input freeze when X starts on other terminal

I have a Packard Bell F2011HC-125GE running a Debian Squeeze-based Linux. After a few days of usage i found the system freezes from time to time. It's obvious the freezes happen, when X starts while ...
3
votes
0answers
398 views

how to merge two audio input source using avconv

I try to make screencast using avconv and I facing a problem. I finally succeed to record both pc output and microphone input , the problem is that they're not merged in the output file. (I saw ...
1
vote
1answer
671 views

Behavior of while loop and for loop in unix script

I am trying to read user and server details from file tempo.txt and then check the disk space usage of the file system on that unix account using another script server_disk_space.sh.But I am not able ...
2
votes
0answers
1k views

Mouse Scroll Wheel Speed Far too sensitive

In my crunchbang installation with X11, openbox, my wireless usb mouse is listed at both /dev/psaux and /dev/input/mouse0. It's working fine apart from the scrollwheel, which although active, is far ...
13
votes
1answer
580 views

Command line utility to retrieve password, that has no echo back

Bash builtin read command doesn't seem to support it, now I need to let user input a password while no echo should be displayed, what tool can I use?
1
vote
1answer
938 views

awk - get input from both file and STDIN?

Is it possible to get input from both file and the terminal? I wish to ask the user something in the END portion of the awk script. That input should be typed in by the user and not read from the ...
4
votes
1answer
290 views

Filtering the keyboard input

I have a program that takes input from the keyboard and presents a nice visualization. The purpose of the program is so that my infant can mash on the keyboard and get the computer to do something. ...
4
votes
1answer
220 views

“Merging” two input device drivers/nodes to one device node

Okay, I have two joysticks attached to my linux box and they show up as /dev/js0 and /dev/js1. My problem is, I have a third party application, (that I cannot change), that uses a joystick, and it can ...
1
vote
2answers
336 views

Import sql files using xargs

I have a number of sql files to import. For a single file I use the following command: mysql -u root -p dbname < db.sql Is it possible to use xargs to bulk import all files? something like: ls ...
49
votes
2answers
2k views

Clear / erase a mistyped invisible password on a shell / terminal in Linux

One thing that annoys me using Linux's terminal is when I have to type a invisble password, like when you run ssh. Sometimes I mistype one or more letters and then I have to press backspace key a few ...
14
votes
2answers
2k views

bash script to detect and record mouse movements?

I need to be able to record the mouse movements every so often (every .2 of a second for example) and have them in a coordinate representation instead of a diff. I found the following script: ...
3
votes
0answers
219 views

How to know the event by looking at /dev/input/by-id

I want to access the keyboard device driver. I usually accesses it by looking at /dev/input/by-name but the event provided by it gets changed every time I log in. After searchin on the Net, I found ...
6
votes
2answers
547 views

Share keyboard over network as separate device?

I am trying to achieve something similar to this: http://superuser.com/questions/67659/linux-share-keyboard-over-network The difference is that I need the remote keyboard to be usable separate from ...
7
votes
1answer
507 views

Bash script doesn't read input

I have a script that is suppose to run a command in the background, and it does that. The problem is that when the script comes upon a read command, it doesn't pause and accept input. Here it is: ...
17
votes
2answers
14k views

Earphone remote in sound jack as X input

I have got new earphones, the AKG K318's to be exact and they have one of those remotes. On a smartphone, such as an Android phone or iPhone, the buttons map to actions on the music player such as ...
3
votes
1answer
726 views

send keystroke to process

I'd like to run some applications in fullscreen. Even though they don't have an explicit such option, it is possible with the metacity Alt-F11 command. So, I thought I could create such an input like ...
0
votes
2answers
2k views

Shell script how to read input from a file [closed]

I need to read input from a file given in following format. $ ./process_data.sh arg1 < input_data.txt How do I read input_data in my shell script process_data.sh?
3
votes
4answers
425 views

Get input from editor (vim/nano/emacs/textmate?)

I was just curious if there's a way to get input not from StdIn but from $EDITOR - be it vim, nano, emacs or even a non-command-line-editor (MacVim/TextMate). What are the ...
5
votes
2answers
280 views

how to deal with keyboard-greedy apps

I'm having a very specific problem, however any help will aid in understanding X's relationship to the keyboard. I'd like to be able to launch the ElectricSheep program on top of music playing from ...
2
votes
1answer
630 views

Sending some input into a process, then resuming input from command line

I have an interactive terminal program, that accepts stdin (telnet for example). I want to send it some input before interacting with it, like this: echo "Hello" | telnet somewhere 123 But that ...
1
vote
2answers
4k views

How to directly read keyboard input in real-time?

I am not certain if this is ultimately the correct place to ask this but I am developing a program which requires real-time input from the user. That is; it needs to be able to read the keys being ...
4
votes
1answer
391 views

How can I make C-m1 emulate a right click?

On Mac OS X, you can right click by holding down control and clicking. I swapped the command and control keys with setxkbmap -option altwin:ctrl_win, but how do I make it right click by holding down ...
10
votes
2answers
6k views

How do mouse events work in linux?

This is mostly out of curiosity, I'm trying to understand how event handling works on a low level, so please don't reference me to a software that'll do it for me. If for example I want to write a ...
4
votes
1answer
465 views

Fetching user input while running in the background

I am writing a script that prompts the user for input and does some processing afterwards. I was using read to get the data, but then I noticed that when the script is ran with a keyboard shortcut (I ...
2
votes
1answer
78 views

Directing Xorg input to selected application

I'm trying to play Frets on Fire using my PS3 Guitar Hero III controller. It works right away, but it's also controlling the cursor as if it's a mouse. I'd like to play the game windowed, but that's ...
4
votes
2answers
1k views

Multitouch support on KDE

On Ubuntu there is an app called ginn which forces non-multitouch aware apps to support multitouch. (source) Is there any analogue for the KDE Desktop Environment?
6
votes
1answer
835 views

Dual head configuration with two touchscreens in Linux

As a part of my current project I need to set up a Linux-based workstation with two monitors, both of which are multitouch-enabled (ViewSonic VX2258wm, Quanta touch panel). So, naturally, I set up a ...