LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 01-15-2015, 03:04 PM   #1
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
can I record desktop actions for frequently used complex app interactions?


IMPORTANT -- I don't want a desktop screen video.

Can anyone give me a clue how to accomplish this?

Every so often, I launch several desktop apps and go through several steps that I've polished over time and learned the nuances. I would really love to go through this process, record the collection of
  • click,
  • drag,
  • drop,
  • copy,
  • cut,
  • paste,
  • double-click,
  • point here,
  • move to that window,
  • ... ad nauseum
Once recorded,
  • I'd like to play-back the recording to do all of those steps automatically.
  • I'd like to have a desktop launcher to activate that play-back.
  • I'd like to somehow parameterize that playback with details such as date, time, day-name, month-name, etc.

Thanks in advance,
~~~ 8d[:-o] Dan
 
Old 01-15-2015, 06:47 PM   #2
boogerballs
LQ Newbie
 
Registered: Jan 2015
Posts: 6

Rep: Reputation: Disabled
I don't know of any macro software for linux, a google search led me to this:
https://xnee.wordpress.com/
I've never tried this, though. I can't tell you whether it works well or not.

You could probably script it all in python using a library like this to send keyboard + mouse events
http://python-evdev.readthedocs.org/en/latest/

It can be made way better and more complicated, though. For instance, you could check whether windows are minimized or not, and also check their size, position, etc.

Don't know much about doing that, though. I assume it would be different for each DE and probably each window manager.
 
Old 01-20-2015, 02:28 PM   #3
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by boogerballs View Post
I don't know of any macro software for linux, a google search led me to this:
https://xnee.wordpress.com/
I've never tried this, though. I can't tell you whether it works well or not.
I'll check this out...

Quote:
Originally Posted by boogerballs View Post
You could probably script it all in python using a library like this to send keyboard + mouse events
http://python-evdev.readthedocs.org/en/latest/

It can be made way better and more complicated, though. For instance, you could check whether windows are minimized or not, and also check their size, position, etc.
I know about this/these libraries. I was hoping that there was some way to collect all of the events -- open/close window, mouse click, copy/cut/past, key entry -- into some sort of file. The file could either inform a script generator to use those libraries, or it could be parsed to drive a control program.

Thanks in advance,
~~~ 0;-Dan
 
Old 01-22-2015, 02:21 AM   #4
orasis
Member
 
Registered: Mar 2008
Distribution: Slackware, Free-BSD
Posts: 53

Rep: Reputation: 34
GNU Xnee
 
1 members found this post helpful.
Old 01-22-2015, 12:02 PM   #5
SaintDanBert
Senior Member
 
Registered: Jan 2009
Location: "North Shore" Louisiana USA
Distribution: Mint-20.1 with Cinnamon
Posts: 1,771

Original Poster
Blog Entries: 3

Rep: Reputation: 108Reputation: 108
Quote:
Originally Posted by orasis View Post
GNU Xnee
As you suggested, I found: GNU Xnee that says, "Xnee is a suite of programs that can record, replay and distribute user actions under the X11 environment. Think of it as a robot that can imitate the job you just did." Other information about Xnee can be found here Full Xnee description.

This looks exactly like what I want.

NOTE that it is an X11 (X-windows) tool suite, and "X11" is what is underneath

X-Windows System description

... and ...

The X-Open Group

most of the desktop screen behaviors. I say, "most" because recent efforts see X11 and antique because it is client-server which limits performance and extreme fancy display things. This means that some of the modern desktop environment actions and behaviors might not play nicely...

... but they might. Hurray!

I'll report on my progress.
Has anyone got practical experience with GNU Xnee?

Many MANY THANKS, orasis and boogerballs,
~~~ 0;-Dan

Last edited by SaintDanBert; 01-22-2015 at 01:12 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nautilus-actions 3.0 and desktop menu alexbib Linux - Newbie 2 12-25-2010 10:40 PM
Simple app to record video? sw67 Linux - Software 3 11-15-2008 03:05 AM
Remote Desktop through NetBSD, losing connection frequently bhalpin Linux - Networking 2 03-08-2008 10:02 AM
An app to record sound, entirely in text mode (no gfx) wilsonsamm Linux - Software 3 08-12-2006 05:34 PM
GtkAdjustment interactions mvt Programming 0 05-19-2004 12:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration