The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
4answers
41 views

Validating input

I have below script written to validate the input as an integer. But i also require "." to be included as an integer. For an instance if i give 1.5 is an input and run the script. It returns not an ...
2
votes
3answers
139 views

How do I remap newline and carriage return regardless of the terminal used to connect?

All my configuration is stored in my github account (https://github.com/mnebuerquo/dotfiles) so I can just clone my repo and run my install script and my home is configured to use all my tools. I ...
2
votes
2answers
259 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 ...
4
votes
1answer
1k 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 ...
2
votes
1answer
368 views

Synaptics touchpad LED support

How to enable support the LED in Synaptics touchpads? I'm using Debian Jessie and xserver-xorg-input-synaptics ver. 1.8.1-1. I found patches by Takashi Iwai from SUSE for LED support in Synaptics ...
2
votes
1answer
196 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
1answer
226 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: ...
1
vote
1answer
45 views

Sharing a keyboard over point to point network

I tried following http://superuser.com/questions/67659/linux-share-keyboard-over-network but had no success with the #1 solution. Then I tried socat and I had partial success -- it does work but ...
1
vote
1answer
221 views

Mapping two joysticks with Xorg

I already managed to map the input of a joystick to keyboard inputs by writing a file in my xorg.conf.d/ directory (the file is named 51-joystick.conf). Now I would like to map the inputs of a second ...
1
vote
1answer
163 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 ...
1
vote
1answer
990 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
1answer
347 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 ...
1
vote
1answer
171 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 ...
0
votes
1answer
39 views

Compose plus apostrophe doesn't work with Cyrillic

I used to have a custom .XCompose, I removed it to possibly eliminate the cause. Unfortunately, the problem persists - I can't create an accented Cyrillic character, such as the ones here [1]. Simply ...
4
votes
0answers
288 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 ...
3
votes
0answers
39 views

How to obtain mouse events from the kernel when X is active?

When switching to a virtual terminal on my system, The kernel successfully delivers mouse events to a generic input event interface -/dev/input/event6 in my case- as well as legacy interfaces mouse1 ...
3
votes
0answers
180 views

Cannot use keyboard within Qt app without sudo

I have an embedded Qt application crosscompiled that runs on BeagleBone Black. It works Ok, but one thing- It doesnt accept keyboard input if i wont run in directly on BeagleBone Black preceeding with ...
3
votes
0answers
162 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 ...
3
votes
0answers
420 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 ...
2
votes
0answers
35 views

X configuration not being applied to device?

I've got a configuration file which I'm installing at /usr/share/X11/xorg.conf.d/52-synaptics-bcm5974.conf: Section "InputClass" Identifier "MacBook Pro Touchpad" MatchUSBID "05ac:0272" ...
2
votes
0answers
112 views

manipulate multiple windows simultaneously

this is probably a long shot but I've been pondering it for a while. I realize that the actual use-cases of this sort of interaction are quite sparse. The main uses I can think of would be moving ...
2
votes
0answers
56 views

How to capture a keyboard shortcut

I need a script, that will run in terminal (under X11), and wait for a keyboard shortcut (happening anywhere in the desktop environment), once that shortcut (or key press sequence) happens, it will ...
1
vote
0answers
33 views

Kernel driver for trackpoint on Lenovo Thinkpad 13

On other ThinkPads I've succesfully configured the trackpoint with udev using this method but on my new Lenovo Thinkpad 13 this isn't possible: This command: find /sys/devices/platform/i8042 -name ...
1
vote
0answers
23 views

X11 touch the value of the shivers . Is there any way?

I am using the X- widnwos. I use the touch screen. If you are a touch on the touch-screen cursor is unstable. Below is the video. https://youtu.be/jMub9-T_wEA How do I improve the following ...
1
vote
0answers
8 views

Configuring an alert when a program tries to interact with the user

Most programs in *nix-land take their options via the command line or through a configuration file. However, there are a few programs that do not have any such option, and will resort to interacting ...
1
vote
0answers
73 views

Disable embedded keyboard when in a tty

I've been lately working on a netbook. I like to connected an external keyboard and mouse to it whenever I can, and I put the keyboard over the embedded keyboard. When on X, I used xinput to disable ...
1
vote
0answers
178 views

Ubuntu 14.04 - Multiple Griffin Technology Powermate Knobs

I am running Ubuntu 14.04, and I want to run multiple griffin powermate knobs: https://store.griffintechnology.com/powermate. I want to map them to different keys other than audio control. I want to ...
1
vote
0answers
28 views

Application started in /etc/X11/xdm/Xsetup can't receive key presses

I'm using xdm (and I'd like to keep it that way) for a project and I need a terminal to run a script before the login prompt. The script requires some user input, however, it doesn't seem to work. ...
1
vote
0answers
37 views

Make X11 react on “dev/input/eventx”?

I have a debian 7 on kernel 3.8 running with a touchscreen. With evtest, I see that I get the screen's coordinates for device "dev/input/event2". How do I have to configurate my X server, that the ...
1
vote
0answers
34 views

Is it Possible to use Mouse Movement in a Shortcut?

I'm interested in creating shortcut keys that use mouse movement as part of their trigger to send a keycode, for example so that I could have a shortcut like: ctrl + alt + [mouse movement down] ...
1
vote
0answers
233 views

How to get the mouse/keyboard raw events?

I want to intercept the raw events from the keyboard (or the mouse, eventually). I tried to use the /dev/input/[...] files, they are very practical and I can read the events of any key even caps lock ...
1
vote
0answers
489 views

USB bar code scanner not working on Raspbian

My USB bar code scanner (SYMBOL LS2208) is recognized as a HID. hid-generic 0003:05E0:0600.000F: hiddev0,hidraw0: USB HID v1.10 Device [\xffffffef\xffffffbe\xffffffa9\xffffffbe\xffffffa9Symbol ...
1
vote
0answers
103 views

How many bytes can a keypress return? And should a metafied key return more?

I've been tooling around w/ this input reader lately. Currently it only prints a report to stdout for each key pressed while it runs, but I would like to graduate it to a higher purpose sooner than ...
1
vote
0answers
464 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
273 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 ...
1
vote
0answers
129 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
0answers
5 views

Left-clicks not working for any device in openSUSE Tumbleweed

Okay, so I really am at wit's end here. I had this problem where my left click stopped working randomly. It had happened once before, but I thought it was a non-issue, as the problem manifested when I ...
0
votes
0answers
85 views

Connect bluetooth mouse Mint/Ubuntu

My bluetooth mouse I'm trying to connect this mouse by blueman device manager on mint 17.3 (kernel 4.4.4) I tried few different solutions in internet, but no success. On Windows 10 everything works ...
0
votes
0answers
91 views

Read single line from device at /dev/input/event0

When using "cat /dev/input/event0 | hexdump", I get a stream of data from the joystick that won't end until I use Ctrl-C to interrupt it. I want to get a single line of data I can use in a script I ...
0
votes
0answers
42 views

Input event for trackpad co-ordinates

I am making an app that requires the co-ordinates of the touch / swipe of the user. This is currently available only if you are running a VM ( Alt + F2/3/4/5...) using evtest. What do you think is ...
0
votes
0answers
307 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 ...
0
votes
0answers
384 views

Settings value in /sys/devices/platform/i8042/serio1/serio2/speed as no effect

I'm following this tutorial to ajust the TrackPoint speed for my Lenovo T420. However, setting a value in /sys/devices/platform/i8042/serio1/serio2/speed has no effect. The trackpoint is unaffected ...