Borrow .desktop and icon files from core. Specify new window class
when creating x11-screens, and in the StartupWMClass key in the
.desktop file. Also fixed the .desktop file per complaints from
desktop-file-validate, deciding on one main category.
Icon=/usr/share/icons/mit-scheme-pucked.svg
Terminal=false
Type=Application
-Categories=Development;IDE;Utility;TextEditor;Application;
+StartupWMClass=Pucked
+Categories=Development;IDE;
(define (open-window primary? geometry)
(let ((display (or (get-x-display) (error "Unable to open display.")))
(instance (if primary? "edwin" "edwinSecondary"))
- (class "Emacs"))
+ (class "Pucked"))
(xterm-open-window display
(or geometry
(get-geometry display primary? instance class))