KDE - FreeBSD 11.4 RELEASE - 環境構築

クラウディア 
1. 概要
2. インストール
3. SDDM カスタマイズ
4. rc.conf 編集
5. 起動

1. 概要

 下記のデスクトップ環境を構築する手順を記述します。  ここまでの時点で、システムインストールと「VirtualBox Guest Additions」の設定は終わっているものとします。  それぞれのインストール・設定に関しては、 「FreeBSD - デスクトップ環境構築 - 共通事項 - システムインストール」 「FreeBSD - デスクトップ環境構築 - 共通事項 - VirtualBox Guest Additions」  をご参照ください。
 項目   内容   備考 
ホスト Windows10 Version 2004
VitualBox Version 6.1.8
ゲスト FreeBSD 11.4 RELEASE

2. インストール


pkg install -y xorg ja-font-migmix
pkg install -y sddm plasma5-sddm-kcm sddm-freebsd-black-theme hal cursor-neutral-white-theme
pkg install -y kde5
 最下行で

The process will require 3 GiB more space.
1 GiB to be downloaded.
 ですって、やっぱり容量食うわね。

3. SDDM カスタマイズ

 ログイン画面の解像度を「1366x768」とし、キーボードレイアウトを「jp.106」にします。  「root」ユーザで

cat << EOF >>  /usr/local/share/sddm/scripts/Xsetup

xrandr --output VGA-0 --mode 1366x768 --rate 60
setxkbmap -layout jp
EOF
 テーマを変更したり、カーソルを変更しようかとも思いましたが。  「KDE」はどこで設定しているのかわからなかったので、そのままにしています。

4. rc.conf 編集


/etc/rc.conf
 に「KDE」関連のデーモンの起動を加えます。

cat << EOF >> /etc/rc.conf

dbus_enable="YES"
hald_enable="YES"

sddm_enable="YES"
sddm_lang="ja_JP"
EOF

5. 起動


/usr/local/share/dot.xprofile
 を作成して編集します。

cat << EOF >> /usr/local/share/dot.xprofile
#!/bin/sh
#
export LANG=ja_JP.UTF-8
EOF
 ログインユーザで

cp /usr/local/share/dot.xprofile ~/.xprofile
 再び、「root」ユーザで

/etc/fstab
 の最下行に1行加えます。

cat << EOF >> /etc/fstab
proc            /proc           procfs  rw      0       0
EOF
 システムを再起動します。  再起動後、以下の画面が表示されれば基本的な設定は完了です。
「KDE FreeBSD 11.4」-「インストール完了後」「ログイン画面」


 2020年6月23日の時点で、「KDE」のバージョンは、下記の通りです。


$ pkg info kde5
kde5-5.18.4.1.19.12.3
Name           : kde5
Version        : 5.18.4.1.19.12.3
Installed on   : Tue Jun 23 12:22:28 2020 JST
Origin         : x11/kde5
Architecture   : FreeBSD:11:*
Prefix         : /usr/local
Categories     : x11 kde
Licenses       : LGPL20
Maintainer     : kde@FreeBSD.org
WWW            : https://www.kde.org
Comment        : KDE Plasma Desktop and Applications (current)
Options        :
        KDEADMIN       : on
        KDEEDU         : on
        KDEGAMES       : on
        KDEGRAPHICS    : on
        KDEMULTIMEDIA  : on
        KDENETWORK     : on
        KDEPIM         : on
        KDEUTILS       : on
        PULSEAUDIO     : off
Annotations    :
        repo_type      : binary
        repository     : FreeBSD
Flat size      : 25.1KiB
Description    :
KDE is a powerful Free Software graphical desktop environment for Linux
and Unix workstations.

This package does not contain anything by itself -- it is a
"meta-port" that depends on other KDE packages.  Its sole purpose is
to require dependencies so users can install this package only and
have all the KDE stuff pulled in by the port/package dependency mechanism.

x11/kde5 contains current KDE Frameworks, Plasma Desktop and Applications.

WWW: https://www.kde.org
 「FreeBSD 12.1 RELEASE」を扱っていた時期が「kde5-5.16.5.19.08.1」で、今回が「kde5-5.18.4.1.19.12.3」なので、細かな更新がはいっているのでしょう。
ハイスピードプラン