Stop the Journal activity from automatically starting

Share uncovered secrets, useful notes, guides and hacks!

Stop the Journal activity from automatically starting

Postby BunnyEars » Fri Apr 04, 2008 1:53 am

To stop the Journal activity from automatically starting with Sugar, edit the file /usr/share/sugar/shell/view/Shell.py;

(joyride-1822 and earlier) lines 97-99;
(joyride-1823 and later) lines 94-96:
Code: Select all
        # registry = activity.get_registry()
        # if registry.get_activity('org.laptop.JournalActivity'):
        #    self.start_activity('org.laptop.JournalActivity')

You can comment the lines to start nothing, or you an change 'org.laptop.JournalActivity' to start another activity (like 'org.laptop.Terminal', 'org.laptop.WebActivity', or 'org.laptop.AbiWordActivity').

The change takes effect the next time Sugar is restarted. I do not know what negative consequences this change might have. The change will not survive an 'olpc-update'.
BunnyEars
 
Posts: 8
Joined: Thu Apr 03, 2008 6:03 am

Return to Tips, Tricks & Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest

cron