Thứ Năm, 24 tháng 5, 2018

Tậu con RTL8812AU 802.11a/b/g/n/ac WLAN Adapter và cài đặt driver cho nó - Nhật ký Linux


Cài đặt driver.

cd 
git clone https://github.com/gordboy/rtl8812au.
cd rtl8812au
make
sudo make install
sudo reboot reboot
Lưu ý:
Vào file Makefile xóa bỏ :
ifeq ($(GCC_VER_49),1)                                                                         
     EXTRA_CFLAGS += -Wno-date-time  # Fix compile error && warning on gcc 4.9 and later    endif 
giử lại lệnh EXTRA_CFLAGS += -Wno-date-time.
Nhớ cài đặt linux-headers.

Kết quả:

Tốc độ được cải thiện rất nhiều. 
Khả năng quét và kết nối cũng cải thiện rõ rệch.

Link:

https://wiki.gentoo.org/wiki/AC1200_Wireless_Adapters
https://www.archlinux.org/packages/?name=linux-lts
https://www.archlinux.org/packages/core/x86_64/linux-lts-headers/


Thứ Tư, 23 tháng 5, 2018

Cài đặt fcitx - Nhật ký Linux

Fcitx là một phần mềm gõ tiếng việt khá ngon trên Linux.

Cài đặt trên Arch:
                         yaourt -S fcitx-im fcitx-configtool fcitx-unikey 
Vào terminal gõ fcitx
Tùy chỉnh môi trường, thêm :
          export XMODIFIERS="@im=fcitx"                   
     export QT_IM_MODULE=fcitx                                      
     export GTK_IM_MODULE=fcitx                   
     export XIM=fcitx
vào file ~/.xprofile, tạo nếu chưa có.
Logout, Login và hoàn thành việc cài đặt bằng fcitx-configtool.