Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-01-2009, 11:37 AM
|
#1
|
LQ Newbie
Registered: Nov 2008
Posts: 8
Rep:
|
Desktop Automation Tool
Hello Everybody!
I am currently using KDE and I am looking for a tool that can automate mouse movements and keyboard input in a desktop manager. This is basically a Macro feature for the desktop.
Thanks,
Terry
|
|
|
01-01-2009, 12:00 PM
|
#2
|
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852
|
The traditional way is to use xmacro, but xmacro is rather difficult to use, there's limited documentation, and doesn't have a lot of flexibility.
But you're in luck. There are now a couple of new macro recording programs available. One is JW Record-Playback, a new gui macro application written in Python.
The second one (I just discovered) is xnee, the gnu macro program. It can be used from the command line or with one of several gui frontends.
I haven't yet used either of the last two personally, but they seem easy enough to use. Check them out and let us know what you think.
|
|
|
01-01-2009, 01:25 PM
|
#3
|
Member
Registered: Apr 2003
Location: Stockholm/Sweden
Distribution: Kubuntu, Debian, Slax
Posts: 91
Rep:
|
Unless you've upgraded to KDE4, you can use DCOP.
It won't move the mouse cursor for you, but it can probably do every action you normally execute with the mouse:
handling of windows, choosing actions from program menus, etc.
DCOP have been removed from KDE4, which is one of the main reasons I haven't yet upgraded...
Some of my old bookmarks include these links:
http://hoopajoo.net/projects/xautomation.html
http://sweb.cz/tripie/utils/wmctrl/
I haven't tried any of those, but perhaps they can fit the bill.
|
|
|
01-01-2009, 08:52 PM
|
#4
|
Member
Registered: Feb 2004
Location: Olympia, WA
Distribution: SolydK
Posts: 442
Rep:
|
The replacement for DCOP is DBUS and is also part of the freedesktop.org effort to standardize services across desktop environments. So, it is also available in GNOME, or will be. It does not seem to offer much yet. But if you use KDE 3.*, DCOP is the way to go. I use it all the time. To discover what is offered by each program you want to automate, try the kdcop program. It will let you browse the available functions. Of course, this only works with KDE programs.
I've looked for similar (scripting) tools for other desktop environments, but KDE seems to be the only desktop that addresses this need. Unfortunately, as was said, KDE 4 removes DCOP, and DBUS is just not ready to replace it yet.
|
|
|
01-01-2009, 10:02 PM
|
#5
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
It depends on what he wants to do. Dcop is a nice idea and concept, it can do some neat things on your desktop. But at application level, very few programs actually use it for something useful. So it depends on the program that you want to control or what do you exactly want to do.
|
|
|
01-03-2009, 07:05 PM
|
#6
|
LQ Newbie
Registered: Dec 2008
Posts: 1
Rep:
|
Hello Everybody!
I'm using centos5 and gnome. I have installed some packages not from official sites. Now some GUI tools cann't run. I known it is because my custom installing. Did Linux have some tools like windows's rollback?
|
|
|
01-04-2009, 01:14 PM
|
#7
|
Member
Registered: Feb 2004
Location: Olympia, WA
Distribution: SolydK
Posts: 442
Rep:
|
You need to start a new thread for a new question.
|
|
|
All times are GMT -5. The time now is 02:39 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|