def __init__(self, **options): self._inhibitor_name = "gnome-tweak-tool-lid-inhibitor" self._inhibitor_path = "%s/%s" % (gtweak.LIBEXEC_DIR, self._inhibitor_name) self._dfile = AutostartFile(None, autostart_desktop_filename = "ignore-lid-switch-tweak.desktop", exec_cmd = self._inhibitor_path) GetterSetterSwitchTweak.__init__(self, _("Don't suspend on lid close"), **options)
def __init__(self, **options): self._xsettings = XSettingsOverrides() name = _("Application Menu") GetterSetterSwitchTweak.__init__(self, name, **options) _GSettingsTweak.__init__(self, name, "org.gnome.desktop.wm.preferences", "button-layout", loaded=_shell_loaded, **options)
def __init__(self, **options): self._xsettings = XSettingsOverrides() GetterSetterSwitchTweak.__init__(self, _("Show Application Menu"), **options)
def __init__(self, **options): self._xsettings = XSettingsOverrides() GetterSetterSwitchTweak.__init__(self, _("Middle-click Paste"), **options)