Thursday, February 09, 2012

TIP:Lenovo Thinkpad W520 Fedora 16 Internal Mic Not Working

Solution as mentioned in
https://bugzilla.redhat.com/show_bug.cgi?id=752610 is


$ sudo vi /etc/modprobe.d/dist-alsa.conf

Add as the first line.
options snd-hda-intel index=0 model=thinkpad

Then reboot and you should be good to go.


If you are keen on seeing what my file looks like:

# ALSA Sound Support
#
# We want to ensure that snd-seq is always loaded for those who want to use
# the sequencer interface, but we can't do this automatically through udev # at the moment...so we have this rule (just for the moment).
#
# Remove the following line if you don't want the sequencer.

options snd-hda-intel index=0 model=thinkpad

install snd-pcm /sbin/modprobe --ignore-install snd-pcm && /sbin/modprobe snd-seq

Wednesday, January 25, 2012

TIP: Passphraseless SSH on Fedora

If you are trying to set up passphraseless SSH on Fedora, then remember that the permissions on the file authorized_keys should be 644 ====================================================== .ssh$ chmod 644 authorized_keys anil@sadbhav:~/.ssh$ ssh localhost Last login: Sun Jan 22 21:42:06 2012 from localhost anil@sadbhav:~$ exit logout Connection to localhost closed. anil@sadbhav:~/.ssh$ chmod 644 known_hosts ================

Wednesday, June 01, 2011

Disk Cleanup : Linux Distribution

Lets assume that you are looking for TreeSize alternative in the Linux world. There are a few disk usage/cleanup tools available under GNome or KDE.

If you have some time, then cleaning up your home directory is pretty simple on the command line:

Assume you want to clean your /home directory.

$> du -H /home > cleanfile

Now when you open cleanfile in your text editor, you should see the files/directories. Looking at the directory names should tell you whether you need those dirs or now.