1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/style.css" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<title>Ghostbsd installation</title>
</head>
<body>
<header>
<h1>Bloggings</h1>
<a href="/index.php">Back</a>
</header>
<main>
<article>
<h2>Ghostbsd installation</h2>
<h3>2026-06-14</h3>
<h4>messing around on a sunday</h4>
<p>
So now we have Microsoft delivering Linux, and the Arch based AUR
getting wrecked by people who should be locked into a public pillory,
and I have some free time. Well in fact a lot of free time now that
I'm retired.
</p>
<p>
So. I downloaded the latest #Ghostbsd Mate and cut a usb key, then
plugged it into my Thinkpad X220.
</p>
<p>
The installation was simple and uneventful, and it booted without
problem. Everything worked out of the box. Mate seems pretty and
unobfuscated, just like me.
</p>
<p>So far I've done just two things:</p>
<p>
(1) to get some thinkpad function keys to work I've added in
/boot/loader.conf
</p>
<pre>
acpi_ibm_load="YES"
</pre
>
<p>
Printscreen works, brightness and volume controls work, vol mute
works, lid led works, but the MICMUTE button doesn't work.<br />
For the X220 MICMUTE key, which is F20 or 0xBE (190), unfortunately
Ghostbsd's acpi_ibm doesn't pass on the event, so any script for it in
/etc/devd won't be fired. Checking the source code, acpi_ibm only accepts
a subset of events accepted by Linux's thinkpad_acpi, which appears to
cover them all. It's unfortunate as I'm a bit pedantic about keys but I
guess I'll have to live with it as the code is 20 years old and I
doubt it will change anytime soon.
</p>
<p>FYI, acpi_ibm accepts only these keyboard events:</p>
<PRE>
LCD_BACKLIGHT
SUSPEND_TO_RAM
BLUETOOTH
SCREEN_EXPAND
SUSPEND_TO_DISK
BRIGHTNESS_UP
BRIGHTNESS_DOWN
THINKLIGHT
ZOOM
VOLUME_UP
VOLUME_DOWN
MUTE
ACCESS_IBM_BUTTON
</pre>
<p>(2) to enable the automounting of usb storage media:</p>
<pre>
sudo pkg install automount
</pre
>
<p>
I've replaced the default Firefox with Librewolf, and I'm not too sure
about zsh instead of bash, and why not doas instead of sudo?
</p>
<p>
Ghostbsd is a very nice BSD distribution that's been around since
2010.
</p>
<p><a href="https://www.ghostbsd.org/">https://www.ghostbsd.org</a></p>
</article>
</main>
<footer>
<p>§</p>
</footer>
</body>
</html>
|