From 4728c7334b8e788a7735d6575d4e163596f3185a Mon Sep 17 00:00:00 2001 From: Moni Ghaoui Date: Tue, 8 Jul 2025 22:22:21 +0200 Subject: [PATCH] kde --- os/FreeBSD/FreeBSD_on_Lenovo_Thinkcentre.md | 91 +++++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/os/FreeBSD/FreeBSD_on_Lenovo_Thinkcentre.md b/os/FreeBSD/FreeBSD_on_Lenovo_Thinkcentre.md index 84da0ff..e2d1524 100644 --- a/os/FreeBSD/FreeBSD_on_Lenovo_Thinkcentre.md +++ b/os/FreeBSD/FreeBSD_on_Lenovo_Thinkcentre.md @@ -114,3 +114,94 @@ If you get the error 'no host key files found` then ```sh ssh-keygen -A ``` + +# X11 (optional) + +https://docs.freebsd.org/en/books/handbook/x11/ + +Don't forget to start `tmux`: + +```sh +tmux +``` + +Add `moni` to the `video` group: + +```sh +pw groupmod video -m moni +``` + +And then install, but don't forget to read the messages when the install is complete! Scroll up with tmux + +```sh +pkg install xorg +``` + +This will improve mnuse and touchscreen support: + +```sh +sysctl kern.evdev.rcpt_mask=6 +``` + +And add this to `/etc/sysctl.conf` to persist it: + +```sh +kern.evdev.rcpt_mask=6 +``` + +# Intel + +https://docs.freebsd.org/en/books/handbook/x11/#x-configuration-intel + +```sh +pkg install drm-kmod +``` + +Add the kernel module + +```sh +sysrc kld_list+=i915kms +``` + +# Fonts + +```sh +pkg install urwfonts +``` + +But you're not done yet, you need to add a conf file: + +```sh +nvim /usr/local/etc/X11/xorg.conf.d/90-fonts.conf +``` + +With the following: + +``` +Section "Files" + FontPath "/usr/local/share/fonts/urwfonts/" +EndSection +``` + +# KDE + +https://docs.freebsd.org/en/books/handbook/desktop/#kde-environment + +```sh +pkg install kde +``` + +```sh +sysrc dbus_enable="YES" +sysctl net.local.stream.recvspace=65536 +sysctl net.local.stream.sendspace=65536 +``` + +```sh +pkg install sddm +``` + +```sh +sysrc sddm_enable="YES" +sysrc sddm_lang="en_US" +```