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


ADVERTISEMENT

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 :: 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 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

Debian :: Need To Record Mouse Location When There Is A Mouse Button Event

Sep 15, 2015

CNEE(1) General Commands Manual says this. RECORD OPTIONS --first-last Print only first and last of multiple successive MotionEvent. So I try this. my test window is Calculator 3.14.1 cnee --record --mouse --keyboard --time 5 --store-mouse-position --first-last --stop-key h -o xnee.xns -e xnee_record.log -v;The result is, xnee.xns lists every mouse movement.But I only need to record the mouse location when there is a mouse button event. it seems --first-last does not work. How can I make it work?I use

hardware HP pavillion 20.
The only avalible resolution is 1600x900.
/etc/debian_version 8.1
GNOME Terminal 3.14.1
xnee 3.19

View 0 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

Slackware :: Method To Record Video From Its Capture Card?

Feb 20, 2010

System:
Slackware64-Current multi lib

What would be the easiest method to record video from a security camera via a video capture card using a gui?

View 2 Replies View Related

Ubuntu :: Record / Capture Live Streaming Video - Audio From A Website?

Oct 9, 2010

Is there any way to record/capture live streaming video/audio from a website?

Code:
www.ww.com
I think the file will be .swf something to do with Flash and Macromedia
i have tried all kinds of downloader to no available.Thanks for your help....

View 3 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

OpenSUSE Install :: Mouse Capture In The VirtualBox?

Apr 23, 2010

Installed OpenSUSE in VirtualBox to try out. Boots ok but can't capture mouse! I installed with all defaults and using Gnome. Host OS is Ubuntu. I'm running XP fine in VirtualBox and wanted to test drive OpenSUSE.

View 9 Replies View Related

Ubuntu :: Mouse Won't Capture In Virtual Machine

Jan 7, 2010

I think the title says it all. im installing windows on a virtual system, and I cant capture the mouse into the VM. default is right CTRL.

View 4 Replies View Related

OpenSUSE Multimedia :: Prevent Flash Capture Keyboard?

May 30, 2011

Is there any way to prevent Flash from capturing all keyboard input? I'm really sick of not being able to ctrl+l or ctrl+tab just because I'm watching a video, and today a video froze in fullscreen mode and I couldn't even ctrl+f1 to any terminals or ctrl+backspace to kill KDE. It would be awesome to stop flash from grabbing certain key commands and pass them to the browser or OS instead.

View 9 Replies View Related

General :: How To Record Mouse Gesture (StrokeIt) In Ubuntu

May 12, 2010

I am using StrokeIt program in XP, it is very useful program.so i search similar program for ubuntu 10.04 LTS & i install itn now I try to record some stroke but i can't.

View 4 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

Programming :: Bash: Capture All Output To A Log?

Jun 10, 2010

I have a script that generates a bunch of output, including the expansions details provided by: set -v -xI am trying to pipe everything that is displayed to a file, in addition to displaying it on the screen. I've managed to get stderr and stdout into the file, but the expansions are only printed to the screen. Here is what I have so far:sudo -u <user> source my_job.sh |tee my_log.txt 2>&1

View 2 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 Multimedia :: Analogue Capture Program To Capture Austar?

Aug 13, 2010

What is the best analogue capture program please to capture Austar.

View 1 Replies View Related

Programming :: Capture Packet From DMA Ring Buffer?

Jul 21, 2010

I wanna capture network packets from DMA ring buffer, just like netfilter. i wanna capture it from DMA, because i wanna get MAC address of I/O packets, so netfilter not included MAC address of out going packets because its on IP level and Ebtables is like that too. how i can capture network packets from DMA ring buffer.

View 9 Replies View Related

Programming :: Best / Safest Way To Capture Root Password

May 31, 2011

I have a script which when invoked will generally su into being a number of different users (for those that have read other threads from me, you will know.I am building my own user based package management system).Whilst 75 - 80% of the time there will be no need to be anyone other than the original user, there are times when the root password is required. Currently this is presented to the administrator at exactly the point in the script that it is required.At times this may be more than once and it may also happen for multiple users in a row.

