mintmenu/usr/bin/mintmenu
2011-11-18 10:42:20 +00:00

14 lines
524 B
Python
Executable File

#!/usr/bin/python
import sys, os
if len(sys.argv) > 1:
if (sys.argv[1] in ["clean", "clear", "reset", "--clean", "--clear", "--reset"]):
os.system("mateconftool-2 --recursive-unset /apps/mintMenu")
os.system("rm -rf ~/.linuxmint/mintMenu")
os.system("mateconftool-2 --recursive-unset /apps/mintMenu")
os.system("rm -rf ~/.linuxmint/mintMenu")
print "All mintMenu settings are now restored to default"
else:
os.system("/usr/lib/linuxmint/mintMenu/mintMenu.py run-in-window")