ここでは、GUI環境のXfceが使えるようになるまでについて、書きます。
まずは、必要なアプリケーションをインストールします。rootでログインして作業します。
# portmaster -d x11/xorg[ENTER] |
# pkg install x11/xorg[ENTER] |
# portmaster -d japanese/font-std[ENTER] |
# pkg install japanese/font-std[ENTER] |
# portmaster -d japanese/font-vlgothic[ENTER] |
# pkg install japanese/font-vlgothic[ENTER] |
# portmaster -d japanese/font-takao[ENTER] |
# pkg install japanese/font-takao[ENTER] |
# portmaster -d japanese/uim-mozc textproc/uim-gtk[ENTER] |
# pkg install japanese/uim-mozc textproc/uim-gtk[ENTER] |
# portmaster -d x11-wm/xfce4 deskutils/xfce4-volumed deskutils/xfce4-xkb-plugin sysutils/xfce4-battery-plugin sysutils/xfce4-mount-plugin[ENTER] |
# pkg install x11-wm/xfce4 audio/xfce4-mixer deskutils/xfce4-volumed deskutils/xfce4-xkb-plugin print/xfce4-print sysutils/xfce4-battery-plugin sysutils/xfce4-mount-plugin sysutils/xfce4-power-manager[ENTER] |
# portmaster -d x11/slim x11-themes/slim-themes[ENTER] |
# pkg install x11/slim x11-themes/slim-themes[ENTER] |
Section "Module" Load "freetype" EndSection |
Section "Files" FontPath "/usr/local/share/fonts/dejavu/" EndSection |
dbus_enable="YES" |
hald_enable="YES" |
polkitd_enable="YES" |
Section "InputClass" Identifier "Keyboard Defaults" Driver "keyboard" MatchIsKeyboard "on" Option "XkbRules" "xorg" Option "XkbModel" "jp106" Option "XkbLayout" "jp" Option "XkbOptions" "ctrl:nocaps" EndSection |
[Local restart] Idendity=unix-group:power Action=org.freedesktop.consolekit.system.restart ResultAny=yes ResultInactive=yes ResultActive=yes [Local shutdown] Idendity=unix-group:power Action=org.freedesktop.consolekit.system.stop ResultAny=yes ResultInactive=yes ResultActive=yes [Local restart - multiple] Idendity=unix-group:power Action=org.freedesktop.consolekit.system.restart-multiple-users ResultAny=yes ResultInactive=yes ResultActive=yes [Local shutdown - multiple] Idendity=unix-group:power Action=org.freedesktop.consolekit.system.stop-multiple-users ResultAny=yes ResultInactive=yes ResultActive=yes [Suspend Hibernate] Idendity=unix-group:power Action=org.freedesktop.upower.* ResultAny=yes ResultInactive=yes ResultActive=yes |
# pw groupadd power |
# pw usermod [ユーザー名] -G wheel,operator,power |
# startx[ENTER] |
slim_enable="YES" |
default_user (ログインユーザー名) |
current_theme fbsd |
avahi_daemon_enable="YES" |
avahi_dnsconfd_enable="YES" |
#!/bin/sh # set locale export LC_ALL=ja_JP.UTF-8 export LANGUAGE=ja_JP.UTF-8 export LANG=ja_JP.UTF-8 # set input method export GTK_IM_MODULE=uim export QT_IM_MODULE=uim export XMODIFIERS='@im=uim' export XIM=uim # execute uim/mozc as daemon /usr/local/bin/mozc start uim-xim & # execute xfce4 exec startxfce4 |
今回のセットアップでの主なモジュールのバージョン | |
---|---|
xorg | 7.7_3 |
xfce | 4.12_1 |
slim | 1.3.6_15(パッケージは、1.3.6_14) |
dbus | 1.10.16_1 |
hal | 0.5.14_32(パッケージは、0.5.14_31) |
policykit | 0.9_10 |
uim-mozc | 2.20.2677.102_7(パッケージは、2.20.2677.102_4) |
(2016年11月27日 記
2017年 9月23日 更新)