Feeds:
Posts
Comments

Posts Tagged ‘Ubuntu’

I am not explaining the way to download youtube videos.

  1. Install ffmpeg package if not installed yet. Fire up a terminal and issue this command to install ffmpeg
  2. sudo apt-get install ffmpeg

  3. Steer to the folder where you have downloaded the youtube video (the .flv file) and issue the following command (match the command parameter colors with output chara)
  4. ffmpeg -title Some_Title -i Input_video_file_name.flv -acodec vorbis -ac 2 -ab 512000 -vn -y output_audio.ogg
    ==> This will give a 2-channel ogg-vorbis file with 512 kBps bitrate (most recommended)

    ffmpeg -title Some_Title -i Input_video_file_name.flv -acodec libmp3lame -ac 2 -ab 512000 -vn -y output_audio.mp3
    ==> This will give a 2-channel MP3 file with 512 kBps bitrate (least recommended)

I personally prefer OGG over MP3. Quality-to-size ratio is pretty high for OGG-VORBIS as compared to MP3. Try it out yourself.

Advertisements

Read Full Post »

The happy news is I bought a new laptop. It is a Compaq c797, Intel Dual core 2Ghz, 2 GB DDR2 RAM, 160 GB Hard-disc, with FREEDOM (who needs Windows anyway). I have installed Ubuntu Hardy Heron in it and named him r0n. ūüôā

Yesterday I gave him a mac look. This is how I did it.

Step (1) Enable desktop effects

System –> Preferences–> Visual Effects –> Extra

Step (2) Install Avant Window Manager

Either through Synaptic package manager or issue this command in terminal

sudo apt-get install avant-window-manager

Install the dependencies too.

Step (3) Open Avant Window Navigator

Applications–>Accessories–>Avant Window Navigator

And a small task bar will appear at bottom of your screen. Delete the “stock” task bar which comes by default.

Step (4) Add icons to your new bar

Drag frequently used programs from the menu into this new bar. You can change the order of the icons from Avant window manager.

System –> Preferences –> Awn Manager

Step (5) Start Avant Window Navigator with GNU/Linux

Check this link.

Step (6) Customize your bar.

You can play with the options (add animation, transparency etc)in Awn manager. Install themes from this link. There are more plugins are launchers for Avant window manager. Unfortunately nothing worked for me in my Ubuntu system.

That’s it…. and in the end, you will get something like this…

Free Image Hosting at www.ImageShack.us r0n rox….

GNU/Linux rules….

Courtesy to Make Your Linux Desktop Look Like A Mac – Mac4Lin Project Documentation

(If you missed the latest post in my Malayalam blog, please read it. Due to some unknown technical flaw, it didn’t got published in any of the aggregators/feed readers)

Read Full Post »

This is a post meant for GNU/Linux evangelists. I hope this will help/guide the GNU/Linux volunteers in spreading the message about the freedom and peace of mind of GNU/Linux users across the world and save the mortals from the clutches of evil *DOS. “Oh! people, come and join the world of GNU/Linux. GNU/Linux is the ONLY way to FREEDOM. GNU/Linux is the ONLY way to security. GNU/Linux fills your heart with happiness. GNU/Linux is all about sharing with your neighbor. Join my dear friend, join today itself to the elite club of GNU/Linux-ians.

#1. Never hesitate – Whenever someone asks you to install GNU/Linux in his or her system, even if he/she is your ex-girlfriend, don’t hesitate, but go and install GNU/Linux. A chance missed once and a chance missed forever most often means the same.

#2. STOP *DOS troubleshooting – It is a well known fact that M$ products sucks big time (except when they manufacture vacuum cleaners – an old joke) and will create problems till apocalypse. As a true follower of GNU/Linux, you should see this as an opportunity to make the victim aware of the features and powers of GNU/Linux and force him/her to try out a distro (I suggest Ubuntu) at least for once, and for sure he/she will fall for it. But the important thing is, you should NOT show much interest in *DOS troubleshooting which will make his life a bit miserable at least for sometime which will ignite the thoughts of migration. This works most of the time if you are the ONLY techie-guy in the city.

#3. Carry a GNU/Linux live cd/dvd always with you – I will suggest Ubuntu. Order it free from their site. Keep in handy at least one Ubuntu and one Kubuntu cds. If they found it nice, ask them “so let us proceed – Ubuntu or Kubuntu (or whatever)“. In most cases they won’t say a NO. Don’t hesitate, ACT – install it. After installing it successfully GIFT him/her the cd. He/she will be so happy, because it is the first time he/she is seeing an ORIGINAL software cd, that too in a good quality packet.

#4. Freedom after acquainting with GNU/Linux – This is something very controversial. There should be some short-term compromises made in order to achieve complete supremacy in future. For eg:- if you are installing Gnash instead of Flash in a ‘victim’s’ system, he is going to hate YOU as well as GNU/Linux and the whole freedom movement. For a beginner or an ordinary user, there should be some compromises made in utilities like Flash plugin (instead of Gnash) for Firefox, mp3 support, wma support (instead of ogg) and for engineers (BUY and) install Matlab for GNU/Linux [cough! cough!] (instead of GNU Octave). But after they become a fan of GNU/Linux systems, teach them the fundaes of Free softwares, freedom and GNU and then tell them to dump the non-free components from their system. Well, at the same time I request you NOT to use any non-free components in your personal computer.

#5. Tell them GNU/Linux is kewl – If you are in Ubuntu, enable desktop effects and show them how kewl GNU/Linux is. How the speed and richness-of-applications is better in a GNU/Linux system when compared to a similar *DOS system. Tell them that you don’t need the mobo cds or hardware driver cds again as before. Tell them you can modify the system according to your need.

