sudo pacman -Syu
sudo pacman -S yay aria2 speedtest-cli telegram-desktop kdenlive inkscape virtualbox fish flameshot neofetch gtop kolourpaint gedit autoconf binutils make gcc pkg-config fakeroot libtool automake patch dbeaver tilix x11-ssh-askpass drawing opera chromium spotify-launcher
yay -S android-studio woeusb vscodium-bin mailspring raven-reader-bin
chsh -s /usr/bin/fish
curl -L https://get.oh-my.fish | fish
omf install https://github.com/simnalamburt/shellder
❗ If you have a SSD, you should enable fstrim.
sudo systemctl enable fstrim.timer
sudo gedit /etc/tlp.conf
SOUND_POWER_SAVE_ON_AC=1
SOUND_POWER_SAVE_ON_BAT=1
If you have other partitions(E, D etc.). It can be mounted on the startup.
lsblk -f
The command shows your disks uuid.
sudo gedit /etc/fstab
Open your fstab config with the command. You should add codes similar to the following example. You should change UUID and /run/media/yourUserName/Partition.
UUID=b336b98e-d0b5-4254-b6aa-9e66f85b0dfc /run/media/oguz/Files ext4 defaults 0 0
❗ If you use manjaro with dual boot, you should close fast-startup,hibarnate on your Windows, otherwise, you have not a write permission for other partitions.
Open /etc/UPower/UPower.conf
and then change the line as true
IgnoreLid=true
Also edit /etc/systemd/logind.conf
HandleLidSwitch=ignore
sudo nano /etc/pulse/default.pa
at the bottom under ### Make some devices default
put
set-default-sink 3
set-default-source 3
sudo nano /etc/X11/xorg.conf.d/30-touchpad.conf
Section "InputClass"
Identifier "touchpad"
Driver "libinput"
MatchIsTouchpad "on"
Option "Tapping" "on"
Option "NaturalScrolling" "off"
Option "DisableWhileTyping" "on"
Option "HorizontalScrolling" "on"
Option "Tapping" "on"
Option "TappingDrag" "on"
EndSection
sudo pacman -S virt-manager qemu vde2 ebtables dnsmasq bridge-utils openbsd-netcat
sudo systemctl enable libvirtd.service
sudo systemctl start libvirtd.service
In /etc/pulse/default.pa
change load-module module-udev-detect
to load-module module-udev-detect tsched=0
and in /etc/pulse/daemon.conf
change ; default-sample-rate = 44100 to default-sample-rate = 48000
Finally restart pulseaudio with pulseaudio -k
If you have a external CD/DVD,
sudo pacman -S k3b
sudo umount /dev/sdxx
sudo mkdosfs -F 32 -I /dev/sdxx
sudo pacman -S docker-compose
sudo usermod -aG docker oguz
sudo systemctl start docker
sudo systemctl enable docker
reboot
sudo pacman -S postgresql
sudo su postgres -l # or sudo -u postgres -i
initdb --locale $LANG -E UTF8 -D '/var/lib/postgres/data/'
exit
sudo systemctl enable --now postgresql.service
sudo pacman -S pgadmin4
ERROR: Node.js version 11.15.0 is no longer supported. sudo npm install -g n sudo n latest
sudo gedit /etc/X11/xorg.conf
Unlock everything under Nvidia X Server Settings gui including fan control and overclocking. Add this under both “Device” and “Screen” sections.
Option "Coolbits" "31"
Also, enable TripleBuffer under the “Device” section.
By default TripleBuffer is disabled. This even in some cases can help load times with the driver and games.
Option "TripleBuffer" "True"
To bypass PowerMizer and Adaptive Clocking add this under the “Device” section.
Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x3322; PowerMizerDefaultAC=0x1"
PowerMizerEnable=0x1 turns on PowerMizer.
PerfLevelSrc=0x2222 tells the video card to operate at full on both AC & battery.
PowerMizerDefaultAC=0x1 tells the card to behave as if AC power is connected.
PerfLevelSrc=0x2222 is for desktops.
Source https://forum.level1techs.com/t/nvidia-gpu-settings-guide-for-better-performance/131660
sudo archlinux-java status
sudo archlinux-java set java-10-openjdk
sudo pacman -S postgresql
sudo su postgres -l # or sudo -u postgres -i
initdb --locale $LANG -E UTF8 -D '/var/lib/postgres/data/'
exit
sudo systemctl enable --now postgresql.service
sudo pacman -S pgadmin4
find -name "*.svg" -exec sh -c 'inkscape $1 --export-png=${1%.svg}.png' _ {} \;
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
MachineWrap
Interface:
IMachine {85cd948e-a71f-4289-281e-0ca7ad48cd89}
This is the error and we can fix it with this;
sudo pacman -Syyu
sudo pacman -S virtualbox-host-dkms
sudo pacman -S linux-headers
sudo modprobe vboxdrv
sudo /sbin/rcvboxdrv setup
This is the error.
VirtualBox: Error -610 in supR3HardenedMainInitRuntime!
VirtualBox: dlopen("/usr/lib/virtualbox/VBoxRT.so",) failed: <NULL>
VirtualBox: Tip! It may help to reinstall VirtualBox.
Maybe it can fix with(I didn't try it);
sudo chmod -002 /usr/lib/virtualbox
Or, I fix it with;
sudo chmod -002 /usr
sudo gedit /etc/sysctl.conf
add
fs.inotify.max_user_watches=524288
Then
sudo sysctl -p
❗ When installing, It can be stuck at hardware detection. You can apply these settings. It does not appear the newer iso.
sudo gedit /lib/calamares/modules/mhwdcfg/main.py
edit it with this;
def run():
""" Configure the hardware """
mhwd = MhwdController()
# return mhwd.run()
return None # <- Add this and comment the above line
sudo sudo pacman -S binutils make gcc pkg-config fakeroot
remove nodejs then install nodejs-lts-fermium
sudo pacman -S nodejs-lts-fermium
sudo gedit /etc/udev/rules.d/90-mhwd-prime-powermanagement.rules
Then add to comment these lines:
# Remove NVIDIA Audio devices, if present
ACTION=="add", SUBSYSTEM=="pci", ATTR{vendor}=="0x10de", ATTR{class}=="0x040300", ATTR{remove}="1"
When you use the dual-boot(windows-linux), then you get wrong time problem. To solve it, you can use below command.
timedatectl set-local-rtc 1 --adjust-system-clock
sudo dmesg --level emerg,alert,crit,err,warn https://askubuntu.com/questions/1250040/how-do-i-fix-mds-cpu-bug-present-and-smt-on-data-leak-possible-errors-from-lo