WM_CLASS needs to match .desktop file name
Bug #725988 reported by
Jasper St. Pierre
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
emacs23 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: emacs23
emacs ships an emacs.desktop file, but the Debian source package uses its own emacsVER.desktop file.
Unfortunately, this messes up libraries like the shell application trackers and bamf that use WM_CLASS as a basis for the application.
This is fixable by renaming the desktop file, setting the EMACS_CLASS #define to be "Emacs23", or setting it through the 'x-resource-class variable in emacs lisp.
Changed in emacs23 (Ubuntu): | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
How would one set the 'x-resource-class variable for this purpose? I've been trying emacs --eval '(setq x-resource-class "emacs-23")', but xprop still says Emacs,emacs. Likewise if I put (setq x-resource-class "emacs-notmuch") in .emacs