diff --git a/homepage/knowledge/linux.html b/homepage/knowledge/linux.html index 7a9cad4..b109a1e 100644 --- a/homepage/knowledge/linux.html +++ b/homepage/knowledge/linux.html @@ -65,12 +65,18 @@ Many Linux software distributions' system package managers have meta-packages th Alpine has build-base and Debian has build-essential.

-

fstab

+

Debian

+

+Debian is a Linux software distribution known for its stability and longevity. +Debian uses SystemD as its initialization system, the GNU core utilities, and dpkg and apt for package management. +

+ +

fstab

See fstab(5).

postmarketOS requires that the localmount OpenRC service be enabled for the system to read fstab(5).

Arch and Artix have fstab generators at genfstab(8) and fstabgen(8) respectively in their installation scripts.

-

Login manager

+

Login manager

Use elogind.

Make utility

@@ -140,7 +146,12 @@ Check out the linked pages in the "See also" section. Use mkfs(8) for creating filesystems and mount(8) for mounting partitions' filesystems.

-

postmarketOS: Random MAC address generation on Wifi

+

postmarketOS

+

+postmarketOS is an Alpine-based Linux software distribution that makes configuring and using Linux easy on mobile devices. +It uses OpenRC for initialization, busybox for core utilities, and can come with any of multiple windowing systems and window managers. +

+

Random MAC address generation on Wifi

By default, postmarketOS will generate a random software MAC address when connecting to a new WLAN network. You can disable this by adding a NetworkManager rule. @@ -154,16 +165,39 @@ wifi.scan-rand-mac-address=no On a live system you can then rc-service networkmanager restart to restart NetworkManager and have it load the new configuration.

-

Task management

-

-top(1) comes with busybox, otherwise use htop. -

+

Power

+

Much of this can be configured in the ACPI settings in your login manager, provided you have one running that can do this.

+

Check out tlp for Thinkpads and some other Lenovo devices.

-

Text editing

+

Task management

+

top(1) comes with busybox, otherwise use htop.

+ +

Text editing

-emacs and vim come to mind. -A particularly shoddy attempt at ed(1) is provided by busybox but will please nobody. -busybox's vi(1) on the other hand is a very useable implementation of the original. +nano(1) is a text editor that's usually recommended for beginners because its controls are more intuitive. +ne(1) is like nano(1) but with different superpowers. Not yet in pkgsrc. +

+

ed

+

+A particularly shoddy attempt at ed(1) is provided by busybox. +A traditional ed(1) implementation is in plan9ports. +I'm pretty sure some later UNIX-based OSes doubled the ed(1) buffers, there's pretty much no downside to doing so in the modern era but it should be very easy to do yourself if it hasn't already been done (just double some of the array sizes in the beginning of ed.c). +

+

vi

+

+Unlike busybox's ed(1) implementation, its vi(1) is very useable. +vim(1) is a popular re-implementation of vi(1). +

+

emacs

+

+Emacs ("editor macros") is a text editor with a very powerful Lisp interpreter included. +Lisp is mostly antiquated due to its undeserved lack of popularity. +Linus Torvalds uses his own fork of uEmacs ("micro Emacs"), an Emacs without the Lisp interpreter(?). +

+

cat

+

+Technically cat(1) and other UNIX utilities can be used in a hacky way for text editing functions. +You'd be better off using ed(1); the UX is very similar.

util-linux

@@ -182,5 +216,15 @@ Some prefer NetworkManager and I believe that's the default on Debian. The Artix wiki suggests connman.

+

X

+

+X is a graphical windowing system that can be used on Linux, FreeBSD, OpenBSD, NetBSD, and some proprietary operating systems as well. +X is not the only windowing system; twin(1) exists for windowed multitasking within a framebuffer and Wayland is another windowing system intended to replace X. +

+

+Some Linux software distributions have included scripts to automatically fetch and install an X server. +Alpine has setup-xorg-base, which adds the packages xorg-server, xf86-input-libinput, eudev, and mesa, and then enables the OpenRC services for udev. +

+