Last active
June 6, 2020 09:56
-
-
Save mjarkk/57ca263f34bc969ebe475a237d5ec3dd to your computer and use it in GitHub Desktop.
Revisions
-
mjarkk revised this gist
Jun 6, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,7 +12,7 @@ visudo ``` ## AMD Vega GPU drivers *[amd vega drivers](https://forums.freebsd.org/threads/console-hangs-with-amd-vega-graphics.71347/) [get kernel source](https://unix.stackexchange.com/questions/204956/how-do-you-install-the-freebsd10-kernel-sources) [gpu drivers howto](https://freebsddesktop.github.io/2019/03/11/xorg-quickstart.html)* ```sh portsnap fetch update cd /usr/ports/graphics/drm-kmod -
mjarkk revised this gist
Jun 6, 2020 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -53,7 +53,6 @@ Edit `/etc/rc.conf` to: ``` dbus_enable="YES" hald_enable="YES" gdm_enable="YES" # Only if you have installed gnome -
mjarkk revised this gist
Jun 6, 2020 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -31,7 +31,7 @@ echo 'kld_list="/boot/modules/amdgpu.ko"' >> /etc/rc.conf ```sh # options: mate / gnome3 pkg install xorg mate gdm ``` Make sure the following freetype module is loaded. if not add the following to the "modules" section of your x window config file: @@ -53,8 +53,10 @@ Edit `/etc/rc.conf` to: ``` dbus_enable="YES" hald_enable="YES" moused_enable="YES" gdm_enable="YES" # Only if you have installed gnome gnome_enable="YES" ``` -
mjarkk revised this gist
Jun 6, 2020 . 1 changed file with 7 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,13 +1,14 @@ # A cheatsheet for installing FreeBSD ## Corsair keyboard not working Press the `win key lock` + `F1` for 3 seconds. *(this puts the keyboard in some kind of special mode where it behaves like an old keyboard)* ## Deafult programs ```sh pkg install vim nano sudo visudo # Uncomment the %whell and %sudo lines to allow users in those groups sudo rights ``` ## AMD Vega GPU drivers -
mjarkk revised this gist
Jun 6, 2020 . 1 changed file with 16 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,12 +10,27 @@ Press the `win key lock` + `F1` for 3 seconds. pkg install vim nano ``` ## AMD Vega GPU drivers *[amd vega drivers](https://forums.freebsd.org/threads/console-hangs-with-amd-vega-graphics.71347/) [get kernel source](https://unix.stackexchange.com/questions/204956/how-do-you-install-the-freebsd10-kernel-sources)* ```sh portsnap fetch update cd /usr/ports/graphics/drm-kmod make install # If you get some kind of kernel source required do: # svn checkout https://svn.freebsd.org/base/releng/`uname -r | cut -d'-' -f1,1` /usr/src # cd /usr/src # make clean echo 'kld_list="/boot/modules/amdgpu.ko"' >> /etc/rc.conf ``` ## Desktop *[Desktop Environments](https://www.freebsd.org/doc/handbook/x11-wm.html) [Gnome](https://www.freebsd.org/gnome/) [xorg conf](https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html)* ```sh # options: mate / gnome3 pkg install xorg mate ``` Make sure the following freetype module is loaded. if not add the following to the "modules" section of your x window config file: @@ -40,10 +55,6 @@ hald_enable="YES" gdm_enable="YES" gnome_enable="YES" ``` xorg things -
mjarkk revised this gist
Jun 5, 2020 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -40,6 +40,10 @@ hald_enable="YES" gdm_enable="YES" gnome_enable="YES" # For amdgpu: kld_list="amdgpu" # For Intel: kld_list="/boot/modules/i915kms.ko" # For radeonkms: kld_list="/boot/modules/radeonkms.ko" ``` xorg things -
mjarkk revised this gist
Jun 5, 2020 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,7 +15,7 @@ pkg install vim nano ```sh # options: mate / gnome3 pkg install xorg drm-kmod mate ``` Make sure the following freetype module is loaded. if not add the following to the "modules" section of your x window config file: @@ -42,9 +42,9 @@ gdm_enable="YES" gnome_enable="YES" ``` xorg things ```sh # test xorg startx # reboot -
mjarkk revised this gist
Jun 5, 2020 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,10 @@ # A cheatsheet for installing FreeBSD ## Hardware issues #### Corsair rgb keyboard not working Press the `win key lock` + `F1` for 3 seconds. ## Deafult programs ``` pkg install vim nano -
mjarkk revised this gist
Jun 4, 2020 . 1 changed file with 12 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,12 @@ # A cheatsheet for installing FreeBSD ## Deafult programs ``` pkg install vim nano ``` ## Desktop *[Desktop Environments](https://www.freebsd.org/doc/handbook/x11-wm.html) [Gnome](https://www.freebsd.org/gnome/) [xorg conf](https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html)* ```sh # options: mate / gnome3 @@ -35,12 +40,13 @@ gnome_enable="YES" install xorg ```sh pkg install xorg startx # reboot # If you have mouse issues try to set ## echo "kern.evdev.rcpt_mask=6" >> /etc/sysctl.conf # Or just try it: ## sysctl kern.evdev.rcpt_mask=6 pw groupmod video -m your_user_name pw groupmod wheel -m your_user_name -
mjarkk revised this gist
Jun 4, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # A cheatsheet for installing FreeBSD ## Desktop *[Desktop Environments](https://www.freebsd.org/doc/handbook/x11-wm.html) [Gnome](https://www.freebsd.org/gnome/)* -
mjarkk revised this gist
Jun 4, 2020 . 1 changed file with 9 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -35,4 +35,13 @@ gnome_enable="YES" install xorg ```sh pkg install xorg # Some conf thingy: # /etc/sysctl.conf > kern.evdev.rcpt_mask=6 # # Some conf thingy command: # sysctl kern.evdev.rcpt_mask=6 pw groupmod video -m your_user_name pw groupmod wheel -m your_user_name ``` -
mjarkk revised this gist
Jun 4, 2020 . 1 changed file with 16 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ # This is just a cheatsheet of commands for things to remember when installing freebsd ## Desktop *[Desktop Environments](https://www.freebsd.org/doc/handbook/x11-wm.html) [Gnome](https://www.freebsd.org/gnome/)* ```sh # options: mate / gnome3 @@ -21,4 +21,18 @@ FontPath "/usr/local/share/fonts/bitstream-vera/ Add the following to `/etc/fstab` required for gnome: ``` proc /proc procfs rw 0 0 ``` Edit `/etc/rc.conf` to: ``` dbus_enable="YES" hald_enable="YES" gdm_enable="YES" gnome_enable="YES" ``` install xorg ```sh pkg install xorg ``` -
mjarkk created this gist
Jun 4, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ # This is just a cheatsheet of commands for things to remember when installing freebsd ## Desktop *[Desktop Environments](https://www.freebsd.org/doc/handbook/x11-wm.html)* ```sh # options: mate / gnome3 pkg install mate ``` Make sure the following freetype module is loaded. if not add the following to the "modules" section of your x window config file: ``` Load "freetype" ``` Do the same for this under the "Files" section: ``` FontPath "/usr/local/share/fonts/bitstream-vera/ ``` Add the following to `/etc/fstab` required for gnome: ``` proc /proc procfs rw 0 0 ```