The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
0answers
29 views

Systemd and system events

I had a simple Upstart job that executed a script every time I changed my display brightness ( to change my LCD gamma ), It was: start on (backlight-device-changed) exec <my script> I'm ...
1
vote
1answer
33 views

`xdotool` does not send keys

I am trying to send keystrokes via xdotool. However, sending does not work properly. Below is the log of a script that should select all the text in Gedit and copy it (but it does nothing instead), ...
0
votes
0answers
11 views

udev usb stick device list

we have 2 different yocto distributes. 1) ARM Kernel 3.10.53 2) X86 SMP Kernel 3.10.0 if we add a usb stick to the ARM system we get the different udev Messages. usb/usb_device usb/use_interface ...
2
votes
1answer
20 views

Redirect or trigger on dev node input event

Is it possible to trigger an event when data is available at a dev node? Very simply, if some widget device sends information over usb to my linux box, would it be possible to trap into some event ...
2
votes
3answers
81 views

Execute a shell command upon a click event in a web page

Is there a way to execute a bash command when I click on a text in a browser? The web page is on computer A, the browser is on computer B : I want to execute the code on computer B, e.g hsetroot to ...
0
votes
0answers
25 views

Ignore a bluetooth mouse events

(using Ubuntu 14.04.2, X/Gnome/Unity) I'm trying to have Gnome/X to ignore a given Bluetooth mouse events. The mouse should be paired successfully, though. The reason being that the mouse is used ...
0
votes
0answers
32 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 ...
1
vote
0answers
19 views

Can I edit an event (gamepad)'s behavior?

Ok, so I'm attempting to fix my gamepad's (or rather, dance pad's) input, because the d-pad is acting like an axis rather than 4 buttons. I attempted to use xboxdrv, to no avail. So my question is, ...
1
vote
0answers
153 views

Monitor the creation of new processes

I want to get a notification whenever a new process is created. I've tried to use inotify on /proc, but it didn't report any event even though a new directory appeared in /proc. I could list the ...
3
votes
1answer
118 views

How to catch mount events on Linux?

I want to somehow get notified if a mount or unmount occurs for a USB drive. At the moment I use udev and then wait for x seconds for a new entry in /proc/mounts. This works ok if the mounting is ...
3
votes
2answers
456 views

With systemd-networkd, perform an action upon network configuration change

I am switching from Debian’s ifupdown to systemd-networkd, and it mostly works fine. One missing bit is that upon every network change, I want to call killall -ARLM tinc, so that my VPN is going up in ...
7
votes
1answer
3k views

monitoring events (keyboard, mouse) in X

Is it possible to display all events that are generated in Xorg? Such as keyboard pressed, mouse events...?
0
votes
0answers
28 views

Where to emit hardware events?

What is the most common way to emit events from hardware sensors? Use ACPI events, send signals via DBUS? My goal is compatibility so other apps can easily use those inputs. What is the Cleanest ...
5
votes
2answers
2k 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 + ...
3
votes
1answer
409 views

xautolock: how to auto-unlock on user activity?

I need to run a script after a period of user inactivity. For that I use the wonderful program xautolock. Now, I also need to run another script when the activity is resumed (e.g. mouse is moved or a ...
4
votes
1answer
925 views

How can I secure my Ubuntu 13.04 to prevent network attacks? [closed]

Is there a way I could protect my pc computer from being hacked in an event where the internet conection will be opened? Thing is I am going to Campus Party Colombia 2013 and I was sugested to format ...
4
votes
2answers
2k views

Can I stop Linux from listening to a USB input device as a keyboard, but still capture events with a program?

I have a USB barcode scanner at /dev/input/event0 (/dev/input/by-id/usb-Metrologic_Metrologic_Scanner-event-kbd), and scanning a barcode causes it to send keypress events. I'm capturing these ...
6
votes
1answer
2k views

Explain EV in /proc/bus/input/devices data

Can anybody explain to me what the EV value in /proc/bus/input/devices is? The keyboard always has value 120013. Why?