After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 695088 - GNOME Classic forces desktop icons
GNOME Classic forces desktop icons
Status: RESOLVED OBSOLETE
Product: nautilus
Classification: Core
Component: Desktop
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on: 746592
Blocks:
 
 
Reported: 2013-03-03 22:12 UTC by Jeremy Bicha
Modified: 2018-01-02 18:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeremy Bicha 2013-03-03 22:12:29 UTC
1. Log in to the new GNOME Classic mode in GNOME Shell 3.7.90+
2. gsettings set org.gnome.desktop.background show-desktop-icons 'false'

What happens
------------
The desktop icons disappear but come back the next time you log in to GNOME Classic.

Suggestion
----------
I'm thinking that we need an extra gsettings schema (perhaps something like org.gnome.desktop.backgrounds show-desktop-icons-classic).

I think GNOME Fallback might like to enable desktop icons by default too. However, the ability to override the default is pretty important especially since nautilus-classic is listed in the RequiredComponents section of the gnome-session file.
Comment 1 Matthias Clasen 2013-03-04 11:39:36 UTC
I would just make nautilus ignore the setting entirely when in classic mode.
Or just make it ignore the setting, period.
Comment 2 Jeremy Bicha 2013-03-04 13:21:31 UTC
Matthias, I don't think that's a good idea. Why can't people choose whether they want to see desktop icons or not? It shouldn't be hardcoded into the gnome-session file.

This could also have been done with an autostart file and it's not too hard to override autostarting. GNOME Classic & GNOME Fallback would have to identify as something other than GNOME though which would need a fair amount of work to make happen.
Comment 3 Matthias Clasen 2013-03-05 03:06:21 UTC
Not sure what that fallback thing is you keep mentioning...it doesn't exist anymore. Anyway, we've avoided autostart for the reason you mention. Nautilus actually ships an autostart file that has a condition for show-desktop-icons. The problem is that we can't easily and cleanly override the setting in classic mode. We do override a few settings, but that only works because gnome-shell already has an overrides system for those.
Comment 4 Jeremy Bicha 2013-03-05 04:12:42 UTC
Just because GNOME developers dropped Fallback mode from Core and ripped out support from gnome-settings-daemon and elsewhere doesn't mean it doesn't exist any more. There are people that still want to run it and I don't think Debian or Edubuntu is ready to see it die yet. (I personally use GNOME Shell and like it but I hear feedback.)

