entries in "Add/Remove Applications"

1 réponse [Dernière contribution]
chaosmonk

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/07/2017

Trisquel is almost entirely usable without a terminal or other tool with which beginners would be uncomfortable, which is why it is the ideal distro for ordinary desktop users. However, I've noticed in Belenos that some useful programs do not appear in "Add/Remove Applications" such as IceCat and alternate desktop environments. They can be accessed through Synaptic, but Synaptic includes applications alongside libraries and dependencies, making it unsuitable for beginners. It would be great if Flidas had a more complete list of programs in "Add/Remove Applications."

Not being a developer, I don't know how difficult this would be. However, I would expect that it consists of adding entries alongside the existing ones, which probably contain the application name, an icon, a description, and the package(s) to be installed via apt. If adding such entries is just tedious work that does not require any particularly advanced knowledge, I'd be happy to help with it. If it requires intermediate knowledge I wouldn't mind learning something new.

Can anyone provide information on this?

chaosmonk

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/07/2017

"Add/Remove Applications" is gnome-app-install, which depends on app-install-data, which includes a bunch of files in /usr/share/app-install/desktop named "[package]:[name].desktop". For example, there is "3dchess:3dchess.desktop" which contains[Desktop Entry]
X-AppInstall-Package=3dchess
X-AppInstall-Popcon=20
X-AppInstall-Section=main
Type=Application
Version=1.0
Name=3D Chess
Comment=3D chess for X11
Comment[de]=3D-Schach für X11
Exec=3Dc
Icon=3dchess
Terminal=false
Categories=Game;BoardGame;
Keywords=chess;board;3D;X11;
X-Ubuntu-Gettext-Domain=app-install-data
Looking at the selection of desktop files in this directory, I see a lot of Ubuntu-sounding crap like "unity-webapps-amazoncloudreader:AmazonCloudReaderreadamazoncom.desktop" so perhaps the app-install-data package has not been modified from the upstream version. That would explain why non-Ubuntu apps like IceCat and Abrowser do not show up in Add/Remove Applications.

Does that sound right? If so, how would one go about updating app-install-data to reflect the differences between Ubuntu and Trisquel? As an experiment I tried copying 3dchess:3dchess.desktop to icecat:icecat.desktop and changing a few of the fields to see if I could get a new entry to appear in Add/Remove Applications, but it didn't work.