Skip to content

Instantly share code, notes, and snippets.

@joariasl
Last active June 30, 2022 20:36
Show Gist options
  • Save joariasl/e58ca997d2581236dc56 to your computer and use it in GitHub Desktop.
Save joariasl/e58ca997d2581236dc56 to your computer and use it in GitHub Desktop.
Things to do after installing Antergos Arch Linux

Things to do after installing Antergos Arch Linux

Table of Content

Update

sudo pacman -Syyu

Problema con "Failed to Start Setup Virtual Console" (Se da al no existir teclado latam, la-latin1 es el equivalente (mismo))

Chequear con systemctl status systemd-vconsole-setup.service -l

Si fallo indica "systemd-vconsole-setup[393]: cannot open file latam", entonces:

sudo nano /etc/vconsole.conf

Cambiar KEYMAP=latam por KEYMAP=la-latin1.

Reiniciar servicio o reiniciar equipo: sudo systemctl restart systemd-vconsole-setup.service

Chequear configuración: localectl status

ZSH how default terminal and Install Oh My ZSH

sudo pacman -S zsh
chsh -l
chsh -s /bin/zsh

sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

Or by yaourt:

yaourt -S oh-my-zsh-git
cp /usr/share/oh-my-zsh/zshrc ~/.zshrc

(logout)

Translate Firefox to spanish

sudo pacman -S firefox firefox-i18n-es-cl

(Luego en algún textarea clic derecho y agregar diccionaro, buscar en español. Cambiar predeterminado en about:config, buscar variable spellchecker.dictionary y cambiar valor a es_ES o según idioma de diccionario, si no funciona intentar con es-ES)

Install intel video driver

sudo pacman -S xf86-video-intel

