You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

50 lines
1.4 KiB

  1. #!/usr/bin/python2
  2. DOMAIN = "cinnamon"
  3. PATH = "/usr/share/locale"
  4. import os, gettext, sys
  5. sys.path.append('/usr/lib/linuxmint/common')
  6. import additionalfiles
  7. os.environ['LANGUAGE'] = "en_US.UTF-8"
  8. gettext.install(DOMAIN, PATH)
  9. prefix = """[Desktop Entry]
  10. Exec=cinnamon-settings
  11. Icon=preferences-system
  12. Terminal=false
  13. Type=Application
  14. Categories=Settings;
  15. StartupNotify=false
  16. OnlyShowIn=X-Cinnamon;
  17. Keywords=Preferences;Settings;
  18. """
  19. additionalfiles.generate(DOMAIN, PATH, "files/usr/share/applications/cinnamon-settings.desktop", prefix, _("System Settings"), _("Control Center"), "")
  20. prefix = """[Desktop Entry]
  21. Exec=cinnamon-settings-users
  22. Icon=system-users
  23. Terminal=false
  24. Type=Application
  25. Categories=System;Settings;
  26. StartupNotify=false
  27. OnlyShowIn=X-Cinnamon;
  28. Keywords=Preferences;Settings;
  29. """
  30. additionalfiles.generate(DOMAIN, PATH, "files/usr/share/applications/cinnamon-settings-users.desktop", prefix, _("Users and Groups"), _("Add or remove users and groups"), "")
  31. prefix = """[Desktop Entry]
  32. Exec=dbus-send --print-reply --dest=org.Cinnamon /org/Cinnamon org.Cinnamon.ToggleKeyboard
  33. Icon=keyboard
  34. Terminal=false
  35. Type=Application
  36. Categories=Utility;
  37. OnlyShowIn=X-Cinnamon;
  38. Keywords=onboard;keyboard;caribou;
  39. """
  40. additionalfiles.generate(DOMAIN, PATH, "files/usr/share/applications/cinnamon-onscreen-keyboard.desktop", prefix, _("Virtual keyboard"), _("Turn on-screen keyboard on or off"), "")