Fixed mintmenu reset (use gsettings instead of mateconf)
This commit is contained in:
parent
4b7ec202ca
commit
b1849f6195
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user