'Can't drag and drop in Ubuntu 22.04

It seems like Desktop Icons NG (DING) is not instelled on my desktop. I can't drag and drop items from or in the desktop. When I try to install it manually it says something like:

this is an extension enabled by your current mode. Can't be installed.

But it is not installed...

Even in the setting it is not showing up. enter image description here



Solution 1:[1]

A similar thing happened when i upgraded to 22.04 from 20.04. I found a solution here on askubuntu. You have to install gnome-shell-extension-prefs and gnome-shell-extension-prefs.

sudo apt install gnome-shell-extension-desktop-icons-ng

and

sudo  apt install gnome-shell-extension-prefs

I had to restart my system for changes to take effect. Hope it helps.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1