Install nvidia driver (don't execute if install Bumblebee)

sudo pacman -R lib32-mesa-libgl
sudo pacman -S nvidia lib32-nvidia-libgl

Bumblebee for nVidia Optimus

Install:

# sudo pacman -R lib32-nvidia-libgl # Sera removido
sudo pacman -R xf86-video-nouveau
sudo pacman -R nouveau-dri
sudo pacman -S bumblebee mesa intel-dri xf86-video-intel lib32-intel-dri nvidia nvidia-utils lib32-nvidia-utils bbswitch nvidia-utils primus lib32-primus lib32-virtualgl lib32-mesa-libgl
sudo gpasswd -a $USER bumblebee
sudo systemctl enable bumblebeed.service

Reboot: sudo shutdown -r now

Edit config:

sudo nano /etc/bumblebee/bumblebee.conf

Write: Bridge=primus, Driver=nvidia in the corresponding lines.

Test:

optirun pwd optirun glxspheres optirun glxgears

If problem:

sudo pacman -R nvidia
sudo pacman -S nvidia-lts

, use this driver nvidia if in use kernel linux-lts

For error known session:

Edit file: /etc/mkinitcpio.conf and edit MODULES="i915 bbswitch". Execute: sudo mkinitcpio -p linux After edit file /etc/default/grub and add rcutree.rcu_idle_gp_delay=1 to the kernel parameter GRUB_CMDLINE_LINUX_DEFAULT

Install Steam

sudo pacman -S steam

Solución a problema SetLocale(‘en_US.UTF-8’) failed. Using 'C'

sudo nano /etc/locale.gen

Descomentar idioma en_US.UTF-8 UTF-8.

Actualizar con:

sudo locale-gen

Install Thunderbird in spanish:

sudo pacman -S thunderbird thunderbird-i18n-es-es

(Luego en cuadro de redacción clic derecho y agregar diccionaro, buscar en español. Cambiar diccionario predeterminado en: Preferencias > Redacción > Ortografía)

Install nampac (package analyzer) (OPTIONAL)

pacman -Ss --color auto namcap

Open Broadcaster

yaourt -S obs-studio

Spotify

yaourt -S spotify

Automount NTFS Windows partition

sudo sh -c "sudo echo \"/dev/sdb1 /run/media/Datos ntfs-3g root,uid=1000,gid=users 0 0\" >> /etc/fstab"

(After create folder destination: sudo mkdir /run/media/Datos)

Create symbolic links replacing the of home

folder="Desktop" && rm -Rf ~/$folder && ln -s /run/media/Datos/Users/Jorge/$folder ~/$folder

(Repeat for each folder is required)

Atom GitHub editor code

sudo pacman -S nodejs npm && yaourt -S atom-editor-bin

Install Adobe Flash Player (only if this is necessary)

sudo pacman -S flashplugin

CMUS terminal music player

sudo pacman -S cmus

Keys

a: add to library
y: add to playlist
e: add to queue
c: play/pause
z: back
b: next
v: stop
x: stop and play

Java JDK (OpenJDK)

sudo pacman -S jdk8-openjdk

(This auto-install jre8-openjdk)

Configure environment variables (variable de entorno)

All in one line:

export JAVA_HOME=$(which java | xargs readlink -f | xargs dirname | xargs dirname) && export PATH=$PATH:$JAVA_HOME/bin

(This command resolve symbolic links recursively)

Or manually:

Search the java location: whereis java Identify path until find absolute path of the symbolic link found in bin/:

ls -lah /usr/bin/java
ls -lah /usr/lib/jvm/default-runtime/bin/java

or an a simple command to find this:

which java | xargs readlink -f

(This command resolve symbolic links recursively)

(So the absolute path is "/usr/lib/jvm/default-runtime")

Edit and add in "/etc/profile" the environment variables according to results:

# JAVA
export JAVA_HOME=/usr/lib/jvm/default-runtime
export PATH=$PATH:$JAVA_HOME/bin

Re-login and execute: source /etc/profile

IcedTea (Java Web browser Plugin to run applets and Java WebStart)

sudo pacman -S icedtea-web

System-Monitor applet for GNOME 3

yaourt -S gnome-shell-system-monitor-applet-git

(Alt+F2 -> r and active with GNOME Tweak)

Dropbox (including plugin for Nautilus)

yaourt -S dropbox nautilus-dropbox

Code::Blocks IDE C, C++ and Fortran

sudo pacman -S codeblocks

Telegram Desktop

yaourt -S telegram-desktop-bin

Gufw (Firewall GUI Front-End)

Antergos include this app by default, for install:

sudo pacman -R gufw

GIMP Image Manipulation

sudo pacman -S gimp

Pinta Simple Image Editor similar Paint.NET

sudo pacman -S pinta

TeamViewer

yaourt -S teamviewer

After execute "sudo systemctl start teamviewerd" for start daemon. Or sudo systemctl enable teamviewerd for auto start on start forever.

GNOME To Do (Simple task manager)

yaourt -S gnome-todo

(For now in pre-release, manual installation)

Solve problem with LibreOffice and GTK3 integration

Force to use GTK2:

Edit sudo nano /etc/profile.d/libreoffice-fresh.sh and uncomment export SAL_USE_VCLPLUGIN=gtk. Save!

Execute: export SAL_USE_VCLPLUGIN=gtk

And restart system

The R Project for Statistical Computing with GUI RStudio

sudo pacman -S r rstudio-desktop-bin

Wine

sudo pacman -S wine wine_gecko wine-mono

PlayOnLinux

No related to Wine. Use an different installation.

sudo pacman -S playonlinux

f.lux (Changes monitor color temperature adaptively to ease eye strain)

yaourt -S xflux

To get location: http://stereopsis.com/flux/map.html

Example to use: xflux -l 00.0000 -g 00.0000

Install Vim Text Editor

sudo pacman -S vim
echo "syntax on" >> ~/.vimrc

(Change EDITOR variable in .zshrc or .bash_profile file)

Ohcount (Source Code line counter)

yaourt -S ohcount-git

Brackets (An open source code editor for the web)

yaourt -S brackets-bin

Jekyll

Require if not installed:

sudo pacman -S ruby
sudo pacman -S nodejs
gem install jekyll
alias jekyll='~/.gem/ruby/2.2.0/bin/jekyll'

(or according to version)

For ZSH save alias:

echo 'alias jekyll="~/.gem/ruby/2.2.0/bin/jekyll"' >> .zshrc

Markdown Table of Content Generator

sudo npm install -g doctoc

Install Screen (Full-screen window manager that multiplexes a physical terminal)

sudo pacman -S screen

LaTeX and TexStudio Graphic Editor

sudo pacman -S texlive-most texlive-lang
sudo pacman -S texstudio
@kri3v
Copy link

kri3v commented Feb 13, 2016

Tu gist me ayudo con "Failed to Start Setup Virtual Console". Gracias!

@Peppernrino
Copy link

Peppernrino commented Oct 13, 2016

*Correction(?)

Update

sudo pacman -Syu

I was told (by a dude that does support for Antergos on IRC) that -Syyu is a waste of cpu cycles, as your sources are updated upon installation. Up for debate, because I am very new to arch linux... but if there is conflicting information, we should try to clear it up. :D

Anyhow, cheers. And thank you for this guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment