Varinder Singh

Func based Install() method version0.3

December 5, 2008 · Leave a Comment

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:

DVD Slide Show in Fedora Linux 9.0

December 5, 2008 · Leave a Comment

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.

screenshot-mplayer

Slide show starts (Image above)

screenshot-mplayer-12

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: