Try to learn something about everything, and everything about somethingThomas Huxley “Darwin's bulldog” (1824-1895)

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:computers:laptop_freebsd [04/06/26 11:26 BST] – [LCD Panel on/off] johnpublic:computers:laptop_freebsd [04/06/26 19:11 BST] (current) – [/etc/rc.conf] john
Line 2: Line 2:
  
  
-====== Laptop Freebsd ======+====== Laptop FreeBSD ======
  
 I moved my Dell laptop from Devuan Linux to FreeBSD and here are some things I needed to do and some things I did for convenience.... I moved my Dell laptop from Devuan Linux to FreeBSD and here are some things I needed to do and some things I did for convenience....
Line 52: Line 52:
  
 </code> </code>
- 
------------------------------ 
- 
  
 ''i915kms''  now loads and I have access to DPMS for turning off the LCD ''i915kms''  now loads and I have access to DPMS for turning off the LCD
 screen. screen.
  
-==== LCD Panel on/off ====+===== LCD Panel on/off =====
  
 I made a few small shell scripts to assist in controlling the I made a few small shell scripts to assist in controlling the
Line 81: Line 78:
 ''DISPLAY'' variable was the solution. ''DISPLAY'' variable was the solution.
  
-=== /etc/devd/rules.d/lid.conf ===+==== /etc/devd/rules.d/lid.conf ====
  
 <code> <code>
Line 122: Line 119:
  
  
-Other tweaks +===== Other tweaks ===== 
-============+
  
 Small scripts to automate swithing between Wifi and Ethernet Small scripts to automate swithing between Wifi and Ethernet
  
-=== net_wlan.sh ===+==== net_wlan.sh ====
  
 <code bash> <code bash>
Line 138: Line 135:
 </code> </code>
  
-=== net_eth.sh ===+==== net_eth.sh ====
  
  
Line 150: Line 147:
 </code> </code>
  
 +===== Other Config Files =====
  
 ==== /etc/rc.conf ==== ==== /etc/rc.conf ====
Line 156: Line 154:
 hostname="proton" hostname="proton"
 keymap="uk.kbd" keymap="uk.kbd"
-#wlans_iwlwifi0="wlan0" 
 wlans_iwm0="wlan0" wlans_iwm0="wlan0"
 ifconfig_wlan0="WPA  DHCP" ifconfig_wlan0="WPA  DHCP"
Line 164: Line 161:
 ifconfig_em0_ipv6="inet6 ifdisabled" ifconfig_em0_ipv6="inet6 ifdisabled"
 ifconfig_lo0_ipv6="inet6 ifdisabled" ifconfig_lo0_ipv6="inet6 ifdisabled"
-#ifconfig_wlan0_ipv6="inet6 accept_rtadv" 
 create_args_wlan0="country GB regdomain NONE" create_args_wlan0="country GB regdomain NONE"
 sshd_enable="YES" sshd_enable="YES"
Line 193: Line 189:
  
 kld_list="i915kms" kld_list="i915kms"
-#kld_list="${kld_list} if_iwlwifi" 
- 
  
 powerd_enable="YES" powerd_enable="YES"
Line 220: Line 214:
 fuse_load="YES" fuse_load="YES"
 iwm8265fw_load="YES" iwm8265fw_load="YES"
 +</code>
 +
 +
 +==== ~/.xinitrc ====
 +
 +<code bash>
 +xrdb -load ~/.Xdefaults
 +setxkbmap -layout gb
 +xset s noblank
 +xset s noexpose
 +xset dpms 600 660 670
 +backlight 40
 +
 +eval $(gnome-keyring-daemon --start)
 +export SSH_AUTH_LOCK
 +
 +feh --bg-center -B "#005577"  ~/freebsd.svg
 +
 +pulseaudio &
 +
 +dwmblocks &
 +
 +pasystray &
 +
 +nextcloud & 
 +
 +exec dbus-launch --exit-with-x11 dwm
 +
 +</code>
 +
 +
 +===== pkg prime-list =====
 +
 +Here's the list of intentionally installed packages currently 
 +
 +<code>
 +FreeBSD-kernel-generic
 +FreeBSD-kernel-generic-dbg
 +FreeBSD-set-base
 +FreeBSD-set-lib32
 +FreeBSD-set-minimal
 +alpine
 +ansilove
 +automount
 +avahi
 +bash
 +bombadillo
 +claws-mail
 +claws-mail-bogofilter
 +claws-mail-dillo
 +claws-mail-pdf_viewer
 +detox
 +dmidecode
 +doas
 +drm-latest-kmod
 +dunst
 +dynamic_motd
 +evince
 +feh
 +ffmpegthumbnailer
 +figlet
 +firefox-esr
 +fldigi
 +foomatic-db-hpijs
 +freebsd-ftpd
 +freebsd-telnetd
 +fusefs-jmtpfs
 +gmake
 +gnome-keyring
 +gnucash
 +gopher
 +gpu-firmware-intel-kmod-kabylake
 +gvfs
 +hplip
 +i3blocks
 +imv
 +iperf
 +libptytty
 +libreoffice
 +librewolf
 +lynx
 +mixertui
 +most
 +mousepad
 +mpv
 +musikcube
 +nano
 +neofetch
 +nextcloudclient
 +nss_mdns
 +openshot
 +pasystray
 +pavucontrol
 +pcmanfm
 +pkg
 +pkgconf
 +polo
 +py311-i3ipc
 +py311-pip
 +rename
 +rsync
 +sacc
 +scrot
 +setsid
 +shotwell
 +slock
 +slrn
 +thunar
 +thunar-archive-plugin
 +tightvnc
 +tmux
 +vim
 +vlc
 +wireshark
 +xarchiver
 +xorg
 +yt-dlp
 +zip
 </code> </code>