How To

From GhostBSD Wiki
Revision as of 14:41, 10 February 2020 by Slughorn (Talk | contribs) (Tips and Tricks)

Jump to: navigation, search
Welcome to theIcon Disti GhostBSD.png How To

Introduction

Here we will collect some tips and tricks from users to users. It is not a forum. If you have a question and no answer yet, go to GhostBSD Forums.
But if you got a solution for your issues, you are welcome to describe it here in a short way.

Tips and Tricks

Issue solution Addition or Link
don't use FreeBSD ports via portsnap install it from GhostBSD ports sudo git clone https://github.com/ghostbsd/ghostbsd-ports/ /usr/ports ericbsd
devtools are not installed by default you have to install them: sudo pkg install os-generic-userland-devtools ericbsd
drm-fbsd12.0-kmod Very importent when I send the next @GhostBSD packages everone that use drm-fbsd12.0-kmod need to make a sudo pkg upgrade -f drm-fbsd12.0-kmod or pkg upgrade -f if not on reboot you will have a kernel panic at less for intell. Eric on Telegram 4.2.2020 15:23
Like to change the display manager sudo rc-update delete lightdm

sudo rc-update add gdm

Tip from Eric on Telegram at 27.01.2020 17:09
rc command scripts for auto-reboot and daemon startup Man Page
How to install Nvidia drivers? sudo pkg install nvidia-driver-440.31 will install the latest nvidia driver from pkg Frostygoth on Telegram on 24.01.2010 at 21:18
But how to apply it kldload_nvidia="nvidia-modeset nvidia set in /etc/rc.conf file; Also set the line Driver "nvidia in /etc/X11/xorg.conf

You need to install the driver with pkg install nvidia-driverXXXXX. Then once it's installed you want to make sure that you load the driver at boot by making sure that the line kldload_nvidia="nvidia-modeset nvidia is present in your /etc/rc.conf file. You may need to add this line to /etc/rc.conf. You also need to make sure that your /etc/X11/xorg.conf file has the Driver identified as "nvidia", which may require you to replace 'nv' with 'nvidia'. </br> kldload_nvidia="nvidia-modeset nvidia" —> /etc/rc.conf Driver "nvidia" —> /etc/X11/xorg.conf kldload | grep nvidia That'll tell you if the drivers are loaded at least</br> But as long as you've got the kldload_nvidia="nvidia-modeset nvidia line in your /etc/rc.conf then they'll load automatically after a reboot.

Frostygoth on Telegram on 24.01.2010 at 21:24 -51
But how to apply it sudo nvidia-xconfig Lilly Elijah Victoria Evans on Telegram on 24.01.2010 at 21:48 and confirmation from Neville Goddard 25.01.2020 00:11 And then reboot
pkg is locked by an other process sudo killall -9 pkg && sudo pkg update -f && sudo pkg upgrade -y suggestion from #hd_scania on Telegram on 25.01.2020 at 11:10
You would like to move from a Linux OS to GhostBSD and take your settings and E-Mails from Thunderbird and bookmarks from Firefox to GhostBSD Go to .thunderbird and .mozilla in your home directory and safe each folder /xyz.default and insert the contents in the folder /xyz.default-release on GhostBSD. xyz is only a replacement for bk3yc9n7 or something similar. This worked from Debian to GhostBSD. Tested by Slughorn
Show USB devices
  • Connect USB device
  • open a terminal
  • change to root
  • write: # gpart show
  • gpart will show you the device dax and the partition sx
mount NTFS
  • do first gpart show
  • install: ntfs-3g
  • write: # ntfs-3g /dev/da5s1 /mnt
  • da5s1 is an example
  • /mnt is the mountpoint you wish
  • open Thunar and go to /mnt
  • Thunar shows you the content of your device and you can work with it
  • Caja does not allways
tested by Slughorn

thanks to:user hunghung

mount FAT32 see also msdosfs
  • do first gpart show
  • write:# mount -t msdosfs /dev/da5s1 /mnt
  • da5s1 is an example
  • /mnt is the mountpoint you wish
  • open Thunar and go to /mnt
  • Thunar shows you the content of your device and you can work with it
  • Caja does not always
tested by Slughorn

thanks to:user hunghung

If the system sticks during shutdown at: Saving dependencies cache do:
sudo rc-update delete savecache shutdown
That will remove save cache.
Tip from Eric
Back to the Icon Disti GhostBSD.pngApplications

Recommendation

If you look for something special, we recommend Howtos from FreeBSD