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.

Friday, April 6, 2018

Meld in Linux Mint 18.2 shows text in Chinese

I solved it writing in .bashrc:

# estas dos lineas son para que el meld funcione bien
export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules/
gsettings set org.gnome.meld detect-encodings "['iso8859-15','utf8']"

Tuesday, July 4, 2017

Installing Linux Mint 18.2

Firefox 52+ does not work with ALSA, therefore you must install PulseAudio:

sudo apt install pulseaudio pavucontrol

and then activate my bose speakers using the PulseAudio Volume Control from the main menu.


Install the following libraries (sudo apt-get install):
qml-module-org-kde-kholidays  (this is for the holidays in the calendar)
gnome-themes-standard          (prevents warning with wxmaxima)
plasma-widget-cwp
plasma-widget-weatherforecast (widget weather forecast... cities)


Otros programas a installar
lha
rpm
rsibreak (workrave does not work)
texstudio (descargar desde página oficial)
google earth (descargar desde página oficial)
acrobat reader (.deb)

Después de instalar MATLAB, instale
matlab-support


Login Manager (greeter)
sddm is the default login manager in Linux Mint 18.2
It is really ugly, and I really like mdm, the default in LM 17.3
Therefore, install mdm and select it as the login manager
Remove sddm, sddm-theme*, kde-config-sddm


In order to remove the
[FAILED] Failed to start braille device support
error, remove brltty

Monday, June 1, 2015

Inkscape 0.46 in Linux Mint 17

I like to use psfrag + Inkscape to create my LaTeX plots,

However, I use inkscape 0.46, because this does not have a bug with the rendering of the text.

I use wine + inkscape 0.46

However when running I get this error:

(inkscape.exe:8): Pango-WARNING **: All font fallbacks failed!!!!

I solved it by installing the fonts with:

sudo apt-get install msttcorefonts

Saturday, May 9, 2015

Moviendome a ASSEMBLA

Lo hice con el comando:

svn relocate https://free1.projectlocker.com/diegoandresalvarez/LaTeX/svn/libro_solidos https://subversion.assembla.com/svn/libro-solidos/libro_solidos


login: diegoandresalvarez
pass: N...

Friday, March 27, 2015

Backup of SVN repository

In order to backup my projectlocker repository I did the following:

svnrdump dump https://free1.projectlocker.com/diegoandresalvarez/LaTeX/svn > backup_libro_solidos.dump

This creates a dump file of the content of an entire repository. This dump file can then be loaded into a new repository (using ‘svnadmin load’) as required.