Editing How To

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 15: Line 15:
  
 
==OS related==
 
==OS related==
 
===What Version of GhostBSD Am I Running?===
 
* Post by ericbsd » Mon Jun 01, 2020 7:44 pm on the GhostBSD Forum:<br/>
 
This would be the best way to determine the os version in the future.<br/>
 
I am looking to update the os version from:<br/>
 
 
 
 
<code>sudo pkg info os-generic-userland | grep Version</code><br/>
 
<code>Version        : 12.1.20200505062108,1</code><br/>
 
 
To:<br/>
 
 
<code>sudo pkg info os-generic-userland | grep Version</code><br/>
 
<code>Version        : 20.05.05</code>
 
 
 
 
 
 
===If you have a fresh GhostBSD 20.03 installation and cannot install packages===
 
===If you have a fresh GhostBSD 20.03 installation and cannot install packages===
  
Line 43: Line 24:
 
===How to move from Trident to GhostBSD?===
 
===How to move from Trident to GhostBSD?===
 
Here you will find a [https://github.com/maxsteciuk/TridentToGhostBSD/blob/master/README.md Step by step tutorial on GitHub].
 
Here you will find a [https://github.com/maxsteciuk/TridentToGhostBSD/blob/master/README.md Step by step tutorial on GitHub].
 
===Migrating ZFS from Linux to FreeBSD===
 
 
https://www.unixsheikh.com/tutorials/migrating-zfs-from-linux-to-freebsd.html
 
  
 
===How to pack a FreeBSD installation image with custom content===
 
===How to pack a FreeBSD installation image with custom content===
Line 76: Line 53:
 
* <code>pkg upgrade -f</code>
 
* <code>pkg upgrade -f</code>
  
===Is there a way to burn an .iso on GhostBSD to usb?===
 
Eric Turgeon [10.09.20 03:51] on Telegram:
 
 
* <code>sudo dd if=/usr/local/ghostbsd-build/iso/GhostBSD-20.09.06.iso of=/dev/da0 bs=4m</code>
 
  
 
===Some tips if you try to set up dualboot===
 
===Some tips if you try to set up dualboot===
Line 86: Line 59:
  
 
* Grub on linux does not see FreeBSD same for Grub on FreeBSD it does not see Linux.
 
* Grub on linux does not see FreeBSD same for Grub on FreeBSD it does not see Linux.
* The best thing I have come up with is Refind, but it only work with efi.
+
* The best thing I have comeup with is Refind, but it only work with efi.
 
* You can set up Grub to config file to add GhostBSD, but it is diferent on MBR, GPT, UEFI, legacy boot
 
* You can set up Grub to config file to add GhostBSD, but it is diferent on MBR, GPT, UEFI, legacy boot
 
* If you google it for FreeBSD you will find the way you need to set it.
 
* If you google it for FreeBSD you will find the way you need to set it.
Line 108: Line 81:
 
https://nsrc.org/workshops/2007/linuxchix-ke/po/recovery/recovery-exercise.pdf
 
https://nsrc.org/workshops/2007/linuxchix-ke/po/recovery/recovery-exercise.pdf
  
 
=== If you have a login prompt loop===
 
If you type correct password the mate login screen loop
 
after updating mate with pkg update.
 
 
Vic Thacker, [30.06.20 11:50]
 
Click on the circle in the login menu box to select another desktop. Then open a terminal and launch 'update-station' to update.
 
 
=== If settings schema org.mate.interface is not installed===
 
 
Vic Thacker, [30.06.20 11:59]<br/>
 
<code>rc-service dhcpcd start</code>
 
 
Vic Thacker, [30.06.20 12:00]<br/>
 
<code>sudo pkg update -f</code><br/>
 
<code>sudo pkg upgrade -yf</code>
 
 
----
 
----
  
 
==Desktop related==
 
==Desktop related==
 
===How to change the localisation of the MATE desktop===
 
 
If you have the MATE desktop in English, but wish to change for example to German, go to the file .profile and fill in the following lines:
 
 
<code>CHARSET=UTF-8; export CHARSET<br/>
 
LANG=de_DE.UTF-8; export LANG<br/>
 
 
setxkbmap de</code>
 
  
 
===How to adjust lcd screen brightness? ===
 
===How to adjust lcd screen brightness? ===
Line 187: Line 135:
 
https://www.thomas-krenn.com/en/wiki/Update_Intel_Microcode_on_FreeBSD<br/>
 
https://www.thomas-krenn.com/en/wiki/Update_Intel_Microcode_on_FreeBSD<br/>
 
I would suggest updating the system's bios, as well.
 
I would suggest updating the system's bios, as well.
 
===How to set the correct Timezone===
 
 
Use on the CLI as root:<br/>
 
<code>[https://www.unix.com/man-page/freebsd/8/tzsetup/ tzsetup]</code>
 
 
----
 
----
  
Line 199: Line 142:
  
 
[https://forums.ghostbsd.org/viewtopic.php?f=66&t=1530 Look at this tutorial]
 
[https://forums.ghostbsd.org/viewtopic.php?f=66&t=1530 Look at this tutorial]
 +
 +
  
 
===Hints from the Community===
 
===Hints from the Community===
Line 204: Line 149:
 
[https://forums.ghostbsd.org/viewforum.php?f=66 GhostBSD Forum]
 
[https://forums.ghostbsd.org/viewforum.php?f=66 GhostBSD Forum]
  
===More information from FreeBSD===
 
 
[https://wiki.freebsd.org/Sound?highlight=%28%5CbCategoryProject%5Cb%29 FreeBSD Sound]
 
 
 
===What do I have to do to play mp3 files in Rhythmbox?===
 
 
look if you have something missing.
 
 
<code>pkg info | grep gstreamer</code>
 
 
* gstreamer1-1.16.2              Media applications framework
 
* gstreamer1-libav-1.16.2        GStreamer plug-in with many audio/video decoders/encoders
 
* gstreamer1-plugins-1.16.2_1    GStreamer written collection of plugins handling several media types
 
* gstreamer1-plugins-a52dec-1.16.2 GStreamer ATSC A/52 stream aka AC-3 (dvd audio) plugin
 
* gstreamer1-plugins-bad-1.16.2  GStreamer-plugins that need more quality, testing or documentation
 
* gstreamer1-plugins-cdparanoia-1.16.2 GStreamer CDDA extraction (aka audio ripping) plugin
 
* gstreamer1-plugins-core-1.16  Core set of typical audio and video GStreamer plugins
 
* gstreamer1-plugins-dts-1.16.2  GStreamer dts audio decode plugin
 
* gstreamer1-plugins-dvdread-1.16.2_1 GStreamer DVD access plugin with libdvdread
 
* gstreamer1-plugins-flac-1.16.2 GStreamer free lossless audio encoder/decoder plugin
 
* gstreamer1-plugins-gl-1.16.2_1 GStreamer GL graphics plugin
 
* gstreamer1-plugins-good-1.16.2 GStreamer-plugins good-quality plug-ins
 
* gstreamer1-plugins-jpeg-1.16.2 GStreamer jpeg encoder/decoder plugin
 
* gstreamer1-plugins-lame-1.16.2 GStreamer High-quality free mp3 encode plugin
 
* gstreamer1-plugins-mpg123-1.16.2 GStreamer MPEG Layer 1, 2, and 3 plugin
 
* gstreamer1-plugins-neon-1.16.2 GStreamer neon http source plugin
 
* gstreamer1-plugins-ogg-1.16.2  GStreamer Ogg bitstream plugin
 
* gstreamer1-plugins-pango-1.16.2 GStreamer pango textoverlay plugin
 
* gstreamer1-plugins-png-1.16.2  GStreamer png plugin
 
* gstreamer1-plugins-resindvd-1.16.2_1 GStreamer resindvd DVD playback plugin
 
* gstreamer1-plugins-soup-1.16.2 GStreamer soup based http input plugin
 
* gstreamer1-plugins-theora-1.16.2 GStreamer theora plugin
 
* gstreamer1-plugins-ugly-1.16.2 GStreamer-plugins set of good-quality plug-ins that might have distribution problems
 
* gstreamer1-plugins-vorbis-1.16.2 GStreamer vorbis encoder/decoder plugin
 
 
 
Also you can do <br/>
 
<code>sudo pkg upgrade -f rhythmbox </code><br/>
 
to see if it will fix it.
 
 
----
 
----
  
Line 251: Line 156:
 
[[Guide to install VirtualBox on GhostBSD]]
 
[[Guide to install VirtualBox on GhostBSD]]
  
===What’s the name for the VBox kmod?===
+
----
  
<code>pkg list virtualbox-ose-kmod | grep \\.ko</code>
 
 
/boot/modules/vboxdrv.ko
 
/boot/modules/vboxguest.ko
 
/boot/modules/vboxnetadp.ko
 
/boot/modules/vboxnetflt.ko
 
/boot/modules/vboxvfs.ko
 
 
vboxdrv.ko is the most important one
 
 
 
 
----
 
  
 
==Software==
 
==Software==
Line 332: Line 224:
 
Yes, and it is available. pkg search dsbmd
 
Yes, and it is available. pkg search dsbmd
 
----
 
----
 
==[[Games]]==
 
 
 
=== Installing and Setting up Linux Steam on GhostBSD ===
 
Use Software Station or pkg command to install linux-steam-utils.
 
 
for package:
 
 
<code>sudo pkg install linux-steam-utils</code>
 
 
If you are using an Nvidia GPU, install the '''linux-nvidia-libs''' for the driver you use.
 
 
Create a new user account with adduser dedicated for gaming. Do not add it to the wheel group for security reasons.
 
 
<pre>
 
steam-install
 
 
Please, consider setting up a dedicated OS user account for Steam.
 
Otherwise, each and every Steam game will have unrestricted access to your files.
 
If you really couldn't care less, you can suppress this message with
 
--allow-stealing-my-passwords,-browser-history-and-ssh-keys flag.
 
</pre>
 
 
Make sure all those lines are in /etc/fstab and reboot:
 
<pre>procfs      /proc      procfs    rw    0  0
 
linprocfs    /compat/linux/proc  linprocfs  rw    0  0
 
tmpfs /compat/linux/dev/shm tmpfs rw,mode=1777 0 0
 
linsysfs    /compat/linux/sys  linsysfs rw  0 0
 
fdesc        /dev/fd            fdescfs  rw  0 0</pre>
 
 
After rebooting login to your new user open a terminal and run <code>steam-install</code> and <code>steam</code>. Steam will take some time to set up and update. After you are good to go to play some games like CS:GO and so on.
 
 
==[[Shell]]==
 
 
===Question regarding config file of "fish" (shell)===
 
In which config file would I define the path to a "bin" directory in my home (e.g. ~/bin/tldr)?<br/>
 
 
Eric Turgeon, [04.06.20 18:49] on telegram<br/>
 
actualy in <code> ~/.config/fish/cofing.fish</code>
 
 
Pino Cuccaro, [05.06.20 11:26] an telegram<br/>
 
I preferred not to change the system-wide config file /etc/login.conf
 
 
I  solved my issue by creating this file <br/>
 
<code>.config/fish/config.fish</code>
 
 
an putting in this line:
 
 
<code>set -g PATH /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/home/<myuser>/bin</code><br/>
 
 
Then restarted the shell and it works.<br/>
 
  
 
==Hardware / Kernel / Driver related==
 
==Hardware / Kernel / Driver related==
Line 534: Line 374:
 
Thank to our community member Fred Finster: [https://webcamtests.com/reviews/14769 Webcam Test with GhostBSD]
 
Thank to our community member Fred Finster: [https://webcamtests.com/reviews/14769 Webcam Test with GhostBSD]
  
 
 
===How to Disable Your Lenovo Trackpad===
 
 
[https://ben-rowan.github.io/post/disable_lenovo_trackpad/ FreeBSD: Disable Your Lenovo Trackpad]
 
 
===And for my webcam to work in the internet browser, how do I do it?===
 
 
Firstly, weI would suggest installing webcamoid to confirm your camera works as expected.
 
 
<code>sudo pkg install webcamoid</code>
 
 
Then select,  "Applications" -> "Sound & Video" -> "Webcamoid"
 
 
If webcamoid crashes, it is likely your webcam is not recognized.
 
 
You'll likely need to make the ''/boot/devices.hints'' writable, and then add additional entries to get your webcam recognized. It is similar to adding audio entries for apple laptops. Which entries you require depends on model.
 
----
 
===Get tearfree video on Intel cards===
 
Create the file '''20-intel.conf''' in directory:
 
'''/usr/local/etc/X11/xorg.config.d/'''
 
 
paste this in the file:
 
 
    Section "Device"
 
        Identifier    "Card0"
 
        Driver    "intel"
 
        Option    "DRI" "3"
 
        Option    "AccelMethod" "SNA"
 
        Option    "TearFree" "true"
 
    EndSection
 
 
 
In your '''/boot/loader.conf''' put the following:
 
 
    drm.i915.enable_rc6=7
 
    drm.i915.semaphores="1"
 
    drm.i915.enable_fbc="1"
 
 
 
And make sure you load <code>kld_list="i915kms"</code>
 
in your '''/etc/rc.conf'''
 
 
For more information check out this link:
 
https://forums.freebsd.org/threads/intel-video-and-screentearing.72085/
 
 
----
 
----
  
Line 602: Line 397:
  
  
==== Ralink Technology USB IEEE 802.11a/g/n wireless network device, Bellkin FSD 8053 drivers====
 
 
The [https://www.freebsd.org/cgi/man.cgi?run(4) run] driver supports USB 2.0 wireless adapters based on the Ralink    RT2700U, RT2800U, RT3000U and RT3900E chipsets.
 
 
The RT2700U chipset consists of two integrated chips, an RT2770 MAC/BBP    and an RT2720 (1T2R) or RT2750 (dual-band 1T2R) radio transceiver.
 
 
The RT2800U chipset consists of two integrated chips, an RT2870 MAC/BBP    and an RT2820 (2T3R) or RT2850 (dual-band 2T3R) radio transceiver.
 
 
The RT3000U is a single-chip solution based on an RT3070 MAC/BBP and an    RT3020 (1T1R), RT3021 (1T2R) or RT3022 (2T2R) single-band radio transceiver.
 
The RT3900E is a single-chip USB 2.0 802.11n solution.  The MAC/Baseband    Processor can be an RT3593, RT5390, RT5392 or an RT5592.  The radio can    be an RT3053, RT5370, RT5372 or an RT5572. The RT3053 chip operates in    the 2GHz and 5GHz spectra and supports up to 3 transmit paths and 3 receiver paths (3T3R).  The RT5370 chip operates in the 2GHz spectrum and    supports 1 transmit path and 1 receiver path (1T1R).  The RT5372 chip operates in the 2GHz spectrum and supports up to 2 transmit paths and 2 receiver paths (2T2R).  The RT5572 chip operates in the 2GHz and 5GHz spectra and supports up to 2 transmit paths and 2 receiver paths (2T2R).
 
 
Tip from Neville Goddard, [15.07.20 01:31] on Telegram
 
 
====Additional sources for information====
 
 
[https://wiki.freebsd.org/WiFi?highlight=%28%5CbCategoryProject%5Cb%29 FreeBSD Wireless]
 
  
 
===Using USB Tethering on GhostBSD with Android===
 
===Using USB Tethering on GhostBSD with Android===
Line 633: Line 412:
 
====Bluetooth on GhostBSD====
 
====Bluetooth on GhostBSD====
  
Explanations by NevilleGoddard on the GhostBSD Forum:
+
Explanation by NevilleGoddard » Wed Jan 03, 2018 12:44 am on the [https://forums.ghostbsd.org/viewtopic.php?t=970 GhostBSD Forum]
* [https://forums.ghostbsd.org/viewtopic.php?t=970 Bluetooth on GhostBSD]
+
 
* [https://forums.ghostbsd.org/viewtopic.php?f=63&t=1676 Bluetooth Quick Start Guide on GhostBSD]
+
 
----
 
----
  
Line 652: Line 430:
 
===Search for Files on GhostBSD===
 
===Search for Files on GhostBSD===
 
There is a very useful application called catfish that can be used to search your computer for files.
 
There is a very useful application called catfish that can be used to search your computer for files.
Read more on the  
+
Read more on the [https://forums.ghostbsd.org/viewtopic.php?f=76&t=741 GhostBSD Forum].
* [https://forums.ghostbsd.org/viewtopic.php?f=76&t=741 GhostBSD Forum]
+
 
Author:  Neville Goddard
 
Author:  Neville Goddard
  
===How to transfer files from Android to GhostBSD===
+
----
  
Install <br/>
 
<code>android-file-transfer </code>
 
 
and you may have to install <br/>
 
<code>mtp-libs</code>
 
 
also. Connect your phone with USB and start android-file-transfer.
 
 
 
===MTP===
 
 
See [https://forums.ghostbsd.org/viewtopic.php?f=63&t=498&p=2229&hilit=android#p2229 our forum]
 
See android-file-transfer-qt5 forum post  [https://forums.ghostbsd.org/viewtopic.php?p=8951#p8951 android-file-transfer-qt5 GUI app]
 
----
 
  
 
==Mount / unmount==
 
==Mount / unmount==

Please note that all contributions to GhostBSD Wiki are considered to be released under the Creative Commons Attribution (see GhostBSD Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)

Template used on this page: