Heppler, J. Scott writes: > Has there been any discussion as to providing *.desktop entries for > xterm, xcalc and terminal based apps like mutt, ncmpc, abook?
XTerm has a .desktop file. It's even in xenocara, though not installed: https://cvsweb.openbsd.org/xenocara/app/xterm/xterm.desktop I was able to build sets containing it with the diff below. glib2 also needs a patch for update-desktop-database to pick it up. After that, I could see it show up in xfce4-panel in the System category. I don't know if there are objections to running it against a "base" directory like /usr/X11R6. update-desktop-database does leave a mimeinfo.cache behind, although I didn't see any other leftovers. Index: app/xterm/Makefile =================================================================== RCS file: /cvs/xenocara/app/xterm/Makefile,v retrieving revision 1.32 diff -u -p -r1.32 Makefile --- app/xterm/Makefile 18 Jun 2017 21:09:07 -0000 1.32 +++ app/xterm/Makefile 14 Nov 2018 06:27:18 -0000 @@ -91,6 +91,11 @@ afterinstall: ${INSTALL} ${INSTALL_COPY} -m ${SHAREMODE} \ -o ${SHAREOWN} -g ${SHAREGRP} ${.CURDIR}/XTerm-col.ad \ ${DESTDIR}${X11BASE}/share/X11/app-defaults/XTerm-color + ${INSTALL} -d -m ${SHAREMODE} -o ${SHAREOWN} -g ${SHAREGRP} \ + ${DESTDIR}${X11BASE}/share/applications/ + ${INSTALL} ${INSTALL_COPY} -m ${SHAREMODE} \ + -o ${SHAREOWN} -g ${SHAREGRP} ${.CURDIR}/xterm.desktop \ + ${DESTDIR}${X11BASE}/share/applications/xterm.desktop obj: _xenocara_obj Index: distrib/sets/lists/xbase/mi =================================================================== RCS file: /cvs/xenocara/distrib/sets/lists/xbase/mi,v retrieving revision 1.115 diff -u -p -r1.115 mi --- distrib/sets/lists/xbase/mi 11 Sep 2018 19:35:55 -0000 1.115 +++ distrib/sets/lists/xbase/mi 14 Nov 2018 06:27:18 -0000 @@ -498,6 +498,8 @@ ./usr/X11R6/share/X11/app-defaults/Xmessage ./usr/X11R6/share/X11/app-defaults/Xmessage-color ./usr/X11R6/share/X11/app-defaults/Xvidtune +./usr/X11R6/share/applications +./usr/X11R6/share/applications/xterm.desktop ./usr/X11R6/share/libdrm ./usr/X11R6/share/xcb ./usr/X11R6/share/xcb/xcb.xsd
