mintmenu/usr/bin/mintmenu

13 lines
326 B
Plaintext
Raw Permalink Normal View History

2009-07-27 11:45:34 +01:00
#!/usr/bin/python
import sys, os
if len(sys.argv) > 1:
if (sys.argv[1] == "clean"):
print "All mintMenu settings are now restored to default"
os.system("gconftool-2 --recursive-unset /apps/mintMenu")
os.system("rm -rf ~/.linuxmint/mintMenu")
else:
os.system("/usr/lib/linuxmint/mintMenu/mintMenu.py run-in-window")