gnome-volume-control cannot remember alsa-settings

Easy solution on gentoo:

rc-update add alsasound default

OR (on other distributions) 

add alsactl restore to /etc/conf.d/local.start

echo “alsactl restore” >> /etc/conf.d/local.start

add alsactl store to /etc/conf.d/local.stop

echo “alsactl store” >> /etc/conf.d/local.stop

add local (if it isn’t already) to default startscripts

rc-update add local default

Problem: cannot open shared object file: No such file or directory

In most cases a proper library exists(here, but it is not found by the application.
Solution (as root):

cd /usr/lib/
ln -s

UPDATE: better solution might be here

java gui – problem (xcb_xlib.c)

If you experience the following after a(nother) java-app crashed:

java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock’

Gentoo-Users can do the following (as root)

locate | grep “/opt/sun-j.*/lib/i386/.*” | xargs sed -i ‘s/XINERAMA/FAKEEXTN/g’


cups problem

If you receive

/usr/libexec/cups/filter/foomatic-rip failed

you could try

emerge --unmerge ghostscript-gpl cups foomatic-db \
foomatic-db-engine foomatic-db-ppds foomatic-filters \
foomatic-filters-ppds foomatic-gui

emerge -va cups

Cups seems to use it’s own filters (less but one for different printers) then. Works perfectly now.

I got these options activated

X dbus jpeg nls pam php png samba

but not especially for cups (-> /etc/make.conf)