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