giovedì 27 settembre 2007

Fujitsu lifebook s7110 - volume hotkeys

from: http://users.linpro.no/janl/hardware/S7020.html

Volume buttons: The keyboard has Fn key combinations for screen
backlight and so on. The audio volume buttons are not bound into the
hardware and must be handled by Linux. Ubuntu's Gnome envronment handles
this without pain. In KDE (also needed in other environments) I had to
make a .Xmodmap file with these contents:

keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume

After running

xmodmap .Xmodmap

KDE handled the volume buttons just fine.
... This broke again under 2.6.15 because the ALSA driver for the sound
chipset names the channels as "Headphone" (actually the headphone
volume), "PCM" and "Internal Speaker". The KDE mixer wants only to
manipulate the "Headphone" volume at this time. This has not been
important enough the figure out.

Se qualcosa non funziona manca qualche pacchetto:

yum install kde-settings-pulseaudio.noarch kdeaddons.i386 kdeaddons-extras.i386 kdeartwork* kdebase-extras.i386 kdebindings.i386 kdeedu.i386 kdeedu-libs.i386 kdegraphics-extras.i386 kdelibs-apidocs.i386 kdemultimedia-extras.i386 kdemultimedia-extras-libs.i386 kdeutils.i386 kdeutils-extras.i386 kdewebdev.i386 kflickr.i386 kismet-extras.i386 ktorrent.i386

giovedì 13 settembre 2007

[WIN] - Soluzione problema sfoglia rete

HKLM\SYSTEM\CurrentControlSet\Services\Browser\Parameters
IsDomainMaster and MaintainServerList both should be positive, YES/TRUE,
depending on 2K or XP.

An election occurs each time your master browser becomes unavailable.
The other way you could prevent elections is to stop the Computer
Browser servers on all the other clients and set it to manual. This
service does nothing but maintain the browse list and make the pc
capable of becoming a master or backup browser.

--
--
principio di Napoleone:
non attribuire a malintenzione cio' che puo'
essere semplicemente spiegato come imbecillita'
--
MaoX Blog:
http://maox.blogspot.com

giovedì 6 settembre 2007

[Apache + CentOS5] - Directory index forbidden by Options directive: /var/www/html/

[Apache + CentOS5] -  Directory index forbidden by Options directive: /var/www/html/


I was having the same exact problem as you, this is what fixed "/" directory listings for me

In /etc/httpd/conf.d you will see a file entitled welcome.conf

It looks like this:

<LocationMatch "^/+$">
Options -Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>


Change it to this:

<LocationMatch "^/+$">
Options Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>


All we actually changed was the hyphen in front of Indexes. This worked for me, hopefully it works for you.

martedì 4 settembre 2007

Backup linux con rsync

rsync -avz --exclude-from=escludi.txt root@192.168.0.1:/[root SORGENTE]
/[root DESTINAZIONE]

[root@zion ~]# cat escludi.txt
/dev
/proc
/sys
/boot
/etc/modules.conf
/etc/fstab
/etc/mtab
/etc/sysconfig/network-scripts

Windows e il raid software

- Aggiorno i dischi da base a dinamici (cliccare col dx sul riquadro sx)
- Cliccare con il dx sul disco di origine e scegli aggiungi mirror


FATTO! :-)