On my fresh installation of Ubuntu 20.04 a couple of weeks ago, I kept having a problem with Ubuntu's default Gnome extension Desktop Icons, in addition to which it has badly limited functionality.
Unfortunately, it cannot be uninstalled the normal way.
So, I followed instructions (as advised in several places) to uninstall it as follows.
sudo rm --recursive /usr/share/gnome-shell/extensions/desktop-icons@csoriano/ # After making a backup
With that gone, I was able to install the oddly-named but far superior Desktop Icons NG (DING) (by the same author), which works perfectly.
Unfortunately, I get the following error notification several times a day:
Can't install "desktop-icons@csoriano":
This is an extension enabled by your current mode, you can't install manually any update in that session.
I don't know how to stop this error repeating itself. I tried three things.
- Uninstall Desktop Icons NG (DING), and restore the deleted folder from above. That made no difference, and in any case it didn't restore the original Desktop Icons as you might think it would.
- Attempt to manually install Desktop Icons, but it refuses to install, giving the same error.
- Reinstall
gnome-shell-extension-desktop-icons
, which is how Desktop Icons is originally installed. After a reboot, this merely put me back to square 1. (I can't uninstallgnome-shell-extension-desktop-icons
because it would removeubuntu-desktop
.)
I don't know what else to do.
I subsequently reinstalled Desktop Icons NG (DING), otherwise I have nothing on my desktop, but this error continues to notify me several times a day.
Here is my list of extensions.
$ gnome-extensions list
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
I'm using standard Ubuntu 20.04 with Gnome 3.36.3
How can I stop these notifications, please?
I ran into the same issue, and fixed it by manually rebuilding the
desktop-icons@csoriano
folder using their git repository.Apparently you cannot really remove
desktop-icons@csoriano
and other extensions in/usr/share/gnome-shell/extensions/
from the system. They are expected by Ubuntu 20.04 to exist globally. It seems to me like their changes can only be actively overwritten by other (global and local) extensions. Another approach whould be rebuilding a "modified" version of the extension that simply does nothing.Here are the steps to fully reconstruct the original
/usr/share/gnome-shell/extensions/desktop-icons@csoriano/
after deletion:For more information and if you got in trouble while following these steps, visit the official repository and maybe their issue page.
Here are the steps to modify the extension so that that it simply does nothing:
(This might causes issues in future updates of Ubuntu 20.04. To undo this modification, just run
cd /usr/share/gnome-shell/extensions/desktop-icons@csoriano; sudo mv extension.js.old extension.js
.)You mayhaps got in this situation because you followed the official workaround to fix the Ubuntu 20.04's desktop icons by installing nemo alternatively, like I did. I highly recommend you to undo this and wait for an official patch. Updates on a patch can be seen here on launchpad.net. Other workarounds can be seen there as well.
If you want to uninstall
nemo
and wait for an official patch of the issue, do the alternative installation in reverse:**** In "Software and Updates" i enabled (main),(Universe),(restricted) and (multiverse)*** it need universe package to be enabled , you can disable it after installing if you dont need it
Solution 1:: Try reinstalling using command
Then Reboot..
Solution 2:: Try removing package first if it's installed and not working using
then do install again using
Then Reboot.. Hope This Help
But this extension causing problem when drag and drop from desktop so if you need drag and drop from desktop uninstall it and use the extension https://extensions.gnome.org/extension/2087/desktop-icons-ng-ding Dont forget to reboot after removing extension using
For me installing
gnome-shell-extension-desktop-icons-ng
is what fixed it for me.