diff --git a/usr/bin/mintmenu b/usr/bin/mintmenu index 2f72a9c..e2f90c2 100755 --- a/usr/bin/mintmenu +++ b/usr/bin/mintmenu @@ -4,9 +4,11 @@ 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("gsettings reset-recursively com.linuxmint.mintmenu") + os.system("gsettings reset-recursively com.linuxmint.mintmenu.plugins.places") + os.system("gsettings reset-recursively com.linuxmint.mintmenu.plugins.applications") + os.system("gsettings reset-recursively com.linuxmint.mintmenu.plugins.recent") + os.system("gsettings reset-recursively com.linuxmint.mintmenu.plugins.system_management") os.system("rm -rf ~/.linuxmint/mintMenu") print "All mintMenu settings are now restored to default" else: