FS#46335 - [xemacs] When having both emacs and xemacs installed, the xemacs icon is used also for emacs windows
Attached to Project:
Community Packages
Opened by Tassilo Horn (tsdh) - Friday, 18 September 2015, 06:04 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Tuesday, 20 September 2016, 18:54 GMT
Opened by Tassilo Horn (tsdh) - Friday, 18 September 2015, 06:04 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Tuesday, 20 September 2016, 18:54 GMT
|
Details
Description:
I have both the extra/emacs and the community/xemacs packages installed. When I open a new GNU Emacs window, the GNOME shell shows the XEmacs icon in its upper bar when the Emacs window is selected. The same is true for XEmacs windows, but of course, there it is correct. So somehow the xemacs package seems to override the icon for GNU Emacs. I don't see why that is. /usr/share/applications/xemacs.desktop specifies /usr/share/pixmaps/xemacs-icon.xpm as Icon which is the XEmacs icon. /usr/share/applications/emacs.desktop specifies just "Icon=emacs" but I cannot find an emacs.{png,svg,xpm} which would be the XEmacs logo instead of the emacs one... I've tried editing /usr/share/applications/emacs.desktop and added an absolute path to /usr/share/icons/hicolor/32x32/apps/emacs.png as Icon, then ran update-desktop-database, and then started GNU Emacs, but still I get the XEmacs icon. So now I'm out of ideas... Additional info: community/xemacs 21.5.33-6 extra/emacs 24.5-2 Steps to reproduce: Install both community/xemacs and extra/emacs, then start GNU Emacs, and the XEmacs icon will appear in the taskbar of your favorite WM. |
This task depends upon
Closed by Jaroslav Lichtblau (Dragonlord)
Tuesday, 20 September 2016, 18:54 GMT
Reason for closing: Won't fix
Additional comments about closing: I've dropped xemacs from [community] to AUR. Project and its web seems dead.
https://en.wikipedia.org/wiki/XEmacs#XEm acs_and_GNU_Emacs
Tuesday, 20 September 2016, 18:54 GMT
Reason for closing: Won't fix
Additional comments about closing: I've dropped xemacs from [community] to AUR. Project and its web seems dead.
https://en.wikipedia.org/wiki/XEmacs#XEm acs_and_GNU_Emacs
So now I've changed the xemacs.desktop to StartupWMClass=XEmacs, and now I get the GNU Emacs icon for Emacs and the XEmacs icon for XEmacs.
I think the community/xemacs package should change xemacs.desktop accordingly. XEmacs (the devel version) now (since end of last year) includes its own xemacs.desktop file, and that does specify the StartupWMClass=XEmacs, too, so it looks like the XEmacs devs would agree.
See this commit: https://bitbucket.org/xemacs/xemacs/commits/bf1e138111599472684358473453aa7922d4a59a