Skip to main content

Posts

Flash player not working in Firefox in Ubuntu (Hardy)

I installed flashblock plugin or upgraded to the Ubuntu customized version of the Firefox I do no know what caused that but I stopped having any flash video in Firefox 3.0 even after repeated installs using the deb and tar.gz packages downloaded from the Adobe website. I tried installing Opera and flash worked fine in that. That is when I noticed when running from terminal Firefox is displaying a lot of missing shared object) files, like this : LoadPlugin: failed to initialize shared library /home/aaaaaa/.mozilla/plugins/libflashplayer.so [libplds4.so: cannot open shared object file: No such file or directory] LoadPlugin: failed to initialize shared library /usr/lib/adobe-flashplugin/libflashplayer.so [libplds4.so: cannot open shared object file: No such file or directory] The idea is that in some way all the soft links to the *.so.1d or *.so.0d files are deleted. So I had to recreate them. The following link helped a lot to that end. https://lists.ubuntu.com/archives/ubuntu-mozillatea...

Cifs "mount error 13 = Permission denied"

This was a huge problem in samba especially in Ubuntu. It seems that the new kernal is to blame. Whenever I issued a command like mount -t smbfs //192.168.87.85/LOTR /share/ -o username=guest,password= I got the error mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) A bug report is found here( https://bugzilla.redhat.com/show_bug.cgi?id=119766 ). And a possible solution is given here.( http://vijayk.blogspot.com/2008/09/cifs-mount-error-13-permission-denied.html ) However it didn't help when I gave this command, mount -t smbfs //192.168.87.85/LOTR /share/ -o username=guest,password= After a lot of experimenting I realised that it fails sometimes if there is no password specified. So I added a password to the Windows share and gave the following command. mount -t smbfs //192.168.87.85/LOTR /share/ -o username=guest,password=gjf67g,domain=MSHOME It worked !!! For many other win shares I didn't specify password and the first command...

Amarok/firefox/flash sound problem

It is a nagging problem in Linux which plagued me for quite some time. For example, if the Firefox window went to any page that contains needed sound(read flash) output, then immediately all external sound applications including amarok used to hand and also caused severe GDM freezes. It is fixed by doing the following: I reinstalled pulseaudio and libflashplugin support (which wasn't even installed): sudo apt-get install --reinstall pulseaudio libflashsupport and then changed everything to pulseaudio in "system->preferences->audio settings". This advice was posted here. Now amarok and flash run at the same time and everything seems to be fine. source : http://ubuntuforums.org/showthread.php?t=715486 See also http://kheyali.blogspot.com/2009/09/audio-problem-in-dell-laptop.html

Change Emacs background and foreground colors

Sometimes Emacs starts with a bizzare black background. If you want the familiar black text on white background proceed as follows. While in Emacs Alt+x Type, set-background-color (like this : set(space)background(space)color(enter) ) Type, Cyan (This step is neccessary so that the text remains visible while swapping the background and foreground colors. IF you want you can skip this step.) Alt+x Type, set-foreground-color (like this : set(space)foreground(space)color(enter) ) Type, black Alt+x Type, set-background-color (like this : set(space)background(space)color(enter) ) Type, white Done. For a complete guide to Emacs see http://www.delorie.com/gnu/docs/emacs/emacs.html#SEC_Top But I still don't know how to make this effect permanent. Someone suggested to write to the .emacs file directly. I haven't tried it yet.

Multimedia softwares for Linux

For all Debian-Users go to debian multimedia repository(www.debian-multimedia.org) http://www.debian-multimedia.org/ Multimedia authoring tools : Cinnelera - best but too advance and technical. Avidemux - Virtualdub alternative for linux. KmPg2 - http://kmpg2.sourceforge.net/ - convert anything to MPEG-2 for DVD use. DVDAuthor Wizard - http://dvdauthorwizard.sourceforge.net/ - make DVD from MPEG-2 clips, with menus etc. Q-DVDAuthor Devede tovid transcode dvdrip (Perl frontend to transcode) mencoder (must have) subtitleripper xine (must have) ffmpeg (must have) Video players: mplayer - kmplayer, smplayer. (must have) vlc media player (must have) Kaffeine realplayer (must have) These four will mostly cover all of the video needs of an average Linux user. Music players: amarok (must have) audacious beep media player xmms2 - xmms is now only a backend. (must have) esperanza - frontend to xmms2.

Join avi files in linux

The easy way is to use avimerge. Still I include both methods. Method 1 : source : http://www.pembo13.com/linux/lcs/entries/12 Merge, join two or more avi files Prerequisites For all this to work you need the transcode package. So install (or make sure that it is there) yum install transcode Instructions 1. Open up a terminal 2. Go to the directory where the files are (this is just to make things simpler) 3. Assuming that the file you want the result to be is named foo.avi, and you have two smaller files you want to merge (in order) named foo1.avi and foo2.avi, enter the following command: avimerge -o foo.avi -i foo1.avi foo2.avi Method 2 : source : http://techtips.chanduonline.com/2006/08/15/how-to-join-multiple-avi-or-mpg-files/ How to join multiple .avi or .mpg files sudo apt-get install mencoder mplayer Now that the hard part is out of the way, we’re going to make use of the wonderful cat command. I’d renamed each Bloodspell video as b1.avi - b7.avi. Now to string the...

Howto merge pdf files in Linux

Many times we download a number of pdf files which are supposed to be part of a single file. This is the case with the lecture notes that we download from some professors website. And it is desirable to have a single pdf file instead of bits and pieces of the chapters. The following procedure will explain howto acheive this.(Linux only) You need to have ghostscript installed in your linux box. First goto the folder and ls only the needed pdf files like - ls -x 0*.pdf This will create a list of files in sequential format, easy to select. All that is needed is to select each line and middle click paste after the command gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf example :- If gs is installed then type in command line the following command - $ gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=finished.pdf 00.pdf 01.pdf 02.pdf 03.pdf 04.pdf 05.pdf 06.pdf 07.pdf 08.pdf 09.pdf 10.pdf 11.pdf 12.pdf 13.pdf 14.pdf 15.pdf The bold ones the pdf file...