1- Add some logic to look for either checkbox-qt.desktop or checkbox-gtk.desktop and use the first one available.
2- Move to a single checkbox.desktop file. This would mean that checkbox-qt and checkbox-gtk would be mutually exclusive so this solution potentially sucks :(
3- make checkbox.desktop a symlink to the correct one, and have each package update the symlink to its .desktop file upon installation (does update-alternatives apply to .desktop files?)
OK, three solutions :)
Which one sounds easier to implement and more future-proof? (i'd say #1).
Urgh :(
I see two solutions:
1- Add some logic to look for either checkbox-qt.desktop or checkbox- gtk.desktop and use the first one available.
2- Move to a single checkbox.desktop file. This would mean that checkbox-qt and checkbox-gtk would be mutually exclusive so this solution potentially sucks :(
3- make checkbox.desktop a symlink to the correct one, and have each package update the symlink to its .desktop file upon installation (does update-alternatives apply to .desktop files?)
OK, three solutions :)
Which one sounds easier to implement and more future-proof? (i'd say #1).