What would be the best / safest method (in your opinion) of capturing the password at the start of the script and then delivering it when required?I have looked at expect ( I am not at all familiar ), but on the examples dealing with passwords, that I could find, they all seem to store the password in a simple bash like variable (which does not excite me at all from a security point).I can also potentially go down the sudo road, but the issue here is that I would either have to find a list of commands that an entire group can have access to without passwords (doesn't sound safe) or I am back to square one of then requiring a password for each individual user to be entered, which if at the start would still need to be captured and saved until necessary.So as I have said, I am open to any and all (constructive) advice

View 14 Replies View Related

Programming :: Cannot Capture - No At End Of File Store It And Print It Using Sed And Awk

Nov 25, 2008

How to write a shell script the would search for a phone no using at the end text file using sed or awk and store it in a varaible or print it.

The text file is in this form

The first line may take any form but the last line will always be Firstname Lastname:KEN:+254456789

I would like to seach for the Phone and store it in a variable and print it.

The phone no will alway be preceeded by ":+"

View 10 Replies View Related

Programming :: Cannot Capture SCP Progress Bar In Output Redirect

Oct 31, 2010

I would really like to capture the output of scp and my file's progress. Scp updates the transfer rate every 1 second, and I will like to save the transfer rate at every update. So for example, if the file transfer takes 30 seconds, I would like 30 reports of the transfer rate.

The output looks like:
Code:
file.dat 1% 3664KB 938.5KB/s 05:48

Whenever I try a simple redirect like:
Code:
scp file.dat 192.168.1.100:~/ &> output
... it does not save the rate at every update, it only shows the final rate.

If I try using typescript by starting "script" ... it's the same deal.

View 7 Replies View Related

Programming :: Capture Link Values With Cgi Script

Mar 23, 2010

I'm creating my personal site in HTML/CSS and Perl/CGI. I have a list of links:

Quote:
<a name="link1" href="/cgi-bin/script.cgi">value1</a>
<a name="link2" href="/cgi-bin/script.cgi">value2</a>
<a name="link3" href="/cgi-bin/script.cgi">value3</a>
<a name="link4" href="/cgi-bin/script.cgi">value4</a>
<a name="link5" href="/cgi-bin/script.cgi">value5</a>

I want capture values of "value*" in <a> tags with script.cgi.

View 8 Replies View Related

Programming :: Capture The Stdout Of A Heredoc In A Variable?

Aug 12, 2010

Why doesn't this work?

Code:
cat | myvar=$(</dev/stdin) <<EOS
This is some content
EOS
echo "$myvar"

i have also tried several variants of cat in place of the redirection.

Code:
$(cat -)
$(cat)
$(cat /dev/stdin)

None of the variants print "This is some content"

I have a version that works:

Code:
myvar=$(cat <<EOS
This is some content
EOS
)
echo "$myvar"

but i don't like the syntax and it doesn't play nice in my editor with code folding.

View 5 Replies View Related

Programming :: Capture Network Utilization In System?

Nov 15, 2010

As we know, the data in /proc/net/dev fall into two categories -- the data received and the data transmitted. Now I want to calculate the network utilization, should the calculate be ---- (datareceived + datatransmitted - datareceivedlasttime - data transmitted last time)/ timeinterval?

View 1 Replies View Related

Programming :: Take A Screen Capture And Save It To A File?

Dec 9, 2010

Is there any simple example on how to take a screen cap and save it to a file?

View 11 Replies View Related

Programming :: Text Editor With Search And Capture

Dec 6, 2010

i was wondering if in all the editors/tools in linux, if there was a prog that can extract a portion of a text file, giving it a starting line of say o as the first character on a line of say o35565 oxxxxx then when it finds the next line down the file with the same thing oxxxxwhatever

it could take those lines and all the lines between them and save it to another file? i dont know if you call this parsing? or what.

View 14 Replies View Related







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