Posted
on January 26, 2012, 11:47,
by rmichel,
under
Linux,
Notepad.
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
Posted
on January 16, 2012, 12:17,
by rmichel,
under
Linux.
GCC (4.5.3) flags for
* Intel(R) Core(TM) i7 CPU M 620
* Intel(R) Core(TM) i7 CPU 920
* Intel(R) Core(TM)2 Duo CPU T7700
CFLAGS="-march=core2 -mtune=generic -O2 -pipe -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -msse4 -mmmx"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"
USE flags
USE="64bit X a52 aac alsa apng bash-completion bluetooth chroot
connection-sharing consolekit dbus dhcpcd dts dvb dvd extras faac ffmpeg
fontconfig gcj gif gnutls gpg graphics gtk gudev icu imap iproute2 iscsi
jpeg kpathsea lame lvm mmx mp3 mysql network networkmanager ogg opengl
perl pkcs11 png policykit pstricks pulseaudio python qemu resolvconf sasl
sdl smtp spice sse sse2 ssl tiff truetype udev vim-syntax virt-network
vorbis wifi x264 xcb xvid -kde -qt4 -ruby"
additional flags
MAKEOPTS="-j10"
FEATURES="buildpkg"
VIDEO_CARDS="intel"
LINGUAS="en de"
INPUT_DEVICES="evdev keyboard mouse synaptics"
QEMU_SOFTMMU_TARGETS="x86_64 arm i386 ppc ppc64 sparc sparc64"
QEMU_USER_TARGETS="arm i386 ppc ppc64 sparc sparc64 x86_64"
Usage
Host system http://mirror.devnu11.net/gentoo/
PORTAGE_BINHOST="http://mirror.devnu11.net/gentoo/packages/"
FEATURES="getbinpkg"
If you still need more information? Ask!
Posted
on January 13, 2012, 10:37,
by rmichel,
under
Linux.
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.
I’ve found a very nice tool pv…
$ dd if=/dev/sda1 | pv | dd of=backup.img
359MB 0:00:05 [75.3MB/s] [ <=> ]
Posted
on August 3, 2011, 14:50,
by rmichel,
under
Life.
http://www.theboyswentout.com
and
Hello,
the following article has been dispatched to you!
1 DVD The Boys Went Out EUR 12,50 // 1 EUR 12,50
———————————————————————
*YEAH*
Posted
on May 23, 2011, 22:04,
by rmichel,
under
Life.
Because libvirt self is using the qemu monitor to mange the guests, it is not available for the user. Since version 0.8.6 [1] its possbile to send a command throught libvirt to the monitor.
virsh qemu-monitor-command <domain> <command>
The problem is that you must use the QMP format to send a command like
$ virsh qemu-monitor-command <domain> \
'{"execute":"human-monitor-command","arguments":{"command-line":"info kvm"}}'
The solution: Human Monitor Protocol / --hmp
With this nifty switch [2] its possible to use qemu monitor commands without the QMP format like
$ virsh qemu-monitor-command --hmp <domain> 'info kvm'
kvm support: enabled
Posted
on May 5, 2011, 17:08,
by rmichel,
under
Life,
Linux.
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…
- Go to about:config
- Search for network.dns.disableIPv6
- Set it to true
That is only a workaround because i have no time to debug the root cause.
Posted
on April 27, 2011, 14:06,
by rmichel,
under
Linux,
Notepad.
force reboot
$ echo 1 > /proc/sys/kernel/sysrq
$ echo b > /proc/sysrq-trigger
force shutdown
$ echo 1 > /proc/sys/kernel/sysrq
$ echo o > /proc/sysrq-trigger
Posted
on April 20, 2011, 21:49,
by rmichel,
under
Linux,
Notepad.
If you’re trying to boot the Archlinux 2010.05 CD/DVD/Netinstall and getting the message
ERROR: boot device didn’t show up after 30 seconds …
try this one to fix the problem
$ udevadm trigger
$ exit