Disable insecure google-chrome(chromium) cache:

# rm -rf ~/.cache/google-chrome
# ln -s /dev/null ~/.cache/google-chrome

In Ubuntu, apt has a bug, apt in the console prints multiple errors.

Rename apt_orig to /usr/bin apt_orig and create this script named apt in /usr/bin:

LANG=C apt_orig $*
exit 0

Don’t forget $chmod 755 apt

The error is only on consoles with a modified locale.

Fix ATH10k WiFi work

Add to /etc/modprobe.d file ath10k_core.conf and add string:

 options ath10k_core skip_otp=y

Create a symbolic link from firmware files:

Example for (Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter)

ln -s /lib/firmware/ath10k/QCA6174/hw2.1/board.bin /lib/firmware/ath10k/pre-cal-pci-0000:05:00.0.bin

ln -s /lib/firmware/ath10k/QCA6174/hw2.1/board-2.bin /lib/firmware/ath10k/cal-pci-0000:05:00.0.bin

Fix regulatory DB for WiFI

Download files

Copy files regulatory.db and regulatory.db.p7s to /lib/firmware

Fix start X session

If start X session fail and error from system journal :

lightdm[1182]: PAM unable to dlopen(pam_kwallet.so): 
/lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory

then turn off all the lines containing pam_kwallet.co and pam_kwallet5.so in
all the files in this directory /etc/pam.d

Intel – Fix MMC/GPT warning

 I had been getting a warning on boot with recent kernels on my 
Intel based UP system, and found a workaround.
The error flagged is – apparently – harmless, and is due to systemd
not being able to recognise some mmc disk partitions at that stage of the boot process.

[ 5.124250] systemd-gpt-auto-generator[416]: Failed to dissect: Input/output error

The workaround is to add systemd.gpt_auto=0 to the kernel command line.

Copyright © 2019 AndyLavr All rights reserved.