GNOME - FreeBSD 14.1 RELEASE - 環境構築

クラウディア 
1. 概要
2. インストール
3. 日本語環境設定
4. /etc/rc.conf 編集
5. 再起動

1. 概要

 下記のデスクトップ環境を構築する手順を記述します。
 項目   内容   備考 
ホスト Windows11 Version 23H2
VitualBox Version 7.0.18
ゲスト FreeBSD 14.1 RELEASE
仮想システムタイプ BSD
仮想システムバージョン FreeBSD (64bit)
ハードディスク 180 GB
メモリ 4 GB
CPU 2コア
グラフィックスコントローラ VBoxSVGA 128MB 3D Disable
マウス USB タブレット

 マウスは、今まで、「PS/2 マウス」を設定していたように記憶していますが、今回、それでは、反応しませんでした。
 「USB タブレット」を設定することで、動くようになりました。

 ここまでの時点で、システムインストールと「VirtualBox Guest Additions」の設定は終わっているものとします。
 それぞれのインストール・設定に関しては、

	「FreeBSD - デスクトップ環境構築 - 共通事項 - システムインストール」
	「FreeBSD - デスクトップ環境構築 - 共通事項 - VirtualBox Guest Additions」

 をご参照ください。

2. インストール

 「root」ユーザで

pkg install -y xorg ja-font-migmix numlockx

pkg install -y gnome gnome-menus
 「gnome-menus」は、「Arc Menu」インストール時に必要になるので、あらかじめインストールしておきます。  バージョンの推移です。 ・2020年11月4日 「FreeBSD 12.2 RELEASE」 「gnome3-3.36」 ・2020年7月ころ 「FreeBSD 11.4 RELEASE」 「gnome3-3.28_2」 ・2021年6月11日 「FreeBSD 13.0 RELEASE」 「gnome3-3.36_4」 ・2022年1月19日 「FreeBSD 12.3 RELEASE」 「gnome3-3.36_4」 ・2022年12月ころ「FreeBSD 12.4 RELEASE」 「gnome-42_2」 ・2023年5月19日 「FreeBSD 13.2 RELEASE」 「gnome-42_2」 ・2024年1月 4日 「FreeBSD 14.0 RELEASE」 「gnome-42_5」 ・2024年3月15日 「FreeBSD 13.3 RELEASE」 「gnome-42_5」  2024年6月21日、インストール時のバージョンは、下記のとおりです。

$ pkg info gnome
gnome-42_5
Name           : gnome
Version        : 42_5
Installed on   : Fri Jun  7 16:05:48 2024 JST
Origin         : x11/gnome
Architecture   : FreeBSD:14:*
Prefix         : /usr/local
Categories     : x11 gnome
Licenses       : NA
Maintainer     : gnome@FreeBSD.org
WWW            : https://www.FreeBSD.org/gnome/
Comment        : Metaport for the GNOME integrated X11 desktop
Options        :
        DOCS           : on
Annotations    :
        build_timestamp: 2024-06-06T01:18:31+0000
        built_by       : poudriere-git-3.4.1-30-g79e3edcd
        flavor         : full
        port_checkout_unclean: no
        port_git_hash  : b3aa1ea86
        ports_top_checkout_unclean: no
        ports_top_git_hash: 40d461549
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 243B
Description    :
This metaport installs the entire GNOME desktop, including
the user applications released with it.

3. 日本語環境設定

 日本語環境を設定します。  「root」ユーザ権限で。

sh
cat << 'EOF' >> /etc/profile

export LC_ALL=ja_JP.UTF-8
export LANGUAGE=ja_JP.UTF-8
export LANG=ja_JP.UTF-8
EOF

cat << 'EOF' >> /etc/csh.cshrc

setenv LANG             ja_JP.UTF-8
setenv LANGUAGE         ja_JP.UTF-8
setenv LANG             ja_JP.UTF-8
EOF
exit

4. /etc/rc.conf 編集

 デーモン群を起動するようにします。  「root」ユーザ権限で。

sysrc dbus_enable=YES
sysrc gdm_enable=YES
sysrc avahi_daemon_enable=YES
sysrc avahi_dnsconfd_enable=YES

5. 再起動

 再起動します。  「root」ユーザ権限で。

reboot
 再起動後、以下の画面が表示されれば基本的な設定は完了です。
「GNOME FreeBSD 14.1」-「ログイン画面」

ハイスピードプラン