hallettj

joined 8 months ago
[–] hallettj@leminal.space 2 points 3 months ago

It would make sense for the terminal to handle syntax highlighting since that would match how editors work. But the convention is that the shell handles highlighting, not the terminal. You can check which shell you are running with the command,

$ echo $SHELL

It's done that way because the shell is a running program that is capable of telling the terminal which colors to show (by mixing color escape sequences into text). Compare that to code in an editor which is text, not a running program so the only option is for the editor to handle highlighting[1]. Editors need syntax files to configure highlighting for all the different programming languages, while terminals don't need this because the shell tells them what colors to show.

[1] setting aside the "semantic highlighting" LSP capability - that was invented long after syntax highlighting conventions were established

[–] hallettj@leminal.space 7 points 3 months ago

Specifically programs.steam.enable = true sets up the direct rendering and 32-bit libraries that you generally need.

I was confused at first about how to install wine runners in Lutris or in Bottles. It turns out you do it the same way as in any other distro, through the app.

[–] hallettj@leminal.space 4 points 3 months ago

Seems like a matter of preference, and I see the logic in it. I'll mention that Nushell makes it easy to create custom shell functions that are invoked as sub-commands in this manner. https://www.nushell.sh/book/custom_commands.html#command-names

[–] hallettj@leminal.space 1 points 3 months ago (1 children)

This happens to be the plot of the book series, The Accidental Minecraft Family

[–] hallettj@leminal.space 14 points 4 months ago (9 children)

Are there other relevant standards? The XDG base directory specification has been around for a long time, and is well established.

Maybe your comment wooshed over my head; if so I apologize.

[–] hallettj@leminal.space 25 points 4 months ago (1 children)

Are you saying that you don't want to write your software according to the XDG spec, or that you don't want to set the XDG env vars on your system? If it's the second that's fine - apps using XDG work just fine if you ignore it. If it's the first I'd suggest reconsidering because XDG can make things much easier for users of your software who have system setups or preferences that are different from yours; and using XDG doesn't cause problems for users who ignore it.

OP's recommendation is aimed mostly at software authors.

[–] hallettj@leminal.space 24 points 4 months ago

So yes, "XDG" stands for "Cross-Desktop Group" - but I don't agree that using the spec assumes a windowing system. The base directory spec involves checking for certain environment variables for guidance on where to put files, and falling back to certain defaults if those variables are not set. It works fine on headless systems, and on systems that are not XDG-aware (I suppose that means systems that don't set the relevant env vars).

OTOH as another commenter pointed out the base directory spec can make software work when it otherwise wouldn't on a system that doesn't have a typical home directory layout or permissions.

[–] hallettj@leminal.space 3 points 4 months ago

To start the firewall after you stopped it:

sudo systemctl start firewalld

systemctl is part of systemd - it starts and stops various services, shows statuses, lists available services, etc.

There is documentation on opening ports here, plus more details on enabling & disabling the firewall: https://docs.fedoraproject.org/en-US/quick-docs/firewalld/#_controlling_ports_using_firewalld

[–] hallettj@leminal.space 6 points 5 months ago

Probably not directly helpful, but Nix packages for Chromium and Electron apps are set up so that you can switch to native Wayland mode globally by setting an environment variable, NIXOS_OZONE_WL=1

I don't know of any global setting that isn't distro-specific.

[–] hallettj@leminal.space 6 points 5 months ago (1 children)

That's a different form

[–] hallettj@leminal.space 1 points 5 months ago

This seems like the right answer to me. Whether or not you decide to dual boot, make one of these USB keys so you can recover if something goes wrong.

[–] hallettj@leminal.space 1 points 5 months ago

Only tangentially related, but if you choose to ignore the portal you can come back later to get Gale. I was in a role-playing mood on my first playthrough. When I encountered a strange portal, and was given only the choices of ignoring it or sticking my hand in I thought, "How about no."

view more: ‹ prev next ›