Ubuntu Version: 26.04 LTS
Desktop Environment (if applicable): GNOME
Problem Description:
I want to install the latest version of desktop icons ng (51) under ubuntu 26.04, yet I cannot, because this package is session bound that hinders that kind of installation.
What I’ve Tried:
Just cloning the git repository where the package in question is found, it cannot work, due to session restrictions of ubuntu. It can work though under gnome session.
If someone tries to remove desktop icons ng from his/her system, then it requires the ubuntu-session to be removed as well, something that is not desirable.
So, in order to solve the issue, I tried the following, which replaces the original file with another one with the newest version:
created a backup first:
sudo mv /usr/share/gnome-shell/extensions/ding@rastersoft.com /usr/share/gnome-shell/extensions/ding@rastersoft.com.backup
git clone ``https://gitlab.com/rastersoft/desktop-icons-ng.git
cd ~/desktop-icons-ng
./local_install.sh (don’t use it, it didn’t work)
mkdir -p ~/ding-deb/DEBIAN
mkdir -p ~/ding-deb/usr/share/gnome-shell/extensions
cp -a ~/desktop-icons-ng ~/ding-deb/usr/share/gnome-shell/extensions/ding@rastersoft.com
create a file that will replace the original package:
gedit ~/ding-deb/DEBIAN/control
and add the content:
Package: ding-local-51
Version: 51.0.3
Section: gnome
Priority: optional
Architecture: all
Maintainer: local
Description: Desktop Icons NG 51.0.3 local system install
create deb file:
dpkg-deb --build ~/ding-deb
install, by overwriting ubuntu files:
sudo dpkg -i --force-overwrite ~/ding-deb.deb
This solution won’t work in an upcoming update, which is desirable in my case, if in the future the original package gets updated.
With this updated version, apart from having a gtk4 complete package transfer, more options are added, like being able to compress files under desktop, which was much desired.
Regards!