Mama, I’m coming home

I’m sorry but it’s totally funny the way he walks xD (We love you man!!) | Mama, I’m coming home

After 8 months of running Ubuntu 11.10 I finally gave up on it, there’re too many things that makes using it a painful experience, for instance:

* The PPA system: I guess it was never meant to be used the way it’s used today but there’s nothing best to keep one’s system up-to-date – Ubuntu’s upgrade policy is to only update packages in the current release with security patchs, no bumps to newer versions for the next 6 months. PPAs? Hell no! AUR is way more efficient, easy, simple… well, way more Arch :)
* It’s Debian based :( While I’m positive GNU/Linux and F/LOSS communities owes too much to it and that it’s social contract represents a giant leap towards a better world (yeah, I do think that) by being not only the biggest free and open computer community ever but the biggest world-wide community effort ever, I can’t stand the way it implements GNU/Linux, it just sucks cocks fucking hard, everywhere.
* /etc/apt/ it’s a clunky crap.
* Canonical’s Compiz screwing up: I love Compiz -and Emerald-, I hate Ubuntu 11.04/11.10 Compiz. While Compiz traditionally provided out-of-this-world eye candy for my desktop the way it’s integrated into Ubuntu 11.04/11.10 plain SUCKS, do you hear (Canonical) boys? S U C K S, it simple hogs my CPU and drains my computer battery – in contrast to Mutter (GNOME Shell green composite technology) and KDE SC’s KWin that simple rocks. Thanks Canonical for screwing Compiz up.
* The kernel, my kingdom for a kernel! In Ubuntu you need to wait 6 months for a kernel upgrade -they only update minor revisions- so if say, there’s a new functionality added that may potentially make your system better support your hardware (or just be aware of it!) you’ll have to wait 6 months before you get it! Worst, when they finally freeze a kernel to add it to the next Ubuntu release it’s surely it will be well behind the *current-stable* available kernel. One thing that specially annoy me about Ubuntu’s kernel is that my laptop heated like if Lindsay Lohan and Michele Rodriguez were having sex on the blonde bad girl of Mission Imposible 4: Ghost Protocol – @ Hell.
(Oh… a surprisingly good idea, mmm…)
Wait, give me a minute please…
(Five minutes later)
Ok, let’s continue:
* Ubuntu’s base system, Debian: I dislike it – a lot.
* Bloatness, hogness and other pigness: The whole system was bloated, trivial applications pulled long lists of dependencies.
* Indicators: Most indicators I’ve used at the time were known to not work with upcoming Ubuntu release (and I’ve already did lose some of the soldiers when upgraded from 11.04 to 11.10, so this made me sick, really).
* Don’t touch! I was totally afraid to touch something I was supposed to not touch and broke the system – the same old story of Ubuntu.
* Greedy: I learn about Canonical modifying the source code of Rhythmbox so they basically kept all the incoming produced by users using the various online music stores accessible within application – originally this source of incoming was used to finance both Rhythmbox and GNOME Project development.
* Did you ever cat an Ubuntu ~/.bashrc? There’s a whole fucking OS in there!
* apt stinks, did I mention it?
* aptitude tries to make apt not stink but in the end stinks with it’s own odor.
* It’s versioned. Be real people: if your GNU/Linux installation it’s not a server install then you *should* (note I’m being polite) be rolling-release. C’mon, it’s 2012, remember world will come to end at 25/12/2012, maybe you won’t have time to release another version LOL!
* It’s bulky and constructed in a way you can’t touch much of it without risking to have to reinstall it.
* Closed: Seems -read, I said SEEMS- Canonical is slowly but with good pace ‘closing’ it the way Apple and now Moco$oft (BTW, in spanish moco means mucus, snot) close their ecosystems. Sure, Ubuntu *is* GNU/Linux, sure it (still) is open source, but with every new version it feels a little more closed/compact, it feels like you can’t really do as much as you want with it; to me, flexibility and openness of a OS it’s everything.
* Ubuntu forums: you need to register just to make a search, WTF!
* It’s bloody buggy, hell. Linux Mint exists because Ubuntu (surprinsingly STILL) floats in a sea of bugs, and that sucks. Today Linux Mint have it’s own path with Cinammon and all of that but it’s roots are in polishing the buggy Ubuntu.
* Last: I don’t like what Canonical did to GNOME and Rhythmbox teams: YOU SUCKS, SHUTTLEWORTH.

Ahh, I feel much better now :P

Now, it’s not all words of hate sir, not at all!
I love Ubuntu because it was the first GNU/Linux system with which I could totally replace and better of, improve my computing experience by replacing XP with it circa 2007 – I did play with GNU/Linux from some time before but never found anything near to what Ubuntu was at the time and the truth is desktop experience was nowhere near to what it is today.
I still DO LIKE UBUNTU and have a lot of expectations on it. I firmly believe that today _it’s the only_ GNU/Linux distro that can compete with MacOS and Win$hit on THEIR terms, and that’s fucking awesome. I do like Unity -fuck off all of you, bunch of motherfuckers- and where Canonical Ltd. seem is going with the distro – and where Ubuntu will be in the next year or two.
Hey I’m not saying Gentoo.. er, well, may be it’s not the best example *cof* sorry…, I’m not saying any other distro could’nt be a real option for Average Joe or Doña Rosa, what I say there’s no other GNU/Linux distro out there that’s canned in a way you can open and consume it. Of course my Arch Linux running KDE SC 4.8.2 beats the shit out of Ubuntu*, Windick and MacOS, but it is my personal installation, not Arch Linux by itself – same with every other distro out there. Not even Sabayon, Calculate (whoa, two Gentoo based), Fedora, even openSUSE with it’s KDE desktop are near Ubuntu user-experience, check out the list at Distrowatch and you tell me. The only other distro I could think as a real competitor to Ubuntu which in fact I really like and it’s doing their homework very well is Linux Mint: the guy behind it knows what he’s doing and there’s no doubt he managed to gather an awesome team, I feel happy for them, Mint rocks. However Mint’s actual transition to new in-house developed Cinammon/GNOME3 DE puts it out of the race; said that, I’ve used Lisa for about a month and after tweaking it a bit -Mint’s forum have a Tip & Tricks section that helps a lot- I can say it really shines: Lisa is an elegant, speedier than Ubuntu, customizable to the bones and easy to deploy and use distro which will give you an *excellent* desktop experience without doing away with your nerdy habits.
*My current Arch Linux + KDE SC 4.8.2 setup is awesome, believe me on this, from my own experience it beats the shit out of Windows 7 (my laptop came with a HP-customized Home Premium edition) and MacOS SnowLeopard (played with it at work,  sucks). To being fair I must say although somewhat finished Ubuntu is still a work in progress so I can forgive Ubuntu on this one ;-D

 

tmux of Ubuntu 11.10

Farewell Ubuntu!

 

 

Honey, I’m home!

It’s incredible how adaptable are we, the humans.
Eight months ago the postman brings me home the laptop I’m using now, a HP Pavilion dv7-4287cl. The first thing I did and I presume the very same thing everyone does when buys a new computer that happens to be shipped with poop is erase Win$hit partitions. I remember at that time I was in need to have my computer up and running faster than fast so I throwed at it an Ubuntu 11.04 LiveCD counting the days to the next weekend when I was to install and tweak Arch – a pretty cool program for the weekend if you ask me.
What I didn’t expect was I actually liked 11.04, it was awesome when compared with the last Ubuntu I tried, 9.10. In fact I liked so much Natty Narwhal I made it my official desktop – Father, forgive me for I have sinned…
But what started as a passionate love early became a tense relationship soon to break-up only saved because Oneiric was around the corner. I must say 11.10 impressed me: they did go further on the concepts shown in 11.04 and improved it resulting in the polished and functional 11.10 that blown away my wig!
And everything was smooth and cool… for a time though, we didn’t live happily forever :( you already read about that at the beginning of this post rant.

So once again I’m here enjoying Arch and I don’t plan to leave again for a loooong time, that is if I ever leave; however I will keep recommending newcomers Ubuntu and Linux Mint when asked about which GNU/Linux distribution they should install.
All I have to say is I’m truly happy to be at home again. Linux-pf kernel works perfects here as do linux-ck-corex and linux-lqx (thank you very much guys, from the devs to the AURers, thank you!) and if I have time today Sunday I will try linux-grsec on an old notebook I used as home server.
Now I’m enjoying again the beauty of Arch’s design I plan to post all the changes, tweaks and customizations I made to the system that makes a pleasure using it.
For now, just a couple of screenshots…

X: Terran Conflict by Egosoft

About to play Office Space (1999 by Mike Judge)

 

Eagle view.

KWin-GLES: everything you want and more.

 

‘Till next time.

 

HP Pavilion dv7-4287cl

Some days ago I got a brand-new notebook but it wasn’t until yesterday I could finally make it work in a decent way mainly because the “hybrid” video card system (Intel/ATi) – since this is the first notebook I install Arch on I’m still lighting the dark corners, expect to have more info in the next days and possibly write a wiki page page at Arch about it.

Optimizations / Optimizaciones

Levante la mano el que luego de reinstalar el SO se acordó de exactamente todos los tweaks que fue haciendo en su sistema a lo largo del tiempo… ¡hum! ¡nadie que use distros rolling-release! jejeje. Si hay algo odioso de tener que reinstalar una rolling-release es tener que tweakearla nuevamente a fondo para dejarla como la teníamos, porque seamos sinceros: ¿cuántos de uds. hacen backup seguido de sus archivos de configuración? Hablo en serio: ¿cuántos de uds. guardan varias versiones del mismo archivo para ir rotándolas a lo largo del tiempo en por lo menos tres lugares distintos? Ok, lo que suponía, bienvenidos al club!! :D

Aunque personalmente realizo semanalmente mi religioso backup de /boot y / (tengo /home y /tmp en discos y particiones diferentes) además de backupear los archivos importantes de ~/ no viene mal tener una copia más de resguardo y encima poder compartirla con otros usuarios a los que quizás les sirva algo de todo esto, así que sin más preámbulo empiezo:

~/.bash_profile

~ $ cat .bash_profile
term3=$(echo $(/usr/bin/tty | cut -d “/” -f3));
term4=$(echo $(/usr/bin/tty | cut -d “/” -f4));

# Parseamos el archivo de configuración del usuario
. $HOME/.bashrc

# Chequeamos que la sesión se inicia en una terminal de texto y que TMUX no está
# corriendo e iniciamos TMUX automáticamente
if [ -z "$DISPLAY" ] && [ -z "$TMUX" ] ; then tmux; fi;

# Chequeamos si el entorno gráfico está corriendo, si no es así
# lo iniciamos
if [[ $term4 -eq 0 ]] && [[ ! -e "/tmp/.X0-lock" ]]; then
echo -n “Iniciando entorno gráfico en 5 segundos… “;
contador=4
until [  $contador -eq 0 ]; do
sleep 1; echo -n $contador”, “;
let contador-=1
done;
sleep 1;
echo $(tput bold)$(tput setaf 7)”ahora!”$(tput sgr0); sleep 1;
xinit;
fi;

 

~/.bashrc

~ $ cat .bashrc

#———– Definición de variables

#txtblk=’\e[0;30m' # Black - Regular
#txtred='\e[0;31m' # Red
#txtgrn='\e[0;32m' # Green
#txtylw='\e[0;33m' # Yellow
#txtblu='\e[0;34m' # Blue
#txtpur='\e[0;35m' # Purple
#txtcyn='\e[0;36m' # Cyan
txtwht='\[$(tput sgr0)\]\[$(tput setaf 7)\]‘ # White

#[ Bold / Negrita ]
bldblk=’\[$(tput bold)\]\[$(tput setaf 0)\]‘ # Black
bldred=’\[$(tput bold)\]\[$(tput setaf 1)\]‘ # Red
bldgrn=’\[$(tput bold)\]\[$(tput setaf 2)\]‘ # Green
bldylw=’\[$(tput bold)\]\[$(tput setaf 3)\]‘ # Yellow
bldblu=’\[$(tput bold)\]\[$(tput setaf 4)\]‘ # Blue
bldpur=’\[$(tput bold)\]\[$(tput setaf 5)\]‘ # Purple
bldcyn=’\[$(tput bold)\]\[$(tput setaf 6)\]‘ # Cyan
bldwht=’\[$(tput bold)\]\[$(tput setaf 7)\]‘ # White

#unkblk=’\e[4;30m' # Black - Underline
#undred='\e[4;31m' # Red
#undgrn='\e[4;32m' # Green
#undylw='\e[4;33m' # Yellow
#undblu='\e[4;34m' # Blue
#undpur='\e[4;35m' # Purple
#undcyn='\e[4;36m' # Cyan
#undwht='\e[4;37m' # White

#bakblk='\e[40m'   # Black - Background
#bakred='\e[41m'   # Red
#badgrn='\e[42m'   # Green
#bakylw='\e[43m'   # Yellow
#bakblu='\e[44m'   # Blue
#bakpur='\e[45m'   # Purple
#bakcyn='\e[46m'   # Cyan
#bakwht='\e[47m'   # White

txtrst='\[$(tput sgr0)\]‘    # Text Reset

#———– Comienzo configuración personalizada

#function files_size {

#tput bold; tput setaf 2;
#echo -n “(“; tput setaf 7;
#echo -n $(/bin/ls -1 | /usr/bin/wc -l | /bin/sed ‘s: ::g’); echo -n ” archivo(s), “;
#tput setaf 3;
#echo -n $(/bin/ls -lah | /bin/grep -m 1 total | /bin/sed ‘s/total //’)b;
#tput setaf 2;
#echo “)”;

#}

# Con reloj
#PS1=”\n${bldgrn}(${txtwh8}\u@\h en ${bldpur}tty\$(echo $((/usr/bin/tty | /bin/sed -e ‘s:/dev/::’) | cut -d “/” -f2))${bldgrn})-(${bldwht}jobs:\j${bldgrn})-(${txtwh8}\A \d${bldgrn})\n(${bldcyn}\$(/bin/ls -1 | /usr/bin/wc -l | /bin/sed ‘s: ::g’) archivo(s), ${bldylw}\$(/bin/ls -lah | /bin/grep -m 1 total | /bin/sed ‘s/total //’)b${bldgrn}) ${bldwht}\w ${txtwh8}$ ${txtrst}”
#PS1=”${bldgrn}(${txtwh8}\u@\h en ${bldgrn}tty\$(echo $((/usr/bin/tty | /bin/sed -e ‘s:/dev/::’) | cut -d “/” -f2))${bldgrn})-(${bldwht}jobs:\j${bldgrn})\n${bldcyn}(\$(/bin/ls -1 | /usr/bin/wc -l | /bin/sed ‘s: ::g’) archivo(s), ${bldylw}\$(/bin/ls -lah | /bin/grep -m 1 total | /bin/sed ‘s/total //’)b${bldgrn}) ${bldwht}\w ${txtrst}$ ${txtrst}”
#PS1=”\n${bldgrn}(${txtrst}\u@\h en ${bldgrn}tty\$(echo $(/usr/bin/tty | cut -d “/” -f4))${bldgrn})-(${bldwht}jobs:\j${bldgrn})-(${bldcyn}\$(/bin/ls -1 | /usr/bin/wc -l | /bin/sed ‘s: ::g’) archivo(s), ${bldylw}\$(/bin/ls -lah | /bin/grep -m 1 total | /bin/sed ‘s/total //’)b${bldgrn})\n${bldwht}\w ${bldgrn}$ ${txtrst}”

# actual PS1=”\n${bldgrn}(${txtrst}\u@\h en ${bldgrn}\$(echo $(/usr/bin/tty | cut -d “/” -f3))\$(echo $(/usr/bin/tty | cut -d “/” -f4))${bldgrn})-(${bldcyn}jobs:${bldwht}\j${bldgrn})\n${bldwht}\w ${bldgrn}$ ${txtrst}”

# Seteamos las variables de entorno

source /etc/profile     # autojump
export PAGER=/usr/bin/most
export EDITOR=”joe”
export PATH=$PATH:/home/msx/bin

#[ -n "$WINDOWID" ] && transset-df -i $WINDOWID >/dev/null

# Programas que ejecutamos al inicio de sesión
#archey3

#DE/WM
alias xa=’xinit awesome’
alias xk=’xinit kde’
alias xo=’xinit openbox’
#alias xx=’xinit xfce’

#101 Linux Hacks
alias ..=”cd ..”
function mkdircd () { mkdir -p “$@” && eval cd “\”\$$#\”"; }

#comandos generales de GNU/Linux
alias ls=’ls –color=always’
alias ll=’ls | grep -v \\.’
alias la=’ls -ahl’
alias du=’du -lh’
alias df=’df -lh’
alias listarfuentes=’fc-list | sed ‘s,:.*,,’ | sort -u’
#alias man=’man -Pmost ‘
alias ta=’tar xfzv ‘
alias wifi=’sudo wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant.conf -B && sleep 5 && sudo ifconfig wlan0 up && sleep 5 && sudo dhcpcd wlan0′

#comandos específicos de Arch Linux / Parabola GNU/Linux
alias b=’cd ~/Proyectos/build’
alias cower=’cower -dd –color=always -v’
alias cowers=’cower –color=always -v -s’
alias coweru=’cower -u –color=always -v’
alias instalar=’yaourt –aur -Sf’
alias instalarb=’sudo bauerbill –aur -Sf’
alias buscar=’yaourt -Ss’
alias buscarlocal=’yaourt -Qs’
#alias actualizar=’yaourt -Syu –aur –noconfirm’
alias actualizar=’yaourt -Syyuuf –aur’
alias actualizarb=’sudo bauerbill –aur -Syuf’
#alias actualizarmirrors=’sudo reflector -f 6 -l 6 -p http –save /etc/pacman.d/mirrorlist && yaourt -Syyuuf –aur’
alias am=’sudo reflector -f 6 -l 6 -p http –save /etc/pacman.d/mirrorlist && yaourt -Syyuuf –aur’
alias quitar=’yaourt -R’
alias quitard=’yaourt -Rd’

#atajos directorios
alias coding=’cd ~/Proyectos/Coding’
alias escritorio=’cd ~/Escritorio’
alias descargas=’cd /max/descargas’
alias jdown=’cd “/max/descargas/0 sitios hosting”‘
alias apps=’cd /home/data/Apps/Linux/Arch’
alias data=’cd /home/data’
alias pi=’cd /max/descargas/0\ sitios\ hosting/0\ Plowshare && ls’

#aplicaciones
alias chromiumm=’chromium –disable-logging –disable-metrics-reporting –disable-metrics –disable-dev-tools –enable-accelerated-compositing –enable-accelerated-2d-canvas –enable-accelerated-plugins –enable-click-to-play –start-maximized –memory-model=low –enable-accelerated-plugins –enable-click-to-play –enable-fastback –enable-history-quick-provider –enable-fullscreen –enable-in-browser-thumbnailing –enable-javascript-i18n-api –enable-nacl –enable-remoting –enable-p2papi –enable-preconnect –enable-print-preview –enable-snap-start –enable-video-fullscreen –enable-webaudio –no-default-browser-check –enable-media-player –web-worker-process-per-core %U’
alias emacs=’emacs -nw’
alias editark=’kdesu mousepad ‘
alias editar=’kwrite ‘
alias e=’exit’
alias l=’leafpad’
alias i=’irssi’
alias mo=’mocp -m -T /usr/share/moc/themes/moca_theme’
#alias limpiar=’sudo pacman -Scc && bleachbit && kdesu bleachbit’
alias limpiar=’bleachbit && kdesu bleachbit’
alias limpiarcli=’bleachbit -d deepscan.tmp system.desktop_entry system.localizations system.rotated_logs system.tmp && sudo bleachbit -d deepscan.tmp system.desktop_entry system.localizations system.rotated_logs system.tmp’
alias po=’plowdown –max-retries=50 –timeout=3600 -m ‘

[ -z "$PS1" ] && return

PS1=”\n${bldgrn}(${txtrst}\u@\h en ${bldgrn}\$(echo $(/usr/bin/tty | cut -d “/” -f3))\$(echo $(/usr/bin/tty | cut -d “/” -f4))${bldgrn})-(${bldcyn}jobs:${bldwht}\j${bldgrn})\n${bldwht}\w ${bldgrn}$ ${txtrst}”

 

/etc/rc.conf

~ $ cat /etc/rc.conf
#
# /etc/rc.conf – Main Configuration for Arch Linux
#

# ———————————————————————–
# LOCALIZATION
# ———————————————————————–
#
# LOCALE: available languages can be listed with the ‘locale -a’ command
# DAEMON_LOCALE: Set the locale during daemon startup and during the boot
#   process. If set to ‘no’, the C locale will be used.
# HARDWARECLOCK: set to “UTC” or “localtime”, any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE=”es_AR.UTF-8″
DAEMON_LOCALE=”yes”
HARDWARECLOCK=”localtime”
TIMEZONE=”America/Argentina/Buenos_Aires”
KEYMAP=”es”
CONSOLEFONT=
CONSOLEMAP=
USECOLOR=”yes”

# ———————————————————————–
# HARDWARE
# ———————————————————————–
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of ‘MOD_BLACKLIST’ is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD=”yes”
#MOD_BLACKLIST=() #deprecated
MODULES=(it87 !coretemp fuse !fglrx acpi-cpufreq !cpufreq_ondemand !usblp)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM=”no”

# ———————————————————————–
# NETWORKING
# ———————————————————————–
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME=”paradise”

# Use ‘ifconfig -a’ or ‘ls /sys/class/net/’ to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   – prefix an entry in INTERFACES with a ! to disable it
#   – no hyphens in your interface names – Bash doesn’t like it
#
# DHCP:     Set your interface to “dhcp” (eth0=”dhcp”)
# Wireless: See network profiles below
#

#Static IP example
#eth0=”eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255″
#eth0=”dhcp”
#INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   – prefix an entry in ROUTES with a ! to disable it
#
gateway=”default gw 192.168.0.1″
ROUTES=(!gateway)

# Setting this to “yes” will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST=”no”

# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   – set to ‘menu’ to present a menu during boot-up (dialog package required)
#   – prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# ———————————————————————–
# DAEMONS
# ———————————————————————–
#
# Daemons to start at boot-up (in this order)
#   – prefix a daemon with a ! to disable it
#   – prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng acpid dbus tomoyo @networkmanager @ufw @irqbalance @preload @alsa !avahi-daemon !avahi-dnsconfd @cups @network !netfs crond @sensors ulatencyd !kdm)

El /root/.bashrc es el mismo, lo único que cambia es la coloración del prompt:

PS1=”\n${bldgrn}(${txtrst}\u@\h en ${bldgrn}\$(echo $(/usr/bin/tty | cut -d “/” -f3))\$(echo $(/usr/bin/tty | cut -d “/” -f4))${bldgrn})-(${bldcyn}jobs:${bldwht}\j${bldgrn})\n${bldwht}\w ${bldgrn}$ ${txtrst}”

 

That’s all folks