Posts

How to install Tiny11 on GhostBSD

Image
Now that we migrated from Windows and have a running GhostBSD system we may need an application that won't run via Wine on GhostBSD. But we can use a hypervisor and run Windows in a virtual machine. So that' s the opposite way when we tested GhostBSD on Windows. To do this we first need to install the hypvervisor component and a GUI for it. On FreeBSD systems the hypvervisor is called bhyve and one GUI for it is called bhyvemgr . If we go to System->Administration->Software Station we can select the needed components: GhostBSD-bhyve bhyvemgr Please note that bhyve-firmware and edk2-bhyve are also required but they are dependencies in bhyvemgr, so they will be automatically installed and we don't have to select them there. You may have also noticed that bhyvemgr is available in 3 flavors: bhyvemgr-gtk2, bhyvemgr-qt5 and bhyvemgr-qt6, these are different GUI toolkits, you can see a comparison here . I chose the Qt6 variant because it had the smallest install footprint...

The almost 10 year old mouse wheel bug in FreeBSD nobody cares about

When I first discovered this bug I first thought it was just a questionable key binding decision by GhostBSD author Eric Turgeon . But as it turned out this is a real bug. So what exactly is this bug? When you use your mouse wheel to scroll down it works perfectly fine but if you scroll up any program you are in just moves back and forth, e.g. up and down in directories in the file explorer or back and forward in your web browser. I was not the first to discover this bug, it is at least known since September of 2016. Here are some links that I attribute to it: 09/2016: FreeBSD Forums: mouse wheel strange behavior with firefox 12/2016: VirtualBox Forums: FreeBSD/TrueOS mouse wheel issues browser back command 10/2018: FreeBSD Forums: Sudden mouse movement change page in Web browsers 07/2019: KDE Community: Mouse wheel *scroll up* always jumps to cursor 06/2021: reddit: Anyone else having weird behaviour with scrolling the mouse wheel causing other actions? 12/2021: Google Groups: Bizarro...

How to change the QEMU display resolution using OVMF

Image
When you followed my tutorial on how to install GhostBSD on QEMU you probably noticed that the resolution of the emulator window is very low when you have a modern monitor with a high resolution. In my case the default resolution in QEMU is 1280x800, it's probably the same for you. This is how you can increase the resolution in QEMU using the OVMF: Directly after you started the VM hammer the escape (ESC) key on your keyboard to get into the OVMF BIOS menu. Then go to "Device Manager->OVMF Platform Configuration" and change the value "Change Preferred Resolution for Next Boot" to a higher resolution, e.g. 1920x1080. Then select "Commit Changes and Exit", press the ESC key to get to the main menu and select "Reset" to reboot. After the GhostBSD MATE desktop environment loaded you most likely will be faced face this warning message in your top right corner: This can be fixed by opening the Caja file manager, editing the path with the penci...

Why does it say "User &" on the login screen?

Image
You may have come across this, the title over the password field on the GhostBSD login screen says "User &". At first I thought this was a bug in GhostBSD but it seems to be some behaviour in the upstream display manager LightDM which is the default in the MATE desktop environment. This is caused by an empty "Real name" field if you set up GhostBSD, see RoboNuggie's video at 12:15 . I don't know if GhostBSD specifically sets this comment field to "User &" when you leave it empty, I couldn't find that bit in the actual set_admin_user function in the GBI (GhostBSD Installer) source which in succession uses the pw useradd command. There is a thread by a FreeBSD user so I suspect it is actually caused by FreeBSD. I could reproduce it by the simple command sudo pw useradd testuser3 , the previous commands sudo pw useradd testuser1 -c "" and sudo pw useradd testuser2 -c " " did not create this effect, so it's onl...

How to install GhostBSD on Windows

Image
Due to the impending doom of age/ID verification, mandatory account requirements and AI slop built into Windows 11 24H2 and later you may have considered switching your OS to a free and open source one. But you don't want to do the transition immediately, you want to try it out first on your Windows machine. The easiest way would be to use the tool Oracle VirtualBox, but we want to go FOSS (Free Open Source Software) right away and therefore we will use the Emulator QEMU . The former is a Type-2 hypervisor while the latter is an emulator, but it can also act as virtual-machine manager (VMM) for Hyper-V on Windows using the Windows Hypervisor Platform ( WHPX ) API. Check the previous link's requirements for your machine, you need at least Windows 10 2004 to run QEMU with  the WHPX hardware acceleration. First things first we need to install QEMU, fortunately there is some German guy that is so nice to compile the QEMU source code to Windows binaries on every major release, the ...