Monday, August 27, 2012

Compile 2ManDVD for DVD Authoring







2ManDVD is the successor of ManDVD
A complete DVD authoring and highly sophisticated
video slideshow making software in Linux.




  • To compile 2manDVD some packages are needed . For Ubuntu Linux ,
 open a terminal and run :


sudo apt-get install build-essential fakeroot checkinstall libqt4-opengl-dev libqt4-dev netpbm mjpegtools ffmpeg sox mkisofs ffmpegthumbnailer libsox-fmt-all dvdauthor mplayer mencoder xine-ui g++ exif libavcodec-dev libswscale-dev libavformat-dev libsdl1.2-dev

  • Download the latest version of 2ManDVD from here
  • Unzip the files to any folder
  • Go to folder in a terminal :


cd /path/2ManDVD


  • Compile with Qt4:
     

/usr/bin/qmake-qt4 2ManDVD.pro && make && sudo make install


  • To uninstall, go to the installation directory and enter the following command


sudo make uninstall && sudo make clean


  • Enjoy.....

Wednesday, August 15, 2012

Howto Boot UBUNTU ISO From Hard Drive

Hope your Ubuntu ISO is in your home directory. Open a terminal and run:-


:~$ sudo mkdir -p /boot/ubuntu



Move your ubuntu.iso to newly created Ubuntu folder:-


:~$ sudo mv ubuntu.iso /boot/ubuntu/



Now you have to prepare grub menu to boot your ISO from hard drive:-


:~$ gksu gedit /etc/grub.d/40_custom



Paste this into the empty portion of the '40_custom' file:-


menuentry "UBUNTU ISO" {
set isofile="/path/yourisoname.iso"
loopback loop (disk,partition)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
initrd (loop)/casper/initrd.lz
}



Before saving the above file, you have to give the correct path of your ISO file:-


:~$ sudo fdisk -l



See this output:- /dev/sda3 90318848 202430463 56055808 83 Linux
Here 'sda' is 1st had disk and '3' is partition number. Change the above file according to your own output like this and save:-


menuentry "UBUNTU ISO" {
set isofile="/boot/ubuntu/ubuntu.iso"
loopback loop (hd0,3)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
initrd (loop)/casper/initrd.lz
}



Now update your grub and reboot the computer:-



:~$ sudo update-grub && sudo reboot





Enjoy ***************************************************************************


Monday, July 23, 2012

Schedule your programs with CRON Command in Linux


Cron is a time-based job scheduler in Unix-like computer operating systems. Cron enables users to schedule jobs (commands or shell scripts) to run periodically at certain times or dates. It is commonly used to automate system maintenance or administration, though its general-purpose nature means that it can be used for other purposes, such as connecting to the Internet and downloading email.


Here we will see how to schedule some Downloader softwares
 with the help of “cron”. Open a terminal and run.



:~$ export EDITOR=gedit 


:~$ crontab -e


Now paste the following files into the pop up file and save it. 


# m h dom mon dow command
# Start Torrent client, please replace with correct path of your torrent program at your required time
15 2 * * * DISPLAY=:0.0 /usr/bin/deluge
# Replace with correct path of download.txt and fill it with your links. Install wget before using the command
17 2 * * * wget -ci /home/username/downloads.txt
16 2 * * * DISPLAY=:0.0 /usr/bin/jdownloader

Monday, September 5, 2011

How to type Indian Languages Via ibus in Ubuntu


Howto: Lock your folders with Cryptkeeper in Ubuntu Linux


Re-install favourite packages in a fresh Ubuntu system








Easy way to save and install our favourite software packages into a new Ubuntu Linux system.


:~$ dpkg --get-selections > installed-software

The above command will make a file called "installed-software " in home directory.If we want to install this whole packages into a new ubuntu system,just copy this file (installed-software" into home directory of the new system , open a terminal and type this:


:~$ sudo apt-get install dselect


:~$ sudo dpkg --set-selections < installed-software


:~$ sudo dselect


Install software from the new menu........ ( Don't forget to copy all repos and deb files also otherwise you will have to re-download all the softwares again )



How to Fix Grub Error in Ubuntu Linux







Boot with Ubuntu live cd , open a terminal and run:

:~$ sudo fdisk -l

:~$ sudo su

:~$ cd /

mount /dev/sda12 /mnt #(Here my Root system is in sda12 shown from the 1st command)

# next line only if you have a separate boot partition

:~$ mount –bind /path/to/boot-partition /mnt/boot 

# if no separate boot partition, please continue:

:~$ mount --bind /proc /mnt/proc

:~$ mount --bind /sys /mnt/sys

:~$ mount --bind /dev /mnt/dev

:~$ chroot /mnt

# in the chroot session:

:~$ update-grub

# if update-grub fails

:~$ grub-install /dev/sda

# if you get any errors  please use this command :

:~$ grub-install --recheck /dev/sda

# now you can exit the chroot, unmount the system and reboot your box :

:~$ exit

:~$ sudo umount /mnt/dev

:~$ sudo umount /mnt/proc

:~$ sudo umount /mnt

:~$ sudo reboot


Enjoy...