commit b8235791034cc5ebee79a2ebaf0fa08153257ea1
parent ad40998a7360adb2b8d079184b6c25220704e518
Author: Chris Bracken <chris@bracken.jp>
Date: Mon, 12 Jan 2026 21:51:56 +0900
FreeBSD: update instructions for FreeBSD 15
Diffstat:
| M | freebsd_install.md | | | 82 | +++++++++++++++++++++++++++++++++++++++---------------------------------------- |
1 file changed, 40 insertions(+), 42 deletions(-)
diff --git a/freebsd_install.md b/freebsd_install.md
@@ -93,12 +93,12 @@ Either SYNCDHCP or DHCP is acceptable. The default is DHCP.
### Configure WiFi
-If we need Intel WiFi, in `/boot/loader.conf`, add:
+If we need Intel WiFi, edit `/etc/rc.conf`:
- if_iwm_load="YES"
- iwm8265fw_load="YES"
+ # Space-separated kernel module load list.
+ kld_list="if_iwlwifi"
-and then configure DHCP for WiFi in `/etc/rc.conf`:
+and then configure DHCP for WiFi:
wlans_iwm0="wlan0"
ifconfig_wlan0="WPA DHCP"
@@ -371,19 +371,24 @@ Then, for Intel graphics, add the following line to `/etc/rc.conf`:
kld_list="i915kms"
+The seatd daemon will need to be running. Add the following to `/etc/rc.conf`:
+
+ seatd_enable="YES"
+
Install the sway window manager:
pkg install sway \ # window manager
swaylock \ # lock screen
- swayidle \ # idle manager
- swaybg \ # background screen
- dmenu \ # app launcher
- grim \ # Wayland screenshot utility
- slurp \ # Select a region in Wayland
- wl-clipboard \ # command-line interface to Wayland clipboard
- jq \ # command-line JSON parser
- libnotify \ # command-line notification sender (notify-send)
- mako # Notification daemon
+ swayidle \ # idle manager
+ swaybg \ # background screen
+ dmenu \ # app launcher
+ wofi \ # Wayland-native app launcher
+ grim \ # Wayland screenshot utility
+ slurp \ # Select a region in Wayland
+ wl-clipboard \ # command-line interface to Wayland clipboard
+ jq \ # command-line JSON parser
+ libnotify \ # command-line notification sender (notify-send)
+ mako # Notification daemon
Screenshots use the `grimshot` utility that I've checked into my dotfiles repo.
This can be found in the Sway repo `contrib` directory. This utility depends on
@@ -431,11 +436,11 @@ Install XWindows:
Install the i3 window manager:
pkg install i3 \ # window manager
- i3status \ # status bar
- i3lock \ # lock screen
- dmenu \ # app launcher
- xautolock \ # lock screen timeout manager
- sxiv # image viewer
+ i3status \ # status bar
+ i3lock \ # lock screen
+ dmenu \ # app launcher
+ xautolock \ # lock screen timeout manager
+ sxiv # image viewer
Install dunst for notifications:
@@ -536,15 +541,14 @@ Configure Japanese input
### Wayland
-Install the fcitx input method with mozc:
-
- pkg install ja-fcitx-mozc
-
-As root, generate a unique ID for this machine that will be written to
-`/var/lib/dbus/machine-id` for use by dbus, if the file doesn't yet exist and
-contain a UUID:
+Install the fcitx input method with Anthy:
- dbus-uuidgen --ensure
+ pkg install fcitx5 \
+ fcitx5-configtool-qt6 \
+ fcitx5-gtk3 \
+ fcitx5-gtk4 \
+ fcitx5-qt6 \
+ ja-fcitx5-anthy
### XWindows
@@ -553,26 +557,20 @@ Setting Japanese keyboard layout with caps-lock as control:
setxkbmap -layout jp -option ctrl:nocaps
-Installing mozc IME:
-
- pkg install ja-fcitx-mozc
+Install fcitx5 as documented above.
In `~/.xinitrc`, before launching i3, add:
# Use fcitx for Japanese IME.
- export GTK_IM_MODULE=fcitx
- export QT_IM_MODULE=fcitx
- export XMODIFIERS=@im=fcitx
-
- # Start mozc engine and fcitx IME.
- /usr/local/bin/mozc start
- /usr/local/bin/fcitx -d
-
-Configure fcitx by running `fcitx-configtool`. Using the *Input Method* pane,
-add *Mozc*. Remove US keyboard if present (unless you're using a US keyboard).
-Note that when you do this step, dbus will need to be running; this involves
-either a reboot after the XWindows config steps above or manually starting it
-via `service dbus start` before running `startx`.
+ export GTK_IM_MODULE=fcitx5
+ export QT_IM_MODULE=fcitx5
+ export XMODIFIERS=@im=fcitx5
+
+ # Start fcitx5 IME.
+ /usr/local/bin/fcitx5 -d --replace
+
+Configure fcitx by running `fcitx5-configtool`. Using the *Input Method* pane,
+add *Anthy*. Remove US keyboard if present (unless you're using a US keyboard).
### Virtual console