Programming :: Intercept The Mouse And Keyboard Events?

Nov 13, 2010

how to intercept the mouse and keyboard events in Linux,like hooking technique in Window ?

View 1 Replies


ADVERTISEMENT

Programming :: Capture/record The Keyboard And Mouse Events In Kde?

Aug 25, 2010

i want to capture the mouse events (click,double..,position ) as well as keyboard events (key strokes) for every application running separately?

View 1 Replies View Related

Programming :: Way To Capture X Keyboard Events

Jan 8, 2010

I wonder if there is a way to caputure all X keyboard events, blocking them from going to the window with keyboard focus?

View 4 Replies View Related

Programming :: Generating Keyboard Events In Shell Script

Nov 23, 2010

Is it possible to generate keyboard event "Ctrl+c" from a shell script code.? I have written a shell script to compile my application and copy it to the server home directory, inorder to run my application I need to start the server (by running a shell script). But before that I need to stop the the currently running instance of my server. To do that I have to generate a keyboard event (Ctrl+c which I press it manually). I want to automate the entire process by writing a shell script I am able to run the server just by adding ./run.sh in my shell script. But before that to stop my server can I generate a keyboard by using a shell script event(ctrL+C) to stop server.?

View 2 Replies View Related

Programming :: Intercept Data On Serial Port?

Dec 21, 2010

I dont know if this is the right forum, But I try to find a solution, I want to intercept data from/to serial port without disrupting the software that manages the serial port, (I would like to save the data to a file or sent into a socket) I searched somes modules and programs (linspy, ttysniff, interceptty, maxty ...), A bit complicated (There are some diff. between kernel 2.4 and 2.6), So I'd like to change the serial port driver to intercept the "read" and "write " and do what I want with the data, I'd like to know what do you think about

View 3 Replies View Related

Fedora :: After Update Compiz / No Edge+mouse Button Combo Events

Mar 9, 2010

After the update on 7/03/10 edge+mouse button combo's don't work anymore, keyboard short cuts for the same function are still working. Example "Scale", keyboard short-cut ctrl-s working, edge+mouse button Right Edge - Right Mouse Button no action. Worked before...

View 6 Replies View Related

Fedora :: Use A Program That Uses Uinput To Inject Mouse Events To Control X Applications

May 21, 2010

In Fedora 12, I am trying to use a program that uses uinput to inject mouse events to control X applications. This worked with Fedora 9, but doesn't with Fedora 12. I see the following in my Xorg.0.log:

