NomadBSD icon indicating copy to clipboard operation
NomadBSD copied to clipboard

Display initgfx gfx_menu window only in case Xorg failed

Open probonopd opened this issue 3 years ago • 3 comments

It would be much nicer if NomadBSD would boot straight into a working desktop without asking the user any questions.

I understand that gfx_menu is meant for situation in which the autodetection fails.

Hence, one could run the autoconfiguration, launch Xorg, check its exit code, and display initgfx's gfx_menu window only in case Xorg returned a non-zero exit code.

probonopd avatar Aug 28 '20 20:08 probonopd

Hi @probonopd,

Hence, one could run the autoconfiguration, launch Xorg, check its exit code, and diisplay initgfx's gfx_menu window only in case Xorg returned a non-zero exit code.

I'm already working on it, and this is exactly the approach I chose :)

mrclksr avatar Aug 28 '20 20:08 mrclksr

Give it a try if you like

Boot your NomadBSD and execute the following commands as root to install the new initgfx:

#!/bin/sh

mv -i /etc/rc.d/initgfx ~/initgfx.old

cd /usr/local/etc/X11/xorg.conf.d/ && \
rm 10-intel.conf 10-nvidia.conf 10-driver-scfb.conf 10-driver-vesa.conf \
20-ati.conf 20-amdgpu.conf 20-modesetting.conf

fetch -o /etc/rc.d/initgfx \
        https://raw.githubusercontent.com/nomadbsd/NomadBSD/new_initgfx/config/etc/rc.d/initgfx

chmod a+x /etc/rc.d/initgfx

fetch -o /etc/initgfx_device.db \
        https://raw.githubusercontent.com/nomadbsd/NomadBSD/new_initgfx/config/etc/initgfx_device.db

fetch -o /etc/initgfx_xorg.cfg \
        https://raw.githubusercontent.com/nomadbsd/NomadBSD/new_initgfx/config/etc/initgfx_xorg.cfg

mrclksr avatar Sep 01 '20 17:09 mrclksr

Thanks a lot @mrclksr. Looks like I need to get another SSD because the one I got for "trying out" NomadBSD has since morphed into being my daily driver main desktop system... :+1:

probonopd avatar Sep 01 '20 23:09 probonopd