Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Closing X Applications, Command for normally closing X apps
post Jan 2 2004, 05:00 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 2-January 04
Member No.: 2,062

Hello. I am trying to write a shell script to better utilize my multimedia keys (I have them working fine). Basically I want the button to execute a script that checks if the program is running, in this case zapping. If it is I want it to close it, if it is not, I want it to start the program. I have all the conditions set right, that is not what I need help with. Rather I simply need to know if there is a shell command to cause an x program to exit normally. I checked the zapping man page and found no help there. Kill is not a good idea. One, I'm assuming you shouldn't use that unless the app hangs and Two, I've already experimented with it and it leaves the audio going. Any help would be greatly appreciated.
I have Mandrake 9.1 running KDE and Zapping 0.6.5.
Thank you ahead of time.

Want movies formatted especially for your Pocket PC? Check out PPC Vidz
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 15th July 2018 - 02:54 PM