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 43: Line 43:
 
===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 72:
 
* <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 78:
  
 
* 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 100:
 
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 154:
 
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 161:
  
 
[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 168:
 
[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 175:
 
[[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 333: Line 244:
 
----
 
----
  
==[[Games]]==
+
==Games==
  
  
=== Installing and Setting up Linux Steam on GhostBSD ===
+
===Linux Steam that is in the GhostBSD software repository===
Use Software Station or pkg command to install linux-steam-utils.
+
Eric Turgeon, [06.06.20 01:45]
  
for package:
+
* All is recompiled for ghostbsd
  
<code>sudo pkg install linux-steam-utils</code>
+
Eric Turgeon, [06.06.20 01:47]<br/>
 +
Yeah there is a couple setting and yeah the new user is for security issue.<br/>
  
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.
+
Eric Turgeon, [06.06.20 01:50]<br/>
 +
to set it up to work you need this <br/>
  
<pre>
+
<code> % cat /etc/fstab</code><br/>
steam-install
+
<code># Device    Mountpoint    FStype    Options  Dump Pass</code><br/>
 
+
<code>/dev/label/swap1  none    swap  sw  0  0</code><br/>
Please, consider setting up a dedicated OS user account for Steam.
+
<code>procfs      /proc      procfs    rw    0  0</code><br/>
Otherwise, each and every Steam game will have unrestricted access to your files.
+
<code>linprocfs    /compat/linux/proc  linprocfs  rw    0  0</code><br/>
If you really couldn't care less, you can suppress this message with
+
<code>tmpfs /compat/linux/dev/shm tmpfs rw,mode=1777 0 0</code><br/>
--allow-stealing-my-passwords,-browser-history-and-ssh-keys flag.
+
<code>linsysfs    /compat/linux/sys  linsysfs       rw     0       0</code><br/>
</pre>
+
<code>fdesc        /dev/fd               fdescfs               rw       0       0</code><br/>
 
+
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]]==
 
==[[Shell]]==
Line 534: Line 437:
 
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 460:
  
  
==== 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 656: Line 498:
 
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]
 
 
----
 
----
  

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: