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