The lab work is to create a custom spin cd. To create a Fedora CD with Custom packages, I have used the tool named “Pungi”.It is a pretty simple job. The step are given below.
1. Yum install pungi
2. Created a configuration file named “f9-ks.cfg” that customize the spinning process.The packages can be listed here to include them to CD.
Kickstart File
3. As a root run the command
pungi -c f9-ks.cfg –nosource –force –ver=F9
4. This command would create the iso image.
5. Burn ISO image to CD.
This the great lab in that we learn how to create the custom GNU/Linux Installtion CDs
Categories: Uncategorized
Tagged: Uncategorized
My project work release 0.3
My project work is related to adding more functionality to func based yumcmd method. I am working on install() method for yumcmd module. The yumcmd module is great Package management system for remote computers. yumcmd is currently has update and Check_update features. I have contributed to yumcmd by adding new method install(). So the packages can be installed on remote computers with just single command.
e.g
#Func target.example.com call yumcmd install k3b
The code i have written is working well outside the Func. But some errors when i tried to run it under Func.
I am working on it to fix it.
For test purposes i have named it yumjhand.py
here is link to code
Yumjhand.Install(pkg=”K3b”)
Categories: Uncategorized
Tagged: Uncategorized
It is very easy to make a DVD slide show for Pictures captured from Digital Camera.I have used the few simple steps given below.
1. #yum install dvd-slideshow
2 #dir2slideshow -n “familyslideshow” -t 3 /dir-for-pics
The command above will create a text file, that will be used in next command.
“familysildeshow” is name of slide show. “-t 3″ is the time gsp betweem photo show.
3. #dvd-slideshow -n “familyphotos” -f <textfile-created in step 2>
this command gives me error of BIT Rate
To solve that i did the following steps
4 # vi /usr/bin/dvd-slideshow
go to line number 661
changed ac3=1 to ac3=0
again run the same command in step #3
it will create a file with extention .vob. In my case i got familyfotos.vob
its done.
Now to run the slide show we need “mplayer”
so steps are
1 # yum install mplayer
it will install mplayer
to run slide show the command is very simple
#mplayer familyfotos.vob
this command will run a slide show with all photos in a directory we have.

Slide show starts (Image above)

One of image from my slide show
we can add music to slide show with the same command with more options.
Its really a great utilty
Categories: Uncategorized
Tagged: Uncategorized
For conversion the Open Source tool named “Kino” is used.

I found It is a great tool. I just try to open the Quicktime file with Kino. It just comvert that file as a .DV file.
It takes around 30-35 muntues on my laptop for a 10GB file.
Its very easy to Edit the part of Movie file.
Just click on “Trim” and it shows the following screen to allow Cut the part of movie.

I used the small Blue colour Cutting tool at the lower side of movie to cut the portion. Then click apply and save changes.
Then i convert the movie into diffrent formats. This software provides many options for diffrent formats.

It provides converstion option for Broadband and for mobile devices

