No £ sign in FreeBSD terminals
To do this globally: add the following to the end of the default:\
section of /etc/login.conf
, not forgetting to add a backslash to the
line above where you add these lines.
:charset=UTF-8:\
:lang=en_GB.UTF-8:
Then run
cap_mkdb /etc/login.conf
Or, for a single user set LANG
to en_GB.UTF-8
and MM_CHARSET
to
UTF-8
.
For example if your shell is bash
put the following in
.bash_login
.
LANG=en_GB.UTF-8
export LANG
MM_CHARSET=UTF-8
export MM_CHARSET
Boot from grub2 on Linux
Here FreeBSD is installed on ufs2 partitions on the same disk as Linux.
Add something similar to the following to /etc/grub.d/40_custom
menuentry 'FreeBSD 12' {
insmod ufs2
set root=(hd0,gpt7)
kfreebsd /boot/loader
}
and run grub-mkconfig -o /boot/grub/grub.cfg
Update:
For GPT disk and EFI booting the following works: shared /boot/efi
,
and add the following to /etc/grub.d/40_custom
:
menuentry "FreeBSD 12.1" {
insmod fat
insmod chain
chainloader (hd0,gpt1)/efi/boot/BOOTx64.efi
}
xorg.conf
for dinah
Graphics card is Mobile 945GSE Express Integrated Graphics Controller
(As seen by: pciconf -lv | grep -B3 display
)
Section "Module"
Load "fb"
Load "vgahw"
EndSection
Section "Device"
Identifier "Card0"
Driver "intel"
EndSection
Also, add kern.vty=vt
to /boot/loader.conf
for KMS and nice text
consoles.
Xorg configuration for jubjub
Graphic card is Intel Corporation HD Graphics 5300
Just this file /usr/local/etc/X11/xorg.conf.d/device.conf
Section "Device"
Identifier "Card0"
Driver "scfb"
BusID "PCI:0:2:0"
EndSection