In F/U to a discussion in the HowTo, section (
https://daemonforums.org/showthread.php?t=10656), the components for a freedesktop compliant DE are available. It uses
x11/openbox,
x11/tint2,
x11/menu-cache,
x11/gnome/menus and the following wip/port
jgmenu-1.6.tar.gz
With xenodm, cupsd, apmd, avahi_daemon, 2 tint2 panels, and a local instance of mpd, resting memory useage is 133M. Replacing openbox-menu with jgmenu_run, in ~/.config/openbox/rc.xml, all installed applications with *desktop files show up in the menu. Manual editing of openbox, cwm, twm, fvwm application menus becomes a thing of the past.
It does raise some issues though. In OpenBSD, all base apps (xterm, xcalc) lack *.desktop files. In ports, legacy apps and alternative erminals (ncmpc, ncmpcpp, calcurse, mutt, neomutt, rxvt-unicode, mlterm) also lack *.desktop entries. ArchLinux, Debian and Fedora all add *desktop files with "Terminal=true". Terminal is specified by x-terminal-emulator and can be anything.
An obvious workaround would be for the user to install applications with *freedesktop entries or to reference tutorials on how to generate the entries.
Arch Wiki Desktop-entries
Personally, I use xterm, mutt, xcalc, ncmpc and calcurse and providing the missing *desktop entries is nearly as much work as manually editing openbox config files. I currently have a ~.config/tint2/tint2rc file that calls weather information, a panel calendar, wireless management.
One thought is to set this up as a project. I can provide the basic skeleton and those interested in contributing could provide their *.desktop/icon files and scripts.
If this works, the *desktop entries could be submitted to
ports@openbsd.org
Would the moderators be OK with the forum hosting this project?
Are there forum members interested in contributing?
Here is the basic setup with Instructions.
BareGUI.tar.gz
Forgot to add you need an /etc/doas.conf entry for the user shutdown entries and be a member of the wheel group.
Code:
permit nopass :wheel as root cmd /sbin/shutdown
Screenshot