💾 Archived View for bbs.geminispace.org › u › gemalaya › 4855 captured on 2023-11-14 at 10:04:26. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-11-04)
-=-=-=-=-=-=-
Re: "What is the difference between NetBSD and other BSD flavors?"
@stack This is managed by xdg-utils. Look into the "xdg-mime" command, it will tell you (and let you change) which program the system will use by default to open a certain type of file. For example, to know which program will open PNG files, run:
# xdg-mime query default image/jpeg nomacs.desktop
And xdg-mime of course lets you change which program opens what:
# xdg-mime default imv.desktop image/jpeg
Aug 28 · 3 months ago
🍵 innerteapot · Aug 30 at 03:01:
One reason I used NetBSD, in the past, was because I wanted to run the same compatible OS on a number of different older machines (PC, mac68k, VAX, Sun).
Is there a simple way to default all text to vim?
This is turning into a nightmare. Setting text/plain to vim.desktop invokes a weirdly different Vim, one that assumes 24x80 display and pollutes the screen. Maybe DWM has something to do with this.
looking for vim.desktop reveals 6 different files. The most likely, in use/share/applications, is a very long file (5K) with all kinds of crap, but seems to list vim as executable. But when it runs, it looks different, fonts, weird sizing issues. I don't have gvim installed...
Please tell me BSD does not use this idiocy and I will switch today.
Although it may have something to do with how pcmanfm sets up the environment prior to invoking vim... I should install mc instead, since I like dual fms
Thank you for your input. I switched to FreeBSD and am pretty happy.
What is the difference between NetBSD and other BSD flavors?