/usr/bin/cinnamon-settings is in cinnamon 2.2.16-5.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #! /usr/bin/python
import os, sys
if len(sys.argv) > 1:
module = sys.argv[1]
if os.path.exists("/usr/share/cinnamon/cinnamon-settings/modules/cs_%s.py" % module):
print "Python module"
os.execvp("/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", ("",) + tuple(sys.argv[1:]))
elif os.path.exists("/usr/bin/cinnamon-control-center"):
print "Unknown module %s, using cinnamon-control-center" % module
os.execvp("/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", ("",) + tuple(sys.argv[1:]))
elif os.path.exists("/usr/bin/gnome-control-center"):
print "Unknown module %s, calling gnome-control-center" % module
os.execvp("gnome-control-center", ("",) + tuple(sys.argv[1:]))
else:
print "Unkown module %s" % module
os.execvp("/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", ("",) + tuple(sys.argv[1:]))
else:
os.execvp("/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", ("",) + tuple(sys.argv[1:]))
|