edubuntu-bugs team mailing list archive
-
edubuntu-bugs team
-
Mailing list archive
-
Message #05566
[Bug 1206687] [NEW] Calibre has a .destkop file named 'calibre' but the class of the window is 'Calibre-gui'
Public bug reported:
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
)
** Affects: calibre (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
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 rename it? (note that
- it's also maybe better to have an icon with the same name as the
- launcher =>
+ 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
)
** Summary changed:
- Calibre has a .destkop file and the main binary named 'calibre' but the class of the window is 'Calibre-gui'
+ Calibre has a .destkop file named 'calibre' but the class of the window is 'Calibre-gui'
--
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to calibre in Ubuntu.
https://bugs.launchpad.net/bugs/1206687
Title:
Calibre has a .destkop file named 'calibre' but the class of the
window is 'Calibre-gui'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/calibre/+bug/1206687/+subscriptions
Follow ups
-
[Bug 1206687] Re: Calibre has a .destkop file named 'calibre' but the class of the window is 'Calibre-gui'
From: Launchpad Bug Tracker, 2013-08-02
-
[Bug 1206687] Re: Calibre has a .destkop file named 'calibre' but the class of the window is 'Calibre-gui'
From: Launchpad Bug Tracker, 2013-08-02
-
[Bug 1206687] Re: Calibre has a .destkop file named 'calibre' but the class of the window is 'Calibre-gui'
From: Martin Pitt, 2013-08-02
-
[Bug 1206687] Re: Calibre has a .destkop file named 'calibre' but the class of the window is 'Calibre-gui'
From: Jeremy Bicha, 2013-08-02
-
[Bug 1206687] Re: Calibre has a .destkop file named 'calibre' but the class of the window is 'Calibre-gui'
From: Jeremy Bicha, 2013-08-02
-
[Bug 1206687] Re: Calibre has a .destkop file named 'calibre' but the class of the window is 'Calibre-gui'
From: Launchpad Bug Tracker, 2013-08-01
-
[Bug 1206687] Re: Calibre has a .destkop file named 'calibre' but the class of the window is 'Calibre-gui'
From: Martin Pitt, 2013-08-01
-
[Bug 1206687] Re: Calibre has a .destkop file named 'calibre' but the class of the window is 'Calibre-gui'
From: Matthieu Baerts, 2013-08-01
-
[Bug 1206687] Re: Calibre has a .destkop file named 'calibre' but the class of the window is 'Calibre-gui'
From: Martin Pitt, 2013-08-01
-
[Bug 1206687] Re: Calibre has a .destkop file named 'calibre' but the class of the window is 'Calibre-gui'
From: Launchpad Bug Tracker, 2013-08-01
-
[Bug 1206687] Re: Calibre has a .destkop file named 'calibre' but the class of the window is 'Calibre-gui'
From: Matthieu Baerts, 2013-08-01
-
[Bug 1206687] Re: Calibre has a .destkop file named 'calibre' but the class of the window is 'Calibre-gui'
From: Martin Pitt, 2013-08-01
-
[Bug 1206687] [NEW] Calibre has a .destkop file named 'calibre' but the class of the window is 'Calibre-gui'
From: Matthieu Baerts, 2013-07-30
References