Results 1 to 2 of 2
Lately sometimes metacity dosn't get startet. I've to open a terminal to start it manually. Is there a way to create a script which checks if metacity got started and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-02-2007 #1
How to check if metacity is running?
Lately sometimes metacity dosn't get startet. I've to open a terminal to start it manually. Is there a way to create a script which checks if metacity got started and if not the script will do it for me?
- 05-06-2007 #2Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 468
provided X is already started, but no other window
manager is running, try this:
if ! `ps -a | grep -s metacity`
then exec metacity
fithe sun is new every day (heraclitus)


Reply With Quote
