diff --git a/wiki/unix/X.m4 b/wiki/unix/X.m4 index a7a0c91..37e028b 100644 --- a/wiki/unix/X.m4 +++ b/wiki/unix/X.m4 @@ -1,71 +1,70 @@ -

X

- +_header(`X') +_bibliography(` +_bentr(`_link(`Cool, but obscure X11 tools', `http://cyber.dabamos.de/unix/x11/')') +_bentr(`_link(`Xorg', `https://wiki.archlinux.org/title/Xorg') (Arch Wiki)') +')

-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. +X is a graphical windowing system that can be used on _ref(`#linux'), FreeBSD, OpenBSD, _ref(`#netbsd'), and some proprietary operating systems as well. +X is not the only windowing system; _man(`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. +_ref(`#alpine') has _package(`setup-xorg-base'), which adds the packages _package(`xorg-server'), _package(`xf86-input-libinput'), _package(`eudev'), and _package(`mesa'), and then enables the OpenRC services for udev.

-

Mail

+_subheader(`Mail')

The (formerly Mozilla) Thunderbird mail suite is a popular though maximal choice. Claws Mail is a nice mail reader with a somewhat similar interface to Thunderbird but, in my experience, easier to use.

-

Media

+_subheader(`Media')

-mpv(1) and vlc(1) are good options. +_man(`mpv(1)') and _man(`vlc(1)') are good options.

-

Server

- -

X.org

- +_subheader(`Server') +_subsubheader(`X.org') +_bibliography(` +_bentr(`_link(`X.org', `https://www.X.org')') +_bentr(`_link(`X.Org Server', `https://en.wikipedia.org/wiki/X.Org_Server') (Wikipedia)') +')

-The de-facto standard X server is X.org (available on the web at _ref(https://www.X.org)). +The de-facto standard X server is X.org. NetBSD uses X.org as the default system X server.

-Arch Linux's package repositories have https://archlinux.org/groups/x86_64/xorg/, -https://archlinux.org/groups/x86_64/xorg-apps/, -and https://archlinux.org/groups/x86_64/xorg-drivers/ package groups. -#pkgsrc has _code(`meta-pkgs/modular-xorg'). +_ref(`#arch') Linux's package repositories have _link(`_package(`xorg')', `https://archlinux.org/groups/x86_64/xorg/'), +_link(`_package(`xorg-apps')', `https://archlinux.org/groups/x86_64/xorg-apps/'), +and _link(`_package(`xorg-drivers')', `https://archlinux.org/groups/x86_64/xorg-drivers/') package groups. +_ref(`#pkgsrc') has _package(`meta-pkgs/modular-xorg').

-
Failed to open /dev/input/event[number] (Permission denied)
-

You need to be a part of the input group to use X.org.

-
Failed to open /dev/tty[number] (Permission denied)
-

You need to be a part of the video group to use X.org.

+
_code(`Failed to open /dev/input/event[_italic(`number')] (Permission denied)')
+

You need to be a part of the _italic(`input') group to use X.org.

+
_code(`Failed to open /dev/tty[_italic(`number')] (Permission denied)')
+

You need to be a part of the _italic(`video') group to use X.org.

-

Window Management

+_subheader(`Managing Clients')

-It's possible to make X exec(3) a window manager at the end of initialization to ease the creation, deletion, and manipulation of windows. +It's possible to make X _man(`exec(3)') a window manager at the end of initialization to ease the creation, deletion, and manipulation of windows. Contrary to what is now popular belief, window managers are not necessary (thought they're extremely convenient compared to the lack of them).

ctwm

- +_bibliography(` +_bentr(`_link(`Configurations for ctwm (and twm)', `https://datagubbe.se/twm/')') +') -

Web Browsing

-

TOR Browser

+_subheader(`WWW') +_subsubheader(`TOR Browser')

-TOR Browser is available through pkgsrc at security/tor-browser. +TOR Browser is available through pkgsrc at _package(`security/tor-browser').

-

xinit(1)

+_subheader(`xinit(1)')

-startx(1) is usually included with xinit(1). +_man(`startx(1)') is usually included with _man(`xinit(1)').

-On Alpine Linux, xinit(1) is provided by the xinit package. -On Arch Linux, xinit(1) is provided by https://archlinux.org/packages/extra/x86_64/xorg-xinit/. +On _ref(`#alpine') Linux, _man(`xinit(1)') is provided by _package(`xinit'). +On _ref(`#arch') Linux, _man(`xinit(1)') is provided by _link(`_package(`xorg-xinit')', `https://archlinux.org/packages/extra/x86_64/xorg-xinit/').