omegapixel

FreeBSD - what i had to do

Nov 19th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. edit some network file for dns
  2. chmod a+rwx for bspwmrc
  3. chown omega for ~/.config
  4. sysctl change device from rear to frontal jack for audio
  5. set $LANG correctly (to fix core dump)
  6.  
  7. for actually good sounding audio (etc/sysctl.conf):
  8. # sound!
  9. hw.snd.default_unit=5 # frontal jack
  10. dev.pcm.%d.bitperfect
  11.  
  12. #sck_rate: 48000
  13. dev.pcm.0.play.vchanformat=s32le:2.0
  14. dev.pcm.0.play.vchanrate=44100
  15. hw.snd.feeder_rate_quality=4
  16.  
  17. for copypaste:
  18. install xclip and xsel manually
  19.  
  20. for nvidia driver:
  21. 1. enable linux_load="YES"(?) and nvidia_load="YES" in /boot/loader.conf and enable linux64 kernel module
  22. 2. make nvidia-driver port after updating ports
  23. 3. this should be /etc/X11/xorg.conf:
  24. Section "Device"
  25. ### Available Driver options are:-
  26. ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
  27. ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
  28. ### <percent>: "<f>%"
  29. ### [arg]: arg optional
  30. #Option "ShadowFB" # [<bool>]
  31. #Option "DefaultRefresh" # [<bool>]
  32. #Option "ModeSetClearScreen" # [<bool>]
  33. Identifier "Card0"
  34. Driver "nvidia"
  35. BusID "PCI:1:0:0"
  36. EndSection
  37. 4. reboot
  38.  
  39. for pip: sudo python3 -m ensurepip
  40.  
  41. for mounting:
  42. gpart show / gpart list
  43.  
  44. sudo pkg install fusefs-ext4fuse
  45. use ext2fs, load kernel module (/etc/rc.conf) then do
  46. mount -t ext2fs -o ro /dev/ada2s2 /lfs
Add Comment
Please, Sign In to add comment