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.
 
 
 
 
 
 

51 lines
1.4 KiB

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