Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
16 views

Programatically capturing application inputs and outputs

I've been given a mess of applications that all touch various common files and data sources. (Retail IT environment so lots of generic sources of data that gets sliced and diced into various ways and ...
1
vote
1answer
16 views

Opensuse 13.1 Gnome Desktop Region&Language won"t open after installing ibus

i want to be able to write Kanji on my Opensuse system, so i followed this tutorial: http://www.localizingjapan.com/blog/2013/11/20/japanese-input-on-opensuse-linux-13-1-kde/ It does not work, ...
0
votes
0answers
13 views

Synaptics touchpad LED support

How to enabled support the LED in Synaptics touchpads? I'm use Debian Jessie and xserver-xorg-input-synaptics ver. 1.8.1-1. I'm find patches by Takashi Iwai from SUSE for supporting the LED in ...
2
votes
2answers
56 views

Is there a way to execute commands while getting user input?

I’m fairly new to scripting and I have a high-level question of how to do something. I want to design a simple game similar to space invaders, with these two main features for now: Bullets drop ...
0
votes
1answer
52 views

Using ARGV to get user input in Awk script [closed]

I know ARGV[i] can be used for storing user input. However, I want to use it in awk script and get the ARGV[i] to compare the field from another text file. If the ARGV[i] matches the field or the ...
0
votes
2answers
56 views

Bash Script using read needs to stop executing on Ctrl+D

I need to write a script that will add a line to a text file if Enter is pressed. But, if Ctrl+D is pressed, I need to exit that loop in the bash. touch texttest.txt LINE="0" while true; do read ...
3
votes
0answers
39 views

Ignore brief mouse click/releases

The switch contacts in my mouse are going, and rather than open it up yet again and clean them or try to hunt down a replacement switch (or buy a new mouse) I would like to solve this problem via ...
1
vote
1answer
31 views

Prevent the mouse to wake up display

I set my displays to sleep with xset dpms force off after locking the screen with kscreenlock. This is great, the displays wake up when the mouse is moved (by me, air, the cat). I'd like to set it in ...
2
votes
1answer
74 views

Command-line editing and wrapping

When entering long queries into the command-line psql, my terminal[1] is not wrapping the input line correctly. Additional charactes wrap back to the left of the screen, but on the same line as the ...
1
vote
2answers
174 views

Pass a command to ROOT from a shell script and having it stay open

I am writing a bash script to perform some analysis using the program ROOT. I want to run some initial command to load the result of the analysis, then continue using ROOT interactively. The analysis ...
2
votes
2answers
117 views

How to clear the input in Bash

I have a bash script that is reading quite a bit of data /dev/random. I need the user to type randomly to seed the random daemon. However once the script completes everything typed will get dumped to ...
0
votes
0answers
160 views

psmouse sync issues!

I have Compaq CQ61-420US (64-bit AMD) laptop with Synaptics touchpad checked using $ egrep -i 'synap' /proc/bus/input/devices N: Name="SynPS/2 Synaptics TouchPad" But recently after Arch Linux ...
1
vote
0answers
114 views

How to use a PS gamepad with OpenWRT?

I'm fairly new to OpenWRT and Linux in general so please bare with me. I'm trying to print the button presses from a playstation gamepad to the console on an Arduino Yun which has OpenWRT. I've used ...
1
vote
0answers
95 views

How to read characters from a serial keyboard on /dev/inputs/eventX (Speed?)

I'm trying to read from a second keyboard whose inputs can be read from /dev/inputs/eventX, but I get rubbish and not the character expected. I'm accessing my target by using Putty. I can connect to ...
2
votes
2answers
105 views

Grabbing keyboard control in shell script

I have a certain shell (zsh) script which reads one character at a time and performs an action afterwards. In the shell, this is realized by "read -k" in a loop. I want to execute the script as a ...
10
votes
2answers
968 views

Record every keystroke and store in a file

I need to record every keystroke and store in a file in the user directory ~, when using my account, I am not sudoer and I cannot install programs (like logKeys) in any way. How could I do so using ...
2
votes
1answer
134 views

Program only sees 1 input device

I have a program (advancemame) running on Raspian (Raspberry Pi) which like most programs gets its input from the keyboard. I'm using a program which implements uinput to convert GPIO pins HI/LOW ...
1
vote
0answers
64 views

Remap input keys in /dev/input level

I want to remap input keys from keyboard and mouse, but I need it to be in low level, so that reading /dev/input* shows remapped functions. Example: I have regular keyboard and I want ENTER key to ...
3
votes
1answer
115 views

Connect a keyboard / IR controller to a command line program running in a screen

I'm trying to have my Raspberry Pi function as a GUIless music player. I've got Arch Linux installed, and use it through ssh. I've got also an IR receiver dongle, and I'm planning to use it to control ...
0
votes
0answers
79 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
269 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 ...
8
votes
4answers
2k 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
114 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
172 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 ...
4
votes
2answers
1k 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
132 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
118 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 ...
3
votes
4answers
3k 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 ...
1
vote
0answers
111 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
593 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
175 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
163 views

Virtual mouse is ignored by xorg when loaded

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
194 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
630 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
237 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
191 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 ...
7
votes
1answer
2k 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
689 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
753 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
732 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
338 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
191 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
1answer
552 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
1k views

Why the behavior of while loop and for loop is different?

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 ...
3
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 ...
14
votes
1answer
834 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
2k 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
352 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
333 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
604 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 ...