Wednesday, July 29, 2020

One screen/Dual screen

I bought a second monitor

In order to create an icon that tells linux to use one or two monitors I did the following:

In the System Settings I adjusted the configuration that I wanted for one monitor. Then in the console I wrote:

$ autorandr --save solo-pantalla-lg

then I created an icon with the command:

$ autorandr --load solo-pantalla-lg

Repeat in order to activate both monitors:

$ autorandr --save doble-pantalla
$ autorandr --load doble-pantalla


Saturday, February 1, 2020

USB WIFI Antenna RTL8812AU 802.11n WLAN Adapter

In order to make my "USB WIFI Antenna RTL8812AU 802.11n WLAN Adapter" work under Linux Mint 17.3, and Kubuntu 19.10 I had to install its drivers.

Just do the following:

Check if it is recognized:

(base) daalvarez@heimdall:~ > lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0458:0186 KYE Systems Corp. (Mouse Systems)
Bus 001 Device 003: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
Bus 001 Device 002: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac WLAN Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Then download the source code of the driver and compile it:

git clone https://github.com/gnab/rtl8812au.git

Follow the steps in the README.md including the DKMS commands, so that it automatically adapts when there is a linux kernel update.



Finally, reboot the computer.