2013-07-30 21:10:24 |
Matthieu Baerts |
description |
Hello,
It seems that Calibre's launcher is named 'calibre.desktop' but when you launch Calibre GUI, you can see that Calibre window's class is 'Calibre-gui' and not 'Calibre'. (according to `xprop`)
It's maybe a detail but if the name of the class and the launcher are different, it's harder for a taskbar manager (a shell, a panel, a dock, etc.) to make a link between them.
In the source code of Calibre, I see that it should produce a launcher named 'calibre-gui.desktop': https://github.com/kovidgoyal/calibre/blob/master/src/calibre/linux.py#L697
But it seems that Debian/Ubuntu packages are using their own launcher: https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/saucy/calibre/saucy/view/head:/debian/local/calibre.desktop
Is it possible to use the upstream launcher or rename it? (note that it's also maybe better to have an icon with the same name as the launcher => https://github.com/kovidgoyal/calibre/blob/master/src/calibre/linux.py#L856 ) |
Hello,
Firstly, thank you for maintaining Calibre packages!
It seems that Calibre's launcher is named 'calibre.desktop' but when you launch Calibre GUI, you can see that Calibre window's class is 'Calibre-gui' and not 'Calibre'. (according to `xprop`)
It's maybe a detail but if the name of the class and the launcher are different, it's harder for a taskbar manager (a shell, a panel, a dock, etc.) to make a link between them.
In the source code of Calibre, I see that it should produce a launcher named 'calibre-gui.desktop': https://github.com/kovidgoyal/calibre/blob/master/src/calibre/linux.py#L697
But it seems that Debian/Ubuntu packages are using their own launcher: https://bazaar.launchpad.net/~ubuntu-branches/ubuntu/saucy/calibre/saucy/view/head:/debian/local/calibre.desktop
Is it possible to use the upstream launcher or to rename Debian/Ubuntu's launcher? (note that it's also maybe better to have an icon with the same name as the launcher => https://github.com/kovidgoyal/calibre/blob/master/src/calibre/linux.py#L856 ) |
|