Tearfree option

master
ElectricAlchemist 5 years ago
parent b259e5770a
commit 7f72fa7adf
  1. 50
      linux_general.txt

@ -48,7 +48,7 @@
although it isn't as visually appealing as pamac and requires a gtk sudo permission although it isn't as visually appealing as pamac and requires a gtk sudo permission
package such as "blank don't remember" package such as "blank don't remember"
Ranking mirrors based on speed: Ranking mirrors based on speed:
-Network management WIP -Network management WIP
Arch uses netctl to manage connections, all the config files and examples are under Arch uses netctl to manage connections, all the config files and examples are under
@ -155,12 +155,12 @@
"apt list --installed" "apt list --installed"
With pacman: With pacman:
"pacman -Qqe" "pacman -Qqe"
-Changing the default shell -Changing the default shell
To change your default shell to something other than bash use: To change your default shell to something other than bash use:
"chsh -s full-path-to-shell" for example "chsh -s /bin/zsh" "chsh -s full-path-to-shell" for example "chsh -s /bin/zsh"
to list all installed shells use "chsh -l" to list all installed shells use "chsh -l"
-Changing keyboard layout: -Changing keyboard layout:
Source: https://superuser.com/questions/1147320/how-to-change-keyboard-layout-in-i3 Source: https://superuser.com/questions/1147320/how-to-change-keyboard-layout-in-i3
In the system console type "layout <layout>" In the system console type "layout <layout>"
@ -202,10 +202,10 @@
type as superuser "dosfsck -a /dev/sdb1" type as superuser "dosfsck -a /dev/sdb1"
remount remount
profit profit
-Arduino not starting: -Arduino not starting:
Try installing "arduino-avr-core" package Try installing "arduino-avr-core" package
-Cannot scroll down in VIM on st: -Cannot scroll down in VIM on st:
Source: (woeking on it) Source: (woeking on it)
one solution is to add "set ttymouse=sgr" to your .vimrc one solution is to add "set ttymouse=sgr" to your .vimrc
@ -361,6 +361,8 @@
On arch install the package "intel-undervolt" from AUR and edit it's configuration file On arch install the package "intel-undervolt" from AUR and edit it's configuration file
located in /etc/intel-undervolt.conf, changing the values from 0 to -number results in that located in /etc/intel-undervolt.conf, changing the values from 0 to -number results in that
number of millivolts taken from the CPU voltage. number of millivolts taken from the CPU voltage.
NOTE: on voidlinux use the pip3 package undervolt follow: https://wiki.voidlinux.org/Undervolting
for more info.
The following are the parts affected: The following are the parts affected:
"CPU" changes the CPU core voltage "CPU" changes the CPU core voltage
"GPU" changes the integrated GPU voltage "GPU" changes the integrated GPU voltage
@ -396,6 +398,18 @@
to the boot command (either in GRUB, rEFInd or systemd-boot) using the syntax: i915.enable_dc=1 to the boot command (either in GRUB, rEFInd or systemd-boot) using the syntax: i915.enable_dc=1
After having enabled the options you can check if they were correctly applied by running "systool -m i915 -av" as root After having enabled the options you can check if they were correctly applied by running "systool -m i915 -av" as root
-Screen tearing:
Refers to: https://wiki.archlinux.org/index.php/Intel_graphics#Tearing
Enable the option "TearFree" of the driver:
File: /etc/X11/xorg.conf.d/20-intel.conf
Content:
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "TearFree" "true"
EndSection
-General tweaks: -General tweaks:
Use "haveged" instead of "rng-tools" Use "haveged" instead of "rng-tools"
Under KDE uninstall everything PIM or akonadi related Under KDE uninstall everything PIM or akonadi related
@ -490,11 +504,11 @@
"echo 1 > /proc/sys/net/ipv4/ip_forward" "echo 1 > /proc/sys/net/ipv4/ip_forward"
To revert it back: To revert it back:
"echo 0 > /proc/sys/net/ipv4/ip_forward" "echo 0 > /proc/sys/net/ipv4/ip_forward"
-Manually changing ip address of a given network card: -Manually changing ip address of a given network card:
run: run:
"ip addr add <ip>/<mask> dev <interface>" "ip addr add <ip>/<mask> dev <interface>"
where ip is the desired ip and mask is the desired network mask in 2 digit format, where ip is the desired ip and mask is the desired network mask in 2 digit format,
ex: "192.168.1.2/24" where 24 expands to 255.255.255.0 ex: "192.168.1.2/24" where 24 expands to 255.255.255.0
# USEFUL PROGRAMS # USEFUL PROGRAMS
@ -515,31 +529,31 @@
-"gotop" Beautiful alternative to htop -"gotop" Beautiful alternative to htop
-"neofetch" display system information in an aesthetic manner -"neofetch" display system information in an aesthetic manner
-"feh" a simple image wiever that can also set the background -"feh" a simple image wiever that can also set the background
-"i3-lock" and "i3-lock-wrapper" a simple and suckless lock screen -"i3-lock" and "i3-lock-wrapper" a simple and suckless lock screen
-"st" a trurly suckless terminal with support for images, unicode and truecolor -"st" a trurly suckless terminal with support for images, unicode and truecolor
-"rivalcfg" tool to configure steelseries mice in loonix -"rivalcfg" tool to configure steelseries mice in loonix
-"cmus" simple terminal music player written in c -"cmus" simple terminal music player written in c
-"mps-youtube" terminal youtube music player -"mps-youtube" terminal youtube music player
-"mpv" required for above, extensible video/media player -"mpv" required for above, extensible video/media player
# VIM COMMANDS # VIM COMMANDS
COMMANDS COMMANDS
:q to quit :q to quit
:w to write :w to write
a combination of the two a combination of the two
:!.. to force a command (:q! to force exit without saoving) :!.. to force a command (:q! to force exit without saoving)
?... to search ?... to search
n to advance in the search n to advance in the search
BINDINGS BINDINGS
p to paste p to paste
y to yank (copy) y to yank (copy)