Skip to content

Commit

Permalink
Do not attempt to restart mate-session-daemon or caja
Browse files Browse the repository at this point in the history
Restart mate-settings-daemon and caja is invasive and unreliable. See https://pad.lv/1728715
  • Loading branch information
flexiondotorg committed Mar 24, 2022
1 parent e684e37 commit b01f102
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mate-tweak
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,11 @@ class MateTweak:
def enable_keyboard_led(self):
self.keyboard_led_enabled = True
self.set_bool('org.mate.peripherals-keyboard-xkb.general', None, 'duplicate-leds', self.keyboard_led_enabled)
self.reload_settings_daemon()
time.sleep(1)
subprocess.call(['caja', '-q'], stdout=DEVNULL, stderr=DEVNULL)
# Disabled as restart the settings-daemon and Caja is invasive and unreliable
# - https://pad.lv/1728715
#self.reload_settings_daemon()
#time.sleep(1)
#subprocess.call(['caja', '-q'], stdout=DEVNULL, stderr=DEVNULL)

def disable_keyboard_led(self):
self.keyboard_led_enabled = False
Expand Down

0 comments on commit b01f102

Please sign in to comment.