Gentoo / ArchLinux – NetworkManager and policykit

If you want to use the NM (especially the nm-applet) in Gentoo or ArchLinux, you have to grant the user to access the NM. Therefor you create the following file

# cat /etc/polkit-1/localauthority/50-local.d/org.freedesktop.NetworkManager.pkla 
[nm-applet]
Identity=unix-group:plugdev
Action=org.freedesktop.NetworkManager.*
ResultAny=yes
ResultInactive=no
ResultActive=yes

Thats necessary because polkit-auth was removed from the policykit package. Also you must add the user to plugdev group

# usermod -a -G plugdev $USERNAME

archlinux – Acrobat Reader

Sometimes its necessary/pleasanter to use the Acrobat Reader for some PDF files like forms…

Enable the multilib repository

# cat /etc/pacman.conf
[...]
[multilib]
Include = /etc/pacman.d/mirrorlist
[...]
# pacman -Sy

Install necessary packages

# pacman -S lib32-libxml2 lib32-gtk2 lib32-gdk-pixbuf2

Maybe there are some more packages still missing on your system!

Download and install Acrobat Reader

# wget http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.4.2/deu/AdbeRdr9.4.2-1_i486linux_deu.bin
# chmod +x AdbeRdr9.4.2-1_i486linux_deu.bin
# ./AdbeRdr9.4.2-1_i486linux_deu.bin

Or you can use the PKGBUILD file from the AUR repository.

Firefox is loading painfully slowly…

aka Firefox, DNS lookups and IPv6 (under Arch)

Since my laptop is running with Arch, sometimes my Firefox makes me crazy when i’m trying to open a new page because it show a message like Looking up heise.de… for minutes !

After googling a few seconds i’ve found someting that is working for me…

  1. Go to about:config
  2. Search for network.dns.disableIPv6
  3. Set it to true

That is only a workaround because i have no time to debug the root cause.