Saturday, June 9, 2012

Some quick fix for Debian to get all the desired functionalities

I am jotting down the issues that I faced with Debian, in case I or any user requires it for future reference.

1. Change grub: Once Debian installs, it updates the grub and makes it the default distro. In case you have Ubuntu/Mint/Windows installed, you may like to have a different default distro. Steps are

  • Record the sequence where your default distro is (starts with 0)
  • Go to root terminal and type #gedit /etc/default/grub 
  • Change the boot option (default=0) and boot timing (default=5), in case you need it
  • Close it after saving
  • Come back to root terminal and type #update-grub
  • Grub will get updated with your preferred booting option

2. Software center would ask for installation CD every time
This is from the installation manual
  • Go to root terminal and type #gedit /etc/apt/sources.list 
  • Comment out the debian installation iso option at the top
  • Come back to root terminal and type #apt-get update

3. Include Mint Debian repository in Debian
I did this to install Firefox but unfortunately it was in Dutch whereas I needed English-US
  • Go to root terminal and type #gedit /etc/apt/sources.list 
  • Add at the end deb debian import
  • Go to root terminal and type 
#apt-get update
#apt-get remove iceweasel 
#apt-get install firefox
  • Iceweasel will be removed and Firefox installed.

4. To install Adobe flash player
The default flash player won't play a lot of videos for me. Hence, I installed Adobe flash player 11 directly from Adobe site.

  • First uninstall default flash player by #apt-get remove gnash
  • Download latest Firefox install_flash_player_11_linux.i386.tar.gz from Adobe site, store it in downloads and exit Firefox or any web browser.
  • Hit root terminal and type
#cd ./Downloads
#tar xvf install_flash_player_11_linux.i386.tar.gz
#cp /usr/lib/mozilla/plugins/

#cd ./usr/bin
#cp flash-player-properties /usr/local/bin

Now once you restart Firefox, by default it will use the Adobe Flash Player for live streaming or playing flash videos.

No comments:

Post a Comment