Comment 32 for bug 1274740

Revision history for this message
Alberts Muktupāvels (muktupavels) wrote : Re: [Bug 1274740] Re: Re-enable traditional titlebar on 'gnome-but-not-shell' sessions too

On Wed, Mar 9, 2016 at 5:16 AM, Tim <email address hidden> wrote:

> The usage of XDG_CURRENT_DESKTOP in nautilus should be fixed. Most of
> the patches predate the standardisation of XDG_CURRENT_DESKTOP which now
> allows for multiple desktop names.
>

Did you upload new nautilus package? When I wrote it it was about patches
in last uploaded version in xenial. Also it is not only about old
patches/code, same problem is with new patches/code - mostly it is simple
g_strcmp0...

As for "GNOME-Flashback:Unity" vs "GNOME-Flashback:GNOME", switching
> would mean going back to gnome-settings-daemon/gnome-control-center.
>

That is right thing... GNOME Flashback should work with GNOME components
not Unity.

> Does flashback have full support now for monitor config, idle monitor,
> input device settings and other bits that were removed from gnome-
> settings-daemon since 3.10. You will probably find that many apps will
>

Yes at least for monitor config, idle monitor.

> also switch to using CSD's and appmenu's (as a button), rather than
> traditional menus.
>

That is how it should work.

On Wed, Mar 9, 2016 at 6:48 AM, Khurshid Alam <email address hidden>
wrote:

> Why don't we use it like gedit? i.e
>
> +static gboolean
> +in_desktop (const gchar *name)
> +{
> + const gchar *desktop_name_list;
> + gchar **names;
> + gboolean in_list = FALSE;
> + gint i;
> +
> + desktop_name_list = g_getenv ("XDG_CURRENT_DESKTOP");
> + if (!desktop_name_list)
> + return FALSE;
> +
> + names = g_strsplit (desktop_name_list, ":", -1);
> + for (i = 0; names[i] && !in_list; i++)
> + if (strcmp (names[i], name) == 0) {
> + in_list = TRUE;
> + break;
> + }
> + g_strfreev (names);
> +
> + return in_list;
> +}
>
> Then we can use : if (in_desktop ("Unity"))
>

I guess something like that could be part of glib API...

And no I don't like going back to GNOME-Flashback:GNOME. Many things
> will be broken. Lots of things need to be patched which we don't want in
> LTS.
>

Be more specific - please give me list of broken things so I can fix that.

> (BTW, In Ubuntu, we can still reach nautilus preference if we add
> indicator-applet-appmenu to the panel. Although its a personal choice)
>

Not a solution.

--

There was time when GNOME Flashback was really in bad shape upstream, but
things have improved - it definitely is not that good as I would like, but
it should be usable.

Arch has added GNOME Flashback back to community repository with message -
"It became usable with GNOME 3.18". From ubuntu forum:

In my case, I've rebuilt some flashback packages with git codebase and now
> it works almost fine with Gtk+ 3.19.3, Gdm 3.19.2 and much more the
> bleeding-edge codebases...
>
> By the way, now I think we might be able to say good-bye to
> 'unity-related' packages. Actually my flashback could run with
> gnome-settings-daemon and without any indicator packages... But ibus seems
> to tweak a bit more to run automatically when login into flashback though.
>

P.S. The problem is not only with nautilus. Looks like Ambiance is and will
be Unity only theme. It not updated to support csd windows. It does not
work good with mutter, metacity - CSD windows are not resizable, windows
has problem with rounded corners...