Comment by ๐Ÿš€ stack

Re: "What is the difference between NetBSD and other BSD flavors?"

In: s/NetBSD

@gemalaya: thanks, void has always been at the top of the list for me... Currently struggling to figure out why PCManFM defaults to opening files with Emacs instead of Vim... This kind of time waste really drives me nuts.

๐Ÿš€ stack [OP]

2023-08-28 ยท 3 years ago

5 Later Comments โ†“

๐Ÿฆ€ jeang3nie ยท 2023-08-28 at 15:54:

Void is the only Linux distro I'm currently using for anything. It runs the raspberry pi that serves my capsule, and is on my Dell laptop so I can play steam games sometimes (dual booted with FreeBSD). It's a great distro. The other Linux I'd use if not Void would be Alpine. Similar vibe.

While I use FrreeBSD as my daily driver, there's a lot of Gemini folk using OpenBSD and they all have great things to say about it.

๐Ÿ˜บ gemalaya ยท 2023-08-28 at 16:49:

@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:

And xdg-mime of course lets you change which program opens what:

๐Ÿต 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.

Original Post

๐ŸŒ’ s/NetBSD

๐Ÿš€ stack:

What is the difference between NetBSD and other BSD flavors?

๐Ÿ’ฌ 12 comments ยท 4 likes ยท 2023-08-27 ยท 3 years ago