Anyway, I believe there's good reason to allow the default to be overridden by users and I believe my suggested fix in the original bug description would work and could be integrated nicely in Tweak Tool.
Comment 5 Matthias Clasen 2013-03-06 00:05:34 UTC
If you want desktop icon rendering to live on, please help with moving it to a standalone process. That way, nautilus can evolve to be a real application.
Comment 6 Matthias Clasen 2013-03-06 00:06:57 UTC
(In reply to comment #4)
> Just because GNOME developers dropped Fallback mode from Core and ripped out
> support from gnome-settings-daemon and elsewhere doesn't mean it doesn't exist
> any more.

Yes, it does not exist anymore as GNOME Fallback mode. That was the entire point of dropping it - we get out of maintaining all the compromises and workarounds that it required...
Comment 7 Philipp 2013-09-26 05:10:45 UTC
Matthias, how would we go about moving desktop icon rendering to a standalone process ? What widget(s) did nautilus use last for doing this ? Is there a general thumbnailing infrstructure yet we could reuse for this ?

I'm asking from the POV of the Flashback session team, BTW; the needs for Classic session might differ.
Comment 8 Matthias Clasen 2013-09-26 12:18:14 UTC
The class that is used is NautilusDesktopWindow.
Comment 9 yefexe7584 2013-10-24 07:32:48 UTC
It's a long shot but what about using pcmanfm to render the desktop in gnome flashback (fallback) ?

The command pcmanfm --desktop does the job. The desktop can be right clicked, icons can be added and the wallpaper can be set. The only regression I can find is that the wallpaper can no longer be set from gnome-control-center
Comment 10 Michael Catanzaro 2016-09-17 02:41:57 UTC
I don't want to leave this bug open forever. Classic mode exists only to cater to conservative users. Surely the target audience here is people who want desktop icons?

I think Jeremy was mostly concerned about the old fallback mode; surely that ship has long since sailed.
Comment 11 Michael Biebl 2017-01-03 13:50:09 UTC
(In reply to Michael Catanzaro from comment #10)
> I don't want to leave this bug open forever. Classic mode exists only to
> cater to conservative users. Surely the target audience here is people who
> want desktop icons?
> 
> I think Jeremy was mostly concerned about the old fallback mode; surely that
> ship has long since sailed.

I don't think so. Jeremy's point was, that users of the Classic mode are forced to use icons on the desktop and can not disable it anymore.
I agree it's good to have desktop icons for GNOME Classic users by default. On the other hand I don't see a good reason why it should be forbidden for those users to disable that feature if they prefer so.
Comment 12 Carlos Soriano 2017-01-04 09:19:03 UTC
I really don't want to reintroduce the logic we had for that, now that the desktop and nautilus are separated in different processes. That lead to a fair amount of complexity.

The classic desktop is intended for that visual and workflow we had in gnome2 days.

In case you only want part of it, you can still install those parts (the gnome-shell extensions).

So I'm marking as WONTFIX since you are able to install and use parts of the classic desktop separately, instead of adding settings for all of its parts.
Comment 13 Michael Biebl 2017-01-04 12:13:43 UTC
(In reply to Carlos Soriano from comment #12)

> In case you only want part of it, you can still install those parts (the
> gnome-shell extensions).
> 
> So I'm marking as WONTFIX since you are able to install and use parts of the
> classic desktop separately, instead of adding settings for all of its parts.

Hm, can you tell me how I can disable icons on a desktop as regular user?
Comment 14 yefexe7584 2017-01-04 12:30:49 UTC
If you want GNOME Classic without the desktop icons, you could create a GNOME session based upon the GNOME Classic session but which doesn't specify nautilus-classic as a required component. See https://wiki.archlinux.org/index.php/GNOME/Tips_and_tricks#Custom_GNOME_sessions
Comment 15 Michael Biebl 2017-01-04 12:31:51 UTC
(In reply to Charles Bos from comment #14)
> If you want GNOME Classic without the desktop icons, you could create a
> GNOME session based upon the GNOME Classic session but which doesn't specify
> nautilus-classic as a required component. See
> https://wiki.archlinux.org/index.php/GNOME/
> Tips_and_tricks#Custom_GNOME_sessions

That's not possible as a lowly user
Comment 16 Carlos Soriano 2017-01-04 13:13:38 UTC
(In reply to Michael Biebl from comment #13)
> (In reply to Carlos Soriano from comment #12)
> 
> > In case you only want part of it, you can still install those parts (the
> > gnome-shell extensions).
> > 
> > So I'm marking as WONTFIX since you are able to install and use parts of the
> > classic desktop separately, instead of adding settings for all of its parts.
> 
> Hm, can you tell me how I can disable icons on a desktop as regular user?

You mean using classic mode? It's not possible, classic mode is intended to use as it was gnome 2, including desktop icons and all of those gnome-shell extensions.

You mean you want a custom mix between classic mode and not classic? Then is what I suggested, install the gnome-shell extensions and theme you want or/and activate desktop icons.
Comment 17 yefexe7584 2017-01-04 14:46:42 UTC
(In reply to Michael Biebl from comment #15)
> (In reply to Charles Bos from comment #14)
> > If you want GNOME Classic without the desktop icons, you could create a
> > GNOME session based upon the GNOME Classic session but which doesn't specify
> > nautilus-classic as a required component. See
> > https://wiki.archlinux.org/index.php/GNOME/
> > Tips_and_tricks#Custom_GNOME_sessions
> 
> That's not possible as a lowly user

Whoops, I missed that bit. In that case, I think killing nautilus on startup in a GNOME Classic session should do the trick though I don't have a GNOME Classic desktop in front of me to test this on. Not a very clean solution I'll admit. Or you could turn on the GNOME Classic extensions in a standard GNOME session as was suggested above.
Comment 18 Michael Biebl 2017-01-04 15:12:04 UTC
(In reply to Carlos Soriano from comment #16)
> (In reply to Michael Biebl from comment #13)
> > (In reply to Carlos Soriano from comment #12)
> > 
> > > In case you only want part of it, you can still install those parts (the
> > > gnome-shell extensions).
> > > 
> > > So I'm marking as WONTFIX since you are able to install and use parts of the
> > > classic desktop separately, instead of adding settings for all of its parts.
> > 
> > Hm, can you tell me how I can disable icons on a desktop as regular user?
> 
> You mean using classic mode? It's not possible, classic mode is intended to
> use as it was gnome 2, including desktop icons and all of those gnome-shell
> extensions.

Well, GNOME 2 did show desktop icons by default, but it had a gconf key
/apps/nautilus/preferences/show_desktop where you could turn that off.
That's basically what I'm asking for.

Show desktop icons by default in GNOME Classic mode, but provide a gsettings key to turn that off.

> You mean you want a custom mix between classic mode and not classic?

Hm no, that's not what I meant.

I think jbicha's idea is the right one. Since we want different defaults for show-desktop-icons, we'd need two different gsettings keys with different defaults.
The show-desktop-icons-classic key would only be read when nautilus-desktop is started in classic mode
Comment 19 Carlos Soriano 2017-01-04 15:50:09 UTC
I guess that would be fine, I was wrong we need to return back the complex logic we had. But honestly I have not much interest on this, and not sure the code would look neat, I guess worth a try for those interested in this.
Comment 20 Jeremy Bicha 2017-10-14 20:54:55 UTC
This can be easily solved once the per-session overrides feature lands in glib2.0.
Comment 21 Carlos Soriano 2018-01-02 18:34:36 UTC
This one is "fixed" now :)

https://gitlab.gnome.org/GNOME/nautilus/issues/158