Skip to content

Commit

Permalink
Disable MATE/Cinnamon screensavers during installation
Browse files Browse the repository at this point in the history
  • Loading branch information
clefebvre committed Nov 5, 2014
1 parent 3c088ef commit fb17f39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/ubiquity-wrapper
Expand Up @@ -18,6 +18,10 @@ def main():
frontend = None
toexec = []

#Disable the screensaver to prevent a segfault situation in GTK2
os.system("sudo -u mint gsettings set org.cinnamon.desktop.screensaver lock-enabled false 2> /dev/null")
os.system("sudo -u mint gsettings set org.mate.screensaver lock-enabled false 2> /dev/null")

if os.getenv('GTK_MODULES', False):
os.environ['GTK_MODULES'] += os.pathsep + 'overlay-scrollbar'
else:
Expand Down

0 comments on commit fb17f39

Please sign in to comment.