(II) config/hal: Adding input device Prototype IRPointer Device
(II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
compiled for 1.7.1, module version = 1.2.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0

[Code]...

The device is not a synaptics touchpad, and so the X load of the driver is incorrect. But I don't know how to get X to ignore it's own driver and use evdev. (Or even if that's the right thing.) A general explanation of how hal and evdev are related, for the current X server,

View 1 Replies View Related

Programming :: VB Scripting Worklsheet And Key Events?

Jan 18, 2011

am working an a worksheet where I need to lookup id in an other worksheet.The script works as long as I am staying on the same row. When pressing key up or enter the corresponmding lookup information is not placed on the very same row.In short terms, I want the lookup data to be enterd on the same row no matter what key I am pressing.

The script:

Private Sub Worksheet_Change(ByVal Target As Range)
Dim cfind As Range
On Error Resume Next
If Intersect(Target, Range("A:A")) Is Nothing Then Exit Sub
thisRow = ActiveCell.Row

[code].....

This example is set to Enter key procedure. So when the enter key is pressed, my current row will change by 1 so I have to compensate for that. All I want is that the data will be correctly enterd no matter what key I am pressing.

View 3 Replies View Related

Programming :: Simulate Key Strokes Events In Other Processes In System?

Feb 3, 2011

I have a program that receive user input.
I want to run this program automatically without user interaction, and in order to do that I need to simulate key events.
How can I do such a thing?

The program I am running is partly java and partly shell.

The shell part is easily done by using:
./prog.sh <parameters (Parameters being a file containing parameters)
But the java doesn't work similarly.

View 7 Replies View Related

Programming :: Capturing Short Randomly Occurring Events

May 8, 2011

I want to capture short randomly occurring events such as Sudden Interstellar Disturbances, Lightning, ion counting, etc. To do this I wish to use the LINE-IN port. My sensor would feed a signal of less that 2 volts but could be submitted via a voltage divider. Since the sound card captures 44100 events per second this should capture events I am looking at, I think, but maybe not. I would capture the sound buffer to a string or memory buffer every second (and half second so I can prevent overwriting of its buffer, then merge the two).

Every 60 seconds (for validation) I would run "time" and count full buffer transfers in between to time events. By effectively counting characters from the beginning of the processing buffer to the beginning of the event I could further refine the "time to event". I think I could then save a decent number of values or until no data received from the processing buffer to preserve the event. This I would output with event time (to within 1/44100 sec) along with the data points captured to a file.

Except for the outputting of info to a file I think I can scan a buffer for events within a second (while LINE-IN continues capturing data on that port). I believe I have a way to handle the outputting. I am asking if any of the processing of the previous buffer would interfere with the sound cards data capture on LINE-IN? There would be no disabling of interrupts. I am presuming that system interrupts would not effect the LINE-IN data capture. Is this true?

View 6 Replies View Related

Programming :: Read Keyboard Status (not: Wait For Keyboard Input)?

Jun 28, 2011

has bash a command that reads the keyboard status and exits? I want to write a loop of this form:

Code:
while [ 1 ] do
sleep (1)

[code]....

View 14 Replies View Related

Fedora :: Keyboard & Mouse Not Available In X?

Jan 11, 2011

I've got a problem with input devices not being available under X.

I've installed F13 with 'minimal' type, i.e. no desktop environment.

After a lot of struggle, I managed to install quite a few packages (after configuring network!) and the Nvidia (proprietary) driver, disabling the nouveau driver.

I got to mention that nvidia installer offered me to create a xorg.conf on its own with its drivers configured for X. But the thing is if I type X or Xorg the screen turns black meaning that X is running but I don't see anything. Looking at /var/log/Xorg.0.log, I see this message:

AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled.

Then, later on, i installed gnome thinking it'll take care of these input devices but the same happens in the gnome login screen too. Both Keyboard and mouse are not working.

I've tried adding the Option "AllowEmptyInput" "off" or Option "AllowEmptyInput" "false" in my xorg.conf under both the input devices section and also the server layout section, but all in vain.

I'm sure I'm missing some setting or something. I've also looked at a few bugs logged in the RedHat bug DB but their resolution of setting the AllowEmptyInput to false doesn't work in my case.

View 1 Replies View Related

Slackware :: Keyboard And Mouse In 13.1

Dec 7, 2010

I've been using Slackware for ages... since like 1997 or 1998. I have a Slackware 3.x CD around here somewhere. I'm usually the one explaining how Linux works to everyone else. I even got GnuCash working on Slackware. So these two problems ...

1. Keyboard in Xorg. It seems to work, except the down arrow and the page down buttons are mapped as something else (the down arrow causes TEXT TO DISAPPEAR...I've had to type this like three times now...). After a bunch of searches, it looks like a problem with HAL and evdev (whatever that is). I tried setting the model in KDE's Regional control panel but that had no effect.

Xorg.conf settings for this section... you can see some remnants from prior attempts:

I did check that event1 refers to the keyboard. The keyboard is a Microsoft Internet Keyboard that works fine; the arrow keys work great outside of X.

2. Mouse in Xorg. The scroll wheel wants to scroll side to side instead of up and down. This also happens to be a Microsoft product (I like their mice... my wife brought the Microsoft keyboard into the relationship...). It's just a wheel optical 3-button mouse, nothing special. Again, none of my usual xorg.conf edits seem to work; here's what I have right now.

Again, I checked that the mouse is event2.

Someone really should make an upgrade guide for people like me that have been using it for years and aren't really following the tech that explains new features like hal and evdev (I know hal has been around for a couple versions, but I've never gotten involved with it until now). Or maybe there is one and I'm just not aware of it. Basically I just want it to just work, which is why I use Slackware in the first place!

I should mention I did have both working under Slackware 13.1 on this machine until Windows conveniently erased my root partition for me, so I got to do a completely clean Slackware install for the first time in a LONG time. That's when the issue arose. Because I was in a rush, I did a full install. I assume the previous setup was using non-hal/non-evdev methods, but I might as well set this one up using the new methods, right?

I'm using Slackware64 13.1, running on a Core 2 Quad Q8300 @ 2.50 GHz. Hardware is fine - both mouse and keyboard work under Windows XP, and like I said the keyboard is fine outside X. It has to be some configuration problem ...somewhere.

View 11 Replies View Related

Ubuntu :: Way To Intercept Texts From Phone

Aug 25, 2010

I want to be able to see the text messages that are sent to MY phone on my machine. (I have Ubuntu 10.04, and Window$), And be able to reply to them on my machine. Does anyone know of any software for this?I have found all kinds of software, or services online that allow you to send text messages to phones, and receive and reply, but never through my existing phone. Basically, I need a way to intercept texts from my phone.

View 9 Replies View Related

Debian :: Unable To Use Either Keyboard Or Mouse?

Aug 29, 2011

For some reason I am unable to use either my keyboard or my mouse. No problem in etch up until now, even after rebooting.

View 1 Replies View Related

Ubuntu :: Can't Use Mouse And Keyboard At Same Time

Jul 8, 2010

I can't seem to use my mouse and keyboard at the same time.I am running Ubuntu 11.04 64-bit

View 3 Replies View Related

General :: Install 11.04 Via VNC On New PC (with No Keyboard Or Mouse)?

Sep 5, 2011

I have downloaded the latest Ubuntu.iso and extracted it to /tmp/ubuntu/ on my laptop. In the folder isolinux there is an isolinux.cfg file. I am trying to prepare a USB stick by modifying those files, so that when I boot from USB it opens VNC and puts a static IP of 192.168.1.125. How can I enable VNC and a static IP so that from my laptop I can do the installation of Ubuntu 11.04 without using a keyboard or mouse?[URL]..

View 1 Replies View Related

Ubuntu :: Use System With No Mouse / Keyboard?

Jan 7, 2010

I know that by pressing CTRL+SHIFT+NUMLOCK I can use the number pad as a pseudo mouse, but is it possible to force this condition at boot without needing to enter a key press?

(I'm putting a computer in my car running Ubuntu and have decided to do away with both the mouse and keyboard and control it from a joystick on the steering column. This has been wired to the circuit out of an old keyboard to mimic the arrow keys on the numeric keypad.)

View 2 Replies View Related

Ubuntu :: Using Wireless Keyboard And Mouse

Feb 3, 2010

I m using wireless keyboard and mouse with my PC. I have installed Win XP and Ubuntu both but I login in one at a time. In windows lower panel shows if my caps lock and numeric lock are on. but this is not so in case in Ubuntu. how to display same in Ubuntu panel.

View 2 Replies View Related

Ubuntu :: 10.04 Mouse/Keyboard Freezes

May 12, 2010

I just upgraded from 9.10 to 10.04 using the distro upgrade feature. Everything was upgraded without errors.

However, my mouse/keyboard now freezes after 10+ minutes of use. Both are unresponsive, and the keyboard lights does not change with the use of caps-lock, etc.

The system didn't crash though. I had a download running which was completed despite the mouse/keyboard hang.

The computer is barely usable now, I really wished I didn't upgrade...

View 2 Replies View Related

Ubuntu :: Keyboard And Mouse Won't Respond

Aug 8, 2010

I'm having some weird problems with my mouse and keyboard. I'll be moving the mouse and keyboard about and all of a sudden the keyboard won't respond and the mouse moves and is fully working, but it seems to be a problem with the desktop, more then the mouse, because it'll highlight stuff and certain stuff will open when I click them, but when I go down to the toolbar, and try to click applications, places, and system, it'll highlight it but not respond when I click it. This happens about every 45 Minutes, to 1 hour of time with ubuntu running [10.04] [Additional details]

- I'm using an HP Pavilion Dv6000 Laptop, 64 Bit Ubuntu 10.04
- My drivers are all up to date
- Could it be because my Laptop gets really hot? But it dosen't happen ever when I'm running Windows, so I'm not so sure about that.

View 2 Replies View Related

Ubuntu :: Keyboard For Mouse Click?

Sep 27, 2010

what I can do to configure one of the keys in my keyboard to act as the left click? having mouse issues at the moment.

View 5 Replies View Related

Ubuntu :: Keyboard And Mouse Not Working?

Oct 9, 2010

So my computer was slow with Karmic Koala, so I tried upgrading my build to Lucid Lynx 10.04.

Now I can't login because neither my keyboard nor mouse (and touch-pad) work. However, I can access the command mode (terminal?) though through the grub boot menu.

how I can get my mouse (and touch-pad) and keyboard to work with Ubuntu 10.04? My machine is an Acer Aspire 4730Z. I dual boot with Windows 7, and I'd prefer not to have to clear out the partition for Linux and reinstall.

View 7 Replies View Related

Ubuntu :: Mouse And Keyboard Not Working?

Nov 5, 2010

I messed up my xorg.conf and tried to put in a clean one, but it doesn't seem to work. I'm not sure what went wrong. When X loads, the mouse cursor is not responding and my keyboard is dead too. I can't toggle to text mode either (Alt-Ctrl-F1).Hope the following files might explain what's wrong./var/log/Xorg.0.log

Code:
[ 26.835] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 26.840] (II) No input driver/identifier specified (ignoring)

[code]....

View 7 Replies View Related

Ubuntu :: 10.10 Freezes Unless Mouse Or Keyboard Used?

Nov 11, 2010

I've had these problems ever since upgrading to 10.10Boot up goes nowhere unless I touch the trackpad or keyboard. My clock says it's 10:00am but it's three in the afternoon, so I'm always having to resync with NTP. Music and video stutters with playback unless I touch the trackpad.I'm on a Toshiba NB205 netbook.These are pretty big problems. And I'm sure I'm not the only one using 10.10. Is there no fix out for this yet?

View 2 Replies View Related

Ubuntu :: How To Use Keyboard Key's As Mouse Buttons

Dec 12, 2010

I would like to use my keyboard keys as my mouse buttons.For example i want to keep my Left_Ctrl as Left click and Right_Ctrl as Right Click.

View 2 Replies View Related

Ubuntu :: Keyboard And Mouse Not Responding?

Jan 17, 2011

Kubuntu 10.04 all updates until today.

All of the sudden my keyboard and mouse are not working any more. At login window keyboard is working OK so I can login (mouse is not working), but after login, keyboard is not responding unless I press the key for few moments (perhaps a second) until a keyrepeat begins. Only then key is accepted and echoed on screen.

Funny thing is, if I login as some other user, everything works as expected.

I have already ran Xorg -configure as su, but it didn't resolve the problem.

View 8 Replies View Related

Ubuntu :: Mouse And Keyboard Freeze In 10.04?

Aug 13, 2011

The mouse, and keyboard, freezes at random times? When I search the discussion boards for a solution to this problem, it is overwhelming to see how many others are having the same difficulty, yet I haven't come across specific solution(s) to the problem. (One posting has over 180 pages of comments!) I am still using Jaunty but would like to move up to 10.04, which I have installed on a separate partition. Unfortunately, that partition can't be used by my family because it freezes at random times! Naturally, I am unable to get any more updates with Jaunty. (I never had problem with Jaunty freezing.) Incidentally, I tried Linux Mint, which was a adaptation of Ubuntu 10.04 and had the same problem.

View 7 Replies View Related

Ubuntu :: No Mouse Or Keyboard With Live CD

Feb 17, 2011

When booting to the live cd, I have keyboard function enough to choose the proper entry to load os. The os starts loading and I can use keyboard to choose language, keyboard etc. About the time it gets to what time zone I'm in, it freezes. No mouse and no keyboard. I have tried this with both Ubuntu 10.04 and Mint 10. My hdd with Windows XP works fine. There are a lot of complaints and requests for help on the 'Net about this but no answers. I have Mint 10 on my main computer and have used Ubuntu for a year or so, meaning I have been able to load and use them with no problems. I have scoured my BIOS for any changes needed and can't find any. Neither USB nor PS2 keyboards or mice work. I have seen some posts about editing xorg.conf or the grub but how can I do that when I have no control after a second or two.

View 1 Replies View Related

Hardware :: Looking For A Wireless Mouse / Keyboard?

Aug 1, 2010

I am running Linux Mint and Windows 7 in a dual-boot.

I'm looking to buy a wireless mouse and keyboard that has a linux driver. Haven't been able to find any.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved