#1025762 gnome-session: Install and enable appindicator and desktop icons NG extensions

#1025762#5
Date:
2022-12-08 17:52:05 UTC
From:
To:
I propose that Debian enable 2 GNOME Shell extensions by default:
- gnome-shell-extension-appindicator
- gnome-shell-extension-desktop-icons-ng

Justification
----------------
Both those extensions fill gaps in our default desktop. For people
that use desktop icons or app status icons, these extensions are very
useful. For people that don't, the extensions can be basically
ignored.

Ubuntu includes these 2 extensions by default plus a variation of Dash to Dock.

Google has an internal distro for their developers that enables Dash
to Panel and appindicators. As of a few months ago, they were
considering adding Desktop Icons NG also.

I am expecting GNOME Classic, as early as GNOME 44, to re-enable
desktop icons by default and the Desktop Icons NG extension to be
moved upstream to the gnome-shell-extensions project.

There has been discussion about GNOME eventually enabling some sort of
app status icon feature by default, but work on the spec and
implementation appears stalled.

I think a discussion of adding Dash to Dock or Dash to Panel by
default should be discussed in a separate bug.

Implementation
---------------------
I suggest that we adapt similar work done by Ubuntu to add a GNOME
Shell mode and corresponding gnome-session files.

A GNOME Shell mode allows enabling specific extensions by default and
also allows enabling a few other customizations. GNOME itself uses a
GNOME Shell mode for GNOME Classic and the GNOME Initial Setup new
user mode. Ubuntu and Pop!_OS use GNOME Shell modes too.

The session identifies itself with the environment variable
XDG_CURRENT_DESKTOP=debian:GNOME

gsettings overrides can be set for just this debian session or for
GNOME sessions in general. For an example, see
https://git.launchpad.net/~ubuntu-desktop/ubuntu/+source/ubuntu-settings/tree/debian/ubuntu-settings.gsettings-override#n67

If anyone prefers the upstream experience, they can install the binary
package 'gnome-session' which I'm proposing we no longer install by
default.

This will need changes to our packaging for gnome-shell and
gnome-session. Later, we'll also need to patch gdm3 to prefer the new
Debian session instead of GNOME.

Thank you,
Jeremy Bicha

#1025762#8
Date:
2022-12-08 17:59:15 UTC
From:
To:
Hello,

Bug #1025762 in gnome-shell reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/gnome-team/gnome-shell/-/commit/fa69161950b06400eb40dd0f574b8866f8265285
------------------------------------------------------------------------
Add a debian.json to define a custom GNOME Shell mode for Debian

which will enable Desktop Icons NG & Ubuntu AppIndicators
by default

Closes: #1025762

Gbp-Dch: Full
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1025762

#1025762#15
Date:
2022-12-08 18:07:05 UTC
From:
To:
Here are merge proposals:

https://salsa.debian.org/gnome-team/gnome-shell/-/merge_requests/67
https://salsa.debian.org/gnome-team/gnome-session/-/merge_requests/11

And there's more explanation at https://bugs.debian.org/1025762

I'd like to land this soon so that it's included in Debian 12 and I'd
appreciate review first.

Thank you,
Jeremy Bicha

#1025762#18
Date:
2022-12-12 13:53:49 UTC
From:
To:
Hello,

Bug #1025762 in gnome-shell reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/gnome-team/gnome-shell/-/commit/2373ab904c036e7c0bb253f331cd03416b1a171a
------------------------------------------------------------------------
Add a debian.json to define a custom GNOME Shell mode for Debian

which will enable Desktop Icons NG & Ubuntu AppIndicators
by default

Closes: #1025762

Gbp-Dch: Full
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1025762