Hats off to the Zilog Z80 and MOS 6502, experiment and see how usable a FreeBSD based desktop operating system can be with some good small software.
- No live CD, no OS installer, just a simple shell script to install required software
- As less system level customization as possible, the DE experience is limited to single user
- Balance between usability and disk & memory size, pick as suckless software as possible
- Adjust screen resolution for XDE:
- macOS: Check
System Preferences -> Displays -> Display
for your screen resolution, it's 1680x1050 by default on MacBook Pro 15-inch screen. If you use different resolution, you need customizeXDE/xde.conf
byXDE/xde.conf.local
, notice the resolution for ZMOS is doubled because Apple Retina display runs "pixel doubled".
- macOS: Check
- Install VirtualBox 6.1.10 or VMWare Fusion 11.5.5
- To avoid conflict with X window manager hot keys, change Virtual Machine host key to not use Command or Win, you may use Right_Command + Right_Option.
- Create FreeBSD 64bit VM, use UEFI firmware, change machine settings:
- VirtualBox
- System -> Motherboard
- Base Memory: >= 2048 MB
- Enable EFI
- Hardware Clock in UTC Time
- System -> Processor
- Processor: >= 2
- Enable Nested VT-x/AMD-V
- Display -> Screen
- Video Memory: 128 MB
- Graphics Controller: VMSVGA
- Enable 3D Acceleration
- System -> Motherboard
- VMWare Fusion
- Processors & Memory
- Processors: >= 2
- Memory: >= 2048 MB
- Enable hypervisor applications in this virtual machine
- Enable code profiling application in this virtual machine
- Enable IOMMU in this virtual machine
- Keyboard & Mouse
- select "Mac Profile" because "Profile - Default" has too many conflicts with i3 window manager
- Display
- Enable "Accelerate 3D Graphics", select "Always Use High Performance Graphics" for "Battery life"
- Enable "Use full resolutions for Retina display"
- Isolation
- Enable Drag and Drop
- Enable Copy and Paste
- Advanced
- Cancel "Synchronize time" because FreeBSD has ntpd running
- Enable "Pass power status to VM"
- Fimware type: UEFI
- Processors & Memory
- Parallels Desktop
- At the last step of creating virtual machine, make sure to select "Customize settings before installation"
- In the configuration window:
- Hardware -> Boot Order: Advanced Settings -> BIOS "EFI 64-bit"
- Hardware -> CPU & Memory: Processors "2", Memory "2048 MB"
- Hardware -> Graphics: Memory "512MB(Recommended)", Resolution "More Space"
- Parallels Desktop -> Preferences
- Shortcuts -> macOS System Shortcuts: Send macOS system shortcuts "Always" (so that Ctrl-Space will be sent to FreeBSD)
- VirtualBox
- Install FreeBSD 12.1, create a normal user
- Download ZMOS/ to home directory, run commands below:
## as root ./XDE/install-xde.sh pw groupmod wheel -m YOUR-NON-ROOT-USER # for VirtualBox clipboard sharing, window scaling pw groupmod video -m YOUR-NON-ROOT-USER # access /dev/dri for Xorg 3D acceleration ## as your non-root user ./XDE/user-xde.sh reboot
- After login X session, run
fcitx5-configtool
and selectRime
to enable RIME for Fcitx.