Q: How to add/setup X windows
A:
pkg install xorg
vim .xinitrc
and add a window manager to start, i.e. exec wmaker
Q: How to change the keyboard map
A: kbdmap
Q: What's the un/pw for root + default account in FreeBSD on arm (Raspberry Pi)?
A: root/root and freebsd/freebsd
Q: How to set the date + time
A: As root: date 2208062151.30
will set the date + time to 2022, 06 August, 21:51:30
Q: How to remove a user
A: # rmuser
Q: How to copy an entire dir into another dir?
A: cp -iprv /path/of/source_dir /path/of/destination_dir
(no / at the end!)
Note: -i = interactive, -p = preserve file attributes, -r = recursive: will copy subdirs
Q: How to change the hostname
A: vim /etc/rc.conf
Q: When runnning startx
: "Cannot run in framebuffer mode. Please specify BUS IDs" (this is for Intel graphics)
pkg install drm-kmod
sysrc -f /etc/rc.conf kld_list+=i915kms
Q: How to setup a cron job
crontab -e
sh
or bash
's path is correct30 03 * * * /location/of/script anything extra
Q: How to add Japanese support (display fonts)
A: # pkg install ja-font-std ja-ibus-mozc