Skip to content

Instantly share code, notes, and snippets.

View soaresrodrigo's full-sized avatar
🏠
Working from home

Rodrigo Soares soaresrodrigo

🏠
Working from home
View GitHub Profile
@kirilkirkov
kirilkirkov / Fix Ugly Fonts in Netbeans under Linux
Created February 13, 2018 20:45
Fix Ugly Fonts in Netbeans under Linux
To enable anti-aliased fonts just for Netbeans, add -J-Dawt.useSystemAAFontSettings=on to the end of the netbeans_default_options line in /usr/share/netbeans/etc/netbeans.conf e.g.:
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-Dawt.useSystemAAFontSettings=on"
Alternatively, you can set this globally so that all AWT apps are affected, by setting the _JAVA_OPTIONS environment variable in your .bash_profile:
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true'
This also has Swing equivalent, using the swing.aatext preference. You'll have to log out and log back in for this to take effect.
@leodutra
leodutra / arch-install.sh
Last active July 21, 2022 03:48
Arch Install GPT + GRUB
# O live ISO do Arch é um CLI
# a instalação é iniciada como sudo automaticamente
# siga os passos...
# DEFINIR TECLADO ABNT2 PARA LIVE BOOT
loadkeys br-abnt2
# AUMENTAR FONTE DO TERMINAL DO LIVE BOOT
setfont lat4-19