My blog has moved! Redirecting...

You should be automatically redirected. If not, visit http://techienote.com and update your bookmarks.

Tech Resources

Tuesday, July 6, 2010

Installing java on linux


Download java binary installation file for linux from java website http://www.java.com

Copy the binary file to /usr/local
#cp jre-6u20-linux-i586.bin /usr/local/

Extract the binary file
#cd /usr/local
#chmod +x jre-6u20-linux-i586.bin
#./jre-6u20-linux-i586.bin

Now you will see jre1.6.0_20 folder in /usr/local/ dir, We need to set system variable, to run the java properly
Setting the system variable for java
#vi /etc/profile.d/java.sh

export J2RE_HOME=/usr/local/jre1.6.0_20
export PATH=$J2RE_HOME/bin:$PATH

#source /etc/profile.d/java.sh

For finding your java version just do;
#java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)


Labels: , , , , ,

Friday, May 14, 2010

Creating Video DVD's in Linux

Here is the guide to convert video dvd in Fedora 12 which can be playable on DVD players. I am using DeVeDe for the same.
DeVeDe is a program to create video DVDs and CDs (VCD, sVCD or CVD), suitables for home players, from any number of video files, in any of the formats supported by Mplayer. The big advantage over other utilites is that it only needs Mplayer, Mencoder, DVDAuthor, VCDImager and MKisofs (well, and Python, PyGTK and PyGlade), so its dependencies are really small.

Installing DeVeDe on your system:
#cd /usr/local/src
#wget http://www.rastersoft.com/descargas/devede-3.16.8.tar.bz2
#tar jxvf devede-3.16.8.tar.bz2
#cd devede-3.16.8
#sh install.sh

Now just start the DeVeDe programme from the gnome pane, Application > Sound & Video > DeVeDe DVD/CD Video Creator
If there is any dependencies error DeVeDe will not start. To resolve this just install the dependencies via yum

#yum install -y dvdauthor vcdimager spumux

Now you can able to convert your video file into DVD format. 
Start the DeVeDe programe

Choose Video DVD option.
Add your files and just click on forward button.
Now choose whether you want to actually burn the project on DVD or just want to create a DVD image.

Labels: , , ,

Tuesday, May 4, 2010

Convert video files for an iPod or iPhone



We have installed banshee on fedora. Its time to convert videos which can playable on your iPOD or iPAD. I am using handbrake for the same.

HandBrake is an open soure, GPL-licensed, multiplatform, multithreaded video trans-coder, available for Mac OS X, Linux and Windows.


Features :
  • Convert videos direct from DVD
  • Convert videos from most multimedia files
  • Create videos using a number of pre-defined format templates
  • Supports h264, MPEG-4, Theora, AAC, MP3 and Vorbis
  • Supports subtitles
  • Video filtering tools
To download & install HandBrake on fedora12, just run


#yum install -y desktop-file-utils python yasm automake libtool m4 intltool yasm zlib-devel bzip2-devel glib2-devel gtk2-devel gstreamer-devel hal-devel libnotify-devel webkitgtk-devel gstreamer-plugins-base-devel libmkv-devel libogg-devel libsamplerate-devel libtheora-devel libvorbis-devel faad2-devel lame-devel libmpeg2-devel faac-devel a52dec bzip2 faac faad2 ffmpeg lame libdca libdvdnav libdvdread libmkv libogg libsamplerate libtheora libvorbis libmp4v2 libmpeg2 x264 zlib


#wget http://handbrake.fr/rotation.php?file=HandBrake-0.9.4-Fedora_GUI_i686.rpm

#rpm -ivh HandBrake-0.9.4-Fedora_GUI_i686.rpm

To convert videos, run HandBrake from Application > Sound & Video > HandBrake
Select the "Source" and in "Preset menu" select ipod.

Labels: , , , , , , ,

Itune replacement for Linux






Ever since I shifted from Windows to Linux I was missing itunes for uploading my music and videos to my iPOD. I have tried amarok, but fail to upload videos on ipod. Now I am using Banshee.
Banshee is maintained by Aaron Bockover, Alexander Kojevnikov, Bertrand Lorentz, and Gabriel Burt. Over 140 developers, 111 translators, 6 artists, and countless users and volunteers have contributed to Banshee.
The project was started by Aaron in early 2005. It is strongly affiliated with GNOME, using its infrastructure for Git hosting, issue tracking, mailing lists, and IRC.
Supporting operating systems:
opensuse, foresight, ubuntu, fedora, debian, mac os x, madriva
Features:
Device Sync:
Sync your music and videos to your Android, iPod, or other device - or import its media

  • Podcasts: Download or stream podcasts and video podcasts
  • Play Queue: Queue up songs, videos, and podcasts, or let the Auto DJ take over
  • Shuffle Modes:Shuffle (or Auto DJ) by artist, album, rating, or even songs' acoustic similarity
  • Album Art: Artwork is automatically fetched as you listen
  • Powerful Search, Smart Playlists: Find exactly what you want, fast
  • Video Support: All the power of Banshee, now for your videos.

Installing banshee is just take 5mins, for installing banshee on Fedora 12
#yum -y install banshee

Just attach your iPOD select banshee from Application > sound & video > banshee and import your videos in it.

Labels: , , , , ,

Monday, February 22, 2010

Installing Firefox 3.6 on Fedora 12

Firefox 3.6 is not available in the default repos of fedora 12. But still you can install it using the rawhide repo.

# yum --enablerepo=rawhide list firefox

You will see a similar output

firefox.i686 3.5.6-1.fc12
@updates Available Packages
firefox.i686 3.6.1-0.11.rc2.fc13

Now, run the following command to install the latest firefox.

# yum --enablerepo=rawhide install firefox

Labels: ,

Sunday, January 31, 2010

Slideshow maker on Fedora 12

Hi Guys. From last two months I am using Fedora 12 as my primary os. I want to create a slideshow which i can able to covert in DVD. I just did google and found Slide 2 Video.
"Slide 2 Video" create DVD-compatible slideshow video, flash video, or just plain vanilla MPEG video from still images. Includes a graphical user interface for assembling slides in a timeline fashion, manipulating transitions, and adding title slides and a soundtrack.

Dependencies:

Java
ImageMagick
FFMPEG

Download it from here.

Installation steps

#cd /usr/local/src
#wget http://downloads.sourceforge.net/project/jslideshow/jslideshow-binary/0.8/Jslideshow-bytecode0.8.tar.gz
#wget http://downloads.sourceforge.net/project/jslideshow/jslideshow-src/0.8/Jslideshow0.8.tar.gz
#tar zxvf Jslideshow-bytecode0.8.tar.gz
#tar zxvf Jslideshow0.8.tar.gz
#cp -rf /usr/local/src/Jslideshow/bin /usr/local/src/Jslideshow-bytecode0.8
#cd /usr/local/src/Jslideshow-bytecode0.8

To run the application:

#java -jar /usr/local/src/Jslideshow-bytecode/Jslideshow.jar

Labels: , ,