[Sugar-devel] Activity

James Cameron quozl at laptop.org
Mon Mar 25 17:29:21 EDT 2019


Thanks.  Further discussion in pull request.

Please also read
https://github.com/sugarlabs/sugar-docs/blob/master/src/contributing.md

On Mon, Mar 25, 2019 at 04:36:34PM +0530, kushagra nigam wrote:
> Dear Sir,
> 
> You are indeed right! However after tinkering with the Sugar files, I got to
> know that cursor theme of the instance Gio.Settings changes the cursor theme of
> the GNOME Desktop but does not affect the Default folder (/usr/share/icons/
> default) which contains the settings of the default cursor theme which you have
> set. So changing the cursor theme to default in the function
> _start_window_manager helps and works! 
> 
> I started by taking a global variable of initial settings and then re-applying
> those settings before the exit of Sugar. This was absolutely right but I
> discovered/observed something easier later! :-)
> 
> I have edited the main.py file and created a pull request.
> 
> Sincerely
> Kushagra Nigam
> [1]kushagra1998 at gmail.com
> 
> On Mon, 25 Mar 2019 at 06:11, James Cameron <[2]quozl at laptop.org> wrote:
> 
>     Yes, the Sugar cursor affects the GNOME desktop environment.
> 
>     This is caused by
>     [3]https://github.com/sugarlabs/sugar/blob/master/src/jarabe/main.py#L205
>     where the GNOME desktop cursor theme is changed to the Sugar theme.
> 
>     Workaround is to use gsettings to change cursor-theme in
>     org.gnome.desktop.interface back to what it was.  Yes, you can use
>     dconf to reset all settings, but that has many side-effects.
> 
>     If this problem bothers anyone who wants to fix it, the fix I'm
>     interested in seeing is;
> 
>     * read the value of cursor-theme before changing it in the
>       _start_window_manager function,
> 
>     * keep the Gio.Settings instance instead of deleting at end of the
>       _start_window_manager function,
> 
>     * restore the old value in the _stop_window_manager function.
> 
>     This should fix the problem for future users.
> 
>     On Sat, Mar 23, 2019 at 11:28:34AM +0530, kushagra nigam wrote:
>     > Subject : Help needed for the proposal
>     > Dear Sir,
>     >
>     > Last day I was working with with the Sugar activities. I read the
>     documentation
>     > and setup the environment. I made this hello-world activity which was
>     > instructed there and even used some of the artworks. I want to ask how
>     should I
>     > proceed with the project? Should I make a layout on GTK+3 and push it
>     onto my
>     > github (But that'll take some time) or just writing a detailed proposal
>     of how
>     > will I get along with the project every week would do the job? Please
>     help me!!
>     >
>     > Secondly i discovered this issue:
>     > I have installed 'Sucrose' in my Ubuntu. Whenever I logout and login with
>     the
>     > SUGAR environment, it is good. However when I log out from SUGAR and come
>     back
>     > to Ubuntu, I still have that big cursor on my screen (The sugar one),
>     that is
>     > the original cursor is replaced by the SUGAR one. Is this a problem with
>     > everyone?
>     > A hack which I came up is to Reset the settings when you come back to
>     Ubuntu (
>     > dconf reset -f / ) but that resets each and every setting.
>     >
>     > Sincerely
>     > Kushagra Nigam
>     >
>     > On Fri, 22 Mar 2019 at 14:20, kushagra nigam <[1][4]
>     kushagra1998 at gmail.com> wrote:
>     >
>     >     Dear Sir,
>     >
>     >     I have searched through the Sugar activities like Hangman, Memorize
>     etc.
>     >     What I meant by the game repositories are the activity repositories
>     of
>     >     games like these so that I can install these into my device, get to
>     know
>     >     about the environment better, think about how will I go on to do my
>     task
>     >     (planning is a necessary thing), and eventually write a detailed
>     proposal.
>     >     I'm really excited to build this project :)
>     >
>     >     Sincerely
>     >     Kushagra Nigam
>     >     [2][5]kushagra1998 at gmail.com
>     >
>     >     On Fri, 22 Mar 2019 at 13:34, James Cameron <[3][6]quozl at laptop.org>
>     wrote:
>     >
>     >         kushagra nigam wrote:
>     >         > You are absolutely right. The "they are cheating button" will
>     not
>     >         > only serve the purpose of someone writing the text but also if
>     >         someone
>     >         > speaking it up in the public.
>     >
>     >         Yes, indeed.
>     >
>     >         > I'm up for this task.
>     >
>     >         Great!
>     >
>     >         > Could you please help me with some of the game repositories
>     (python)
>     >         > so that I can get an edge before submitting the final proposal?
>     >
>     >         Sorry, I don't understand your question.  What are game
>     repositories?
>     >
>     >         All proposals and candidates will be treated fairly, of course.
>     >         You'll have the same edge as anyone else.  ;-)
>     >
>     >         --
>     >         James Cameron
>     >         [4][7]http://quozl.netrek.org/
>     >         _______________________________________________
>     >         Sugar-devel mailing list
>     >         [5][8]Sugar-devel at lists.sugarlabs.org
>     >         [6][9]http://lists.sugarlabs.org/listinfo/sugar-devel
>     >
>     > References:
>     >
>     > [1] mailto:[10]kushagra1998 at gmail.com
>     > [2] mailto:[11]kushagra1998 at gmail.com
>     > [3] mailto:[12]quozl at laptop.org
>     > [4] [13]http://quozl.netrek.org/
>     > [5] mailto:[14]Sugar-devel at lists.sugarlabs.org
>     > [6] [15]http://lists.sugarlabs.org/listinfo/sugar-devel
> 
>     > _______________________________________________
>     > Sugar-devel mailing list
>     > [16]Sugar-devel at lists.sugarlabs.org
>     > [17]http://lists.sugarlabs.org/listinfo/sugar-devel
> 
>     --
>     James Cameron
>     [18]http://quozl.netrek.org/
>     _______________________________________________
>     Sugar-devel mailing list
>     [19]Sugar-devel at lists.sugarlabs.org
>     [20]http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> References:
> 
> [1] mailto:kushagra1998 at gmail.com
> [2] mailto:quozl at laptop.org
> [3] https://github.com/sugarlabs/sugar/blob/master/src/jarabe/main.py#L205
> [4] mailto:kushagra1998 at gmail.com
> [5] mailto:kushagra1998 at gmail.com
> [6] mailto:quozl at laptop.org
> [7] http://quozl.netrek.org/
> [8] mailto:Sugar-devel at lists.sugarlabs.org
> [9] http://lists.sugarlabs.org/listinfo/sugar-devel
> [10] mailto:kushagra1998 at gmail.com
> [11] mailto:kushagra1998 at gmail.com
> [12] mailto:quozl at laptop.org
> [13] http://quozl.netrek.org/
> [14] mailto:Sugar-devel at lists.sugarlabs.org
> [15] http://lists.sugarlabs.org/listinfo/sugar-devel
> [16] mailto:Sugar-devel at lists.sugarlabs.org
> [17] http://lists.sugarlabs.org/listinfo/sugar-devel
> [18] http://quozl.netrek.org/
> [19] mailto:Sugar-devel at lists.sugarlabs.org
> [20] http://lists.sugarlabs.org/listinfo/sugar-devel

> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel


-- 
James Cameron
http://quozl.netrek.org/


More information about the Sugar-devel mailing list