Finally I can say it is great tool for Video Editing
Categories: Uncategorized
Tagged: Uncategorized
It is really interesting to know we can run application on local computer , but actually they are displaying remote computers.
e.g.
#xterm -display 192.168.1.10:1
this command will display an X terminal on remote computer’s display number 1, while the command is invoked form 192.168.1.100
and the vice versa is also true
we can run command on remote computers but their GUI will display on local computer.
ssh -X -C varinder@china firefox
its relly interesting.
but could not understand the following command
X :2 -query [server2's IP] &
X :2 -indrect [server2's IP]
Categories: Uncategorized
Tagged: Uncategorized
Fonts can be installed very easily. The method is
Step 1. Make a directory named .fonts in home directory .i.e. ~/.fonts.
step 2. Copy fonts in the directory created in step 1. Ie. in ~/.fonts
It will install new fonts and we can access these fonts in Open Office writer and other similar applications.
Doubts:
I have tried the same method on my Dell laptop to view the news paper in Punjabi language. But its not working. (The same method working on my DELL Desktop)
Link to my lab work
My Lab work for Fonts Lab#06
Categories: Uncategorized
Tagged: Uncategorized
This Tutorial is explain the process of Importing Pictures from Digital Camera in Fedora Linux.
The list of Equipments and tools used in the process is given below
1. DELL P-4 2.8 GHz with 1GB RAM. Fedora 9.0.
2. Panasonic Digital Camera LUMIX MEGA O.I.S 6.0 Mega Pixels, 6X Optical zoom.
3. GIMP 2.4.7

Here are the steps
1. Attached the digital camera through USB interface & Switched it on
2. Fedora 9.0 Automatically Detects the Camera and displays a window on Screen
#3. After pressing the OK button it will start importing photos from digital Camera to show as thumbnails with “Open gThumb Image Viewer”

#4. Now We have option to select to Copy/store the Pictures on computer in a folder of our choice under specific Categories .i.e Holidays, Family and Birthday etc.

#5. Pressing OK button will start Downloading Pictures in folder we have selected.

#6. We can process image with GIMP (GNU Image Manipulation Program) , free open Source software from GNU.
Here are some example of processed image with GIMP

The above image is processed with Waves effet with GIMP
From “Filter –> “Animation”—>Waves
Here is Waves tools is in effect

Screen shot of Filter—>Animation—>Waves tool
- More Effect:- Crop Cut/Paste & Noise Effect to Images

Of course we can do much more i.e. crop & copy effects in picture.
Above Picture is showing effect of “Simulation Glowing boundary of Neon Light”.
If can implemented with option .i.e. Filter—->Edge-Detect—->Neon
I hope My Blog post will helpful.
Categories: Uncategorized
Tagged: Uncategorized
Torrents
The Bit torrent is a peer to peer(P2P) file transfer protocol. It is widely used to distribute data/software at a large scale without the original distributor is bearing the cost of hosting, bandwidth, hardware etc. when a data is distributed using p2p protocol then each recipient participate in distribution of data to new recipient.
Bit torrent client is any computer that is using the bit torrent protocol. Each client is capable of requesting, uploading any type of file form the bit torrent network. A peer starts with downloading a file in pieces. These pieces not be contiguous from the file, rather these are random. With the help of tracker, peer can find other peers having the other pieces of file. So while communicating peers can, upload(distribute) a pieces of file while downloading the other.
Magnet Links
Magnet links is a way to make reference to resources available in peer 2 peer network. The link identify a resource (file) not by location rather by name, or hash value. So it is called URN rather than URL. Magnet links are differ from torrents, in that the users can just copy and paste the magnet link s in to email, messaging system. Magnet link can also be shared through websites.
References:
NationMaster.com
WikiPedia.org
Here is Link to Shell script for backup of files created in last 24 hours (1day)
Shell Script to Backup the files in User’s Home Directory
Categories: Uncategorized
Tagged: Uncategorized
Just a beginner in python programming.It has very simple way of defining data structures such a lists , lists of lists, arrays & arrays. Variable declaration is quite simple no need to declare a variable type and variable inilization. just use it. very simple.
Unlike C, there is not a lot of punctuation.
e.g.
while (True): and while True: Both statements are working well.
Here is link to python Game script
Python SPR-720 Number Game (python-game.py) Script
Categories: Uncategorized
Tagged: Uncategorized
my project work contains yumjhand.py func (Fedora Unified Network Controller) based, module, written in python. It will adds more functionality to existing func based module yumcmd yumcmd.py . Yumjhand.py module contains a method named ‘install’. Not working completely yet. trying to make it work
here is link to code.
Link to yumjhand.py Module
sayhello() is another method in yumjhand module just to test the functionality. It prints the message Hello! World.
Link to Project Page
Project Page at Seneca WiKi
Categories: Uncategorized
Tagged: Uncategorized