1. The icon in the software manager (under installed programs) is the generic one, and not the one specified in the desktop-file. The application is correct in the start menu,
2. When I double click on *.deb-file created by another company, in this case, Mullvad VPN, I get a message that says that the same version is already installed and I get the option to reinstall it, When I double click on my *.deb file I don't get that message and I get the option to install the application, even though it is already installed. I would like it to recognize that it is already installed.
Does anyone know what is required in a debian package to make these things work correctly?
Description of the package
I have created the preinstall, postinstall, prerm, postrm files, they do contain only one line though:
Code: Select all
#!/bin/bash
My control file looks like this:
Code: Select all
Section: video
Package: softTube
License: MIT
Vendor: SoftTeam AB
Version: 2.6.9
Architecture: amd64
Essential: no
Priority: optional
Depends: smplayer
Installed-Size: 11 258
Maintainer: Per Hultqvist
Description: A YouTube client created by SoftTeam AB
Code: Select all
[ROOT]
|- DEBIAN
| |-control
| |-preinstall (executable)
| |-postinstall (executable)
| |-prerm (executable)
| |-postrm (executable)
|
|- usr
|- bin
| |- softtube
|
|- share
|-applications
| |- softtube.desktop
|- icons
|- softtube.png
Code: Select all
[Desktop Entry]
Version=1.0
Name=SoftTube
GenericName=SoftTube
Exec=//usr/bin/softtube
Terminal=false
Type=Application
Categories=Video;AudioVideo;
Icon=/usr/share/icons/softtube.png
StartupWMClass=SoftTube
Comment=A YouTube client created by SoftTeam AB.
Keywords=softtube;youtube;video;internet;media;