[Sugar-devel] Activity
kushagra nigam
kushagra1998 at gmail.com
Mon Mar 25 07:06:34 EDT 2019
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
kushagra1998 at gmail.com
On Mon, 25 Mar 2019 at 06:11, James Cameron <quozl at laptop.org> wrote:
> Yes, the Sugar cursor affects the GNOME desktop environment.
>
> This is caused by
> 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]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]kushagra1998 at gmail.com
> >
> > On Fri, 22 Mar 2019 at 13:34, James Cameron <[3]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]http://quozl.netrek.org/
> > _______________________________________________
> > Sugar-devel mailing list
> > [5]Sugar-devel at lists.sugarlabs.org
> > [6]http://lists.sugarlabs.org/listinfo/sugar-devel
> >
> > References:
> >
> > [1] mailto:kushagra1998 at gmail.com
> > [2] mailto:kushagra1998 at gmail.com
> > [3] mailto:quozl at laptop.org
> > [4] http://quozl.netrek.org/
> > [5] mailto:Sugar-devel at lists.sugarlabs.org
> > [6] 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/
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20190325/43a8858b/attachment.html>
More information about the Sugar-devel
mailing list