Wednesday, June 24, 2020

Add bluetooth support to Archlabs

I read this article: 
How to add bluetooth support to ArchLabs for bosebluetooth headphone


I follow the instruction and get things done.


sudo pacman -S pulseaudio-alsa pulseaudio-bluetooth  
sudo pacman -S bluez bluez-libs bluez-utils bluez-firmware blueberry
sudo systemctl enable bluetooth.service 
sudo systemctl start bluetooth.service 
sudo systemctl daemon-reload

That's it. 
Thank you.

Saturday, June 20, 2020

Tips for archlabs problem

To remove database lock when using pacman
rm /var/lib/pacman/db.lck

When install archlabs remember to install base-devel.

Wednesday, May 20, 2020

Setup vnstat in Archlabs

1. install vnstat and net_manager.
2. vnstat --iflist
3. sudo vnstat -i wifi adaptor
4. sudo systemctl start vnstat.service
5. sudo systemctl enable vnstat.service

Usage: vnstat -d -i wifi adaptor
            vnsat -q
            vnstat -l
            vnstat --help

Wednesday, April 15, 2020

nss update problem

Archlabs failed to update nss. After searching from google, I found this article that solved the problem.

nss>=3.51.1-1 and lib32-nss>=3.51.1-1 updates require manual intervention

https://www.archlinux.org/news/nss3511-1-and-lib32-nss3511-1-updates-require-manual-intervention/

Use this command to perform the update:

pacman -Syu --overwrite /usr/lib\*/p11-kit-trust.so
 
 

Wednesday, March 25, 2020

Pair Bluetooth device with Archlabs Linux

My brother gave me a bluetooth dongle. I tried to install it to my Archlabs system but failed. Then one day I found and article regarding how to pair bluetooth device on linux, the problem solved.
This the link: https://www.addictivetips.com/ubuntu-linux-tips/pair-and-use-bluetooth-devices-on-linux/

1. sudo pacman -S bluez bluez-utils
2.sudo pacman -S blueman 
3.modprobe btusb
4.sudo systemctl enable bluetooth.service
5.sudo systemctl start bluetooth.service
 
Thanks to Author: Derrik Diener
 

Saturday, February 15, 2020

Archlabs AUR

From the net I got this:
Archlabs uses baph, and it's great...
baph -s xxxx #search
baph -i xxxx #install
baph -u xxxx #update
#info in man baph

Tuesday, December 31, 2019

Happy New Year 2020

新的一年又开始了。2020年是一个怎样的一年?好好的生活就对了。应该放下的放下,应该做的去做,想吃的就去吃,开开心心的过日子就好。