#6. The best way to learn GNU/Linux – a common question we often face is “how can I learn GNU/Linux in one week”. Unfortunately, its a hyped up myth that GNU/Linux is not user-friendly. Tell your victim that, GNU/Linux is as user friendly or more as any *DOS platform. It is not necessary to use the CUI for common PC usage, but in some cases the terminal is extremely powerful and useful than the windows command prompt. The best way to learn GNU/Linux – use it.

#7. Don’t let live *DOS – Remains of *DOS had caused many problems in the past. It is better and is recommended to format the windows partition and NOT to dual-boot the machine whenever it is possible. Some people are too lazy to start learning GNU/Linux, though there is nothing much to learn about it.

#8. Some MUST-HAVE applications for a GNU/Linux system

  1. vlc Player – It plays most of the format.
  2. Adobe Flash plugin for Firefox – Required in net often. (Google videos, Youtube etc) [non-free software.]
  3. ntfs-3g – I think this is available by default in Ubuntu from Hardy Heron. But you should also edit the fstabs to auto-mount these.
  4. usbmount – Helps in automatically mount and unmount USB drives.
  5. compiz – If it is already installed, then enable it.
  6. gstreamer-ugly and gstreamer-bad – Install these for common-multimedia-format support (and convert all your mp3 to ogg).

#9. Show him the applications – Show him the huge list of applications including office packages and games which got automatically installed by default and also tell them what all you get from a proprietary operating system company.

(to be completed )

Read Full Post »

At last an Orkut-free post. As per the¬†request of ‘Madhavan sir‘ I thought of posting something¬†related to¬†Linux.¬†So, when¬†I speak¬†about Linux, don’t think that I am a Linux geek. I am a¬†free software enthusiast, and had worked with Linux many times in the past. But, still I don’t think I deserve the name ‘geek‘.

I started my Linux days with Red Hat 9, the first install lead to full formatting of my hard disc. The next time onwards, I was very cautious about it. So, in¬†from then on I¬†used to partition my hard disc manually from windows, using¬†partition magic, or you can even use freewares listed in this page. The interface, I liked very much, though it gave me lot of ‘shocks‘ like,

  • I was’nt able to play my mp3 files.
  • I was’nt able to execute .exe files (this was back in 2004).
  • I was’nt able to install any games.

So, I was just going through all the menus, checking all the games and other softwares there. After, some days, I formatted everything and reverted back¬†to Windows. But, after that I have also tried Suse, Knoppix, some could play my mp3 but was wondering why I can’t install any software. Sometime later, from one my juniors, ‘lightX’, as he is famously known, I came to know that you can’t execute exe files normally, but using Windows emulators like wine which even allows you to install and play games like half-life (Read more here). And, again I started becoming a fan of Linux.

It was then I started using CAD softwares like I-deas, ANSYS and all, as a part of my coursework. Very unfortunately, I was again forced to depend on Windows. That was a tragic end to my honemoon with Linux.

Later, I found that there are free CAD softwares, specially made for Linux. But, it was too late, I did’nt had any installation CDs, and was packing bags for my Hyderabad life. Also, because I lost much of my interest in design field, I did’nt want to waste my time in researching and studying free CAD alternatives.

Before leaving to Hyderabad, I got my free¬†Ubuntu CDs, but I could’nt install for obvious reasons. One year passed, I came back from Hyderabad¬†and now Ubuntu released their latest version, Feisty Fawn. I got the CDs, and was ready to give a try. Unlike my first attempt, I created an ext3 partition from Windows, and booted from the CD, installed succesfully.

Still, the mp3 problem worried me, and for 2-3 days I was listening to ‘Agar tum kaho‘ from the movie ‘Lakshya‘, which was the only .ogg (OggVorbis) file I had in my system. I did a search on net, as¬†a proud owner of 2 Mbps broadband connection, I managed to find a solution to the problem very quickly. I downloaded Automatix, and the installation of required files were done without much effort from side.

One month later, in a mishap I lost my ethernet card, which forced me to use PPPoE via USB. Very unfortunately, Ubuntu did’nt support it well, and I did’nt had the tech-know-how to solve this. And, again someone advised me that Suse will help you in connecting to net, I managed to get the DVD (its still with me for last 2 months), from my fellow moderator at Kollam/Quilon community at Orkut. Alas! Suse did’nt help. Lastly, I got the Fedora CDs ‘imported‘ from Singapore (ahem! from my friend Anand). Installed it, had huge expectations, but all in vain. I still uses PPPoE via USB, and I don’t want to invest Rs.200 for a new ethernet adapter. Hence, I reverted back to Windows XP SP2, and now evangelises the ¬†cyber-youth to dump Windows and walk with Linux!!!!

From my experiences with Linux let me tell you a few things,

  1. Linux may not be as user-friendly as Windows, but for sure its not idiot-friendly (Courtesy to one of my friends who told this story that happened during his training, I forgot his name).
  2. You can do almost all things in a Linux system, even more than that, a Windows system can do. Check this link, which tells you ‘Why Linux is BETTER?‘.
  3. ‘LINUX ONLY WORLD’¬†is a¬†fact, even if you say it is not, and¬†time is going to prove it.
  4. Convert all mp3 files to Ogg Vorbis and show your support to free software philosophy.
  5. ‘Even’ in your Windows system, there are many free alternatives available. Check this link to know more. Pirating is really bad when you have free softwares available doing a better job than the proprietary ones.

So, if you feel like asking ‘hey, I feel like trying Linux, which is the best distro’. I am no one to judge the best distro award, but if you are new to Linux, the best one for you, is Ubuntu. Check this link for a list of tips to make your life with¬†Ubuntu peaceful, free of troubles.

And, there¬†is something against Ubuntu, which does’nt really matter if you are not that strict on ‘free software spirit‘.

Read Full Post »