💾 Archived View for bbs.geminispace.org › u › gemalaya › 4855 captured on 2024-06-16 at 17:45:26. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-05-26)
-=-=-=-=-=-=-
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
2023-08-28 · 10 months ago
🍵 innerteapot · 2023-08-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).
🚀 stack [OP] · 2023-10-01 at 23:33:
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
🚀 stack [OP] · 2023-10-11 at 02:22:
Thank you for your input. I switched to FreeBSD and am pretty happy.
What is the difference between NetBSD and other BSD flavors?
💬 stack · 12 comments · 4 likes · 2023-08-27 · 10 months ago