domingo, 7 de julio de 2019

java.library.path in ubuntu

/usr/java/packages/lib/amd64
/usr/lib/x86_64-linux-gnu/jni
/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu
/usr/lib/jni
/lib:/usr/lib

sábado, 6 de julio de 2019

uninstall gnome games

sudo apt remove gnome-chess five-or-more four-in-a-row hitori iagno gnome-klotski lightsoff gnome-mahjongg gnome-mines gnome-nibbles gnome-tetravex gnome-taquin tali swell-foop gnome-robots quadrapassel aisleriot

sábado, 13 de abril de 2019

Install ubuntu 18.10 in Asus VivoBook Pro

Ah, so I solved it this way:



1. Disable Fast Boot and Secure Boot (or Secure loader).



2. Plug in the bootable USB with the Linux distro (mine was Ubuntu 16.04)



3. When you see the loader to "Install Ubuntu" etc ... press "e" and edit a line:

Replace "quiet splash" to "nomodeset" and press F10 to boot.



Then after the installation is complete, you will have to reboot. 



4. This time you will now encounter the GRUB. Again, press "e" and edit a line:

In the line that starts with "linux", add "nouveau.modeset=0" at the end of that line.



Your Linux should now boot. 



P.S. Mark the thread as solved if this solves the issue 

5. After this, you need to install the nvidia drivers. Reboot. And then it's done.

domingo, 31 de marzo de 2019

lunes, 25 de febrero de 2019

Instalar Flutter SDK en Ubuntu 18.04

Ejecute esto:

# Config
INSTALL_DIR=/opt/android-studio
FLUTTER_VERSION=v1.0.0-stable
AS_VERSION=3.3.1.0
AS_FILE=android-studio-ide-182.5264788-linux.zip

# Instalando las dependencias
para 18.04
sudo apt install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6 libbz2-1.0:i386 lib32stdc++6 qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
para 19.10
sudo apt install lib32z1 lib32ncurses6 lib32ncurses-dev lib32stdc++6 libbz2-1.0:i386 lib32stdc++6 qemu-kvm qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils

sudo add-apt-repository ppa:openjdk-r/ppa -y
sudo apt-get update -y
sudo apt-get install openjdk-8-jdk  -y

# Descargando android studio y flutter sdk
sudo mkdir ${INSTALL_DIR}
sudo chmod 777 ${INSTALL_DIR}
cd ${INSTALL_DIR}
wget https://dl.google.com/dl/android/studio/ide-zips/${AS_VERSION}/${AS_FILE}
unzip android-studio-ide-182.5264788-linux.zip
wget https://storage.googleapis.com/flutter_infra/releases/stable/linux/flutter_linux_${FLUTTER_VERSION}.tar.xz
unzip flutter_linux_${FLUTTER_VERSION}.tar.xz

#Instale Android Studio y su SDK
bash ${INSTALL_DIR}/bin/studio.sh

# Instale flutter sdk
export PATH=${INSTALL_DIR}/flutter/bin:$PATH
echo "export JAVA_OPTS='-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee'" >> ${HOME}/.bashrc
echo "----PRESS Y-----"
flutter doctor --android-licenses