Friday, August 14, 2009

Changing the default display manager (GDM / KDM / XDM etc.) in Slackware

To change the Display Manager in Slackware, we have to edit the /etc/rc.d/rc.4 file as root user.

Monday, August 10, 2009

extracting audio from video (.flv) files downloaded from Youtube - the Linux way!

I had downloaded some videos from Youtube and wanted to extract the soundtrack as an .mp3 file or .ogg file.
At first I tried the following command -
$ mplayer -dumpaudio my_file.flv -dumpfile my_file.mp3
Most of the times the audio was extracted perfectly. But some .flv files proved stubborn, and I was left with non-playable mp3s.
I found a solution at, where a knowledgeable member Ilgar provided the following solution
$ mplayer -quiet my_file.flv -ao pcm:fast:file=my_file.mp3 -vc dummy -vo null -channels 2
after which I was left with my_file.mp3 .
$ file my_file.mp3
revealed that it was a WAV file and not an mp3. It was still playable with mplayer. However when I downloaded it on my Samsung UltraTouch S8300 mobile, I was not able to play it.
I then converted it to .mp3 format using the app - SoundConverter.
Thanks Ilgar

Tuesday, July 28, 2009

Scim error with OpenOffice 3.1

I was getting the following error when I pressed Ctrl + Space in OpenOffice window to initiate scim -

Gtk-WARNING **: /opt/openoffice.org3/program/../basis-link/ure-link/lib/ version `GLIBCXX_3.4.9' not found (required by /usr/lib/gtk-2.0/immodules/

After a bit of googling I found a solution -

cd /opt/openoffice.org3/basis-link/ure-link/lib

sudo mv
sudo ln -s /usr/lib/

sudo mv
sudo ln -s /usr/lib/

Sunday, June 14, 2009

Got touchpad to scroll

After upgrading to Slackware 12.2, the touchpad on my laptop was not scrolling. After a bit of googling, I found this thread -

as suggested in the above link, I changed the line
options psmouse proto=imps

options psmouse proto=auto

in /etc/modprobe.d/psmouse

then after reloading the psmouse module, and restarting X, my touchpad was scrolling.

Thursday, April 9, 2009

Getting Right Alt key to work

The right alt key press was eliciting no response on my Ubuntu 8.10 laptop in Gnome. After a bit of Googling, I found the following solution -
System -> Preferences -> Keyboard
Here choose Layouts tab. Then choose Other Options button. Keyboard Layout Options widow pops up. In this click on Alt/Win key behaviour and select -
Alt and Meta are on Alt keys.
This should solve the problem.