LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-07-2007, 03:35 AM   #1
Kyrocera
LQ Newbie
 
Registered: Dec 2006
Distribution: Redhat Enterprise
Posts: 4

Rep: Reputation: 0
Matrix linux program


Hey peeps,

Wasnt sure where to put this or how to search for it.

Is there like a script or program you can run that opens windows, closes windows, types thing into the terminal etc... like in the matrix when neo is sleeping his computer is doing loads of stuff, you know what i mean?

Cheers for your help.
 
Old 02-07-2007, 03:51 AM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
You can always use perl or python... but a shell script, dialog or something similar can display things in X. Im not sure exactly what you want tho. Perhaps you should look into creating your own set of programs to do this.

Anyways, xmessage that ships with X can display a message in X, tho its rather ugly, dialog and other copycat programs (like kdialog and gtkdialog) i think gives more flexibility.

FVWM can send fake mouse clicks and text input to windows, it also has a module that allows you to create GUI forms, and its also scriptable.

Its fairly simple to do fake event sending in X, tho, im unable to find any program from my short skimper thru the utils that start with "x" that can do this, but it is possible to do. However, programs can also tell when something has been faked, the X server lets them know, but they have to manually check the data they get from the X server to see if it was faked. This is so applications can secure themselfs, most allow fake events.

edit: also, its possible for other programs to control windows of another program, a good example is getting mplayer to play within the root window by telling mplayer the window ID of the window to display in. Another program that i know of that allows you to input the window ID is display, a image viewer from imagemagick. Its possible, but not every program allows you to say what window to use. I know worker (a file manager) does this to get image viewing programs like display to work within a window created and managed by worker. Its really just a matter of what do you want, and does something already exist that can do it. Like i said, if you have time on your hands, you can always look into creating your own tools to create/destroy windows, and do other things.

Last edited by SciYro; 02-07-2007 at 03:56 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Steve Ballmer, Bill Gates, Linux and Matrix? Wow, what combo... Mega Man X General 8 07-28-2006 06:27 PM
Matrix Linux ryancoolest Linux - Newbie 2 09-13-2004 08:28 PM
Matrix Linux ryancoolest Linux - Hardware 1 09-13-2004 04:36 AM
How to add graphics mode to dot-matrix printer driver in linux varsha_shelke Linux - General 0 02-21-2004 01:44 AM
Matrix Linux Poll StonedZealot General 64 05-29-2003 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:56 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