kde: configured so that sound notifications are disabled by default

If you don't do this then KDE will hang when you try to log out
This commit is contained in:
Albert Hopkins 2010-11-30 00:07:30 -05:00
parent cf312bbe10
commit 97926be0c8
2 changed files with 13 additions and 1 deletions

View File

@ -2,8 +2,10 @@
preinstall:
echo 'USE="$$USE qt3support xcomposite opengl"' >> "$(CHROOT)"/etc/make.conf;
postinstall: kdmrc Xaccess local
postinstall: kdmrc Xaccess local knotifyrc
cp kdmrc Xaccess "$(CHROOT)"/usr/share/config/kdm
mkdir -p "$(CHROOT)"/etc/skel/.kde4/share/config
cp knotifyrc "$(CHROOT)"/etc/skel/.kde4/share/config/knotifyrc
chroot "$(CHROOT)" rc-update add dbus default
if [ -e "$(CHROOT)"/etc/conf.d/xdm ]; then \
sed -i 's/^DISPLAYMANAGER=.*/DISPLAYMANAGER="kdm"/' \

10
kde/knotifyrc Normal file
View File

@ -0,0 +1,10 @@
[Misc]
LastConfiguredApp=Accessibility
[Phonon::AudioOutput]
KNotify_Volume=1
[Sounds]
No sound=true
Use external player=false
Volume=100