Sunday, March 18, 2007

HOWTO Encrypt CD/DVDs in Ubuntu

This guide can be adapted to any distro, its not Ubuntu specific.

Installing necessary tools
sudo apt-get install aespipe mkisofs loop-aes-utils
Chose a password

You need to chose a 20+ character password and DO NOT FORGET IT, you will NEVER get your data back if you forget the password.

Creating the CD/DVD image


Make a directory called backup then copy the files you want to burn into the backup directory.
We are using AES encryption, you can chose from 128 or 256 bit key lengths, I recommend 256.

mkisofs -r backup | aespipe -e aes256 > backup.iso
or for 128 bit key length
mkisofs -r backup | aespipe -e aes128 > backup.iso

Mounting the image

First we need to load some modules
sudo modprobe aes
sudo modprobe cryptoloop
For 128 bit key lengths:
sudo mount -t iso9660 backup.iso /mnt/iso -o loop=/dev/loop0,encryption=aes128
For 256 bit key lengths:
sudo mount -t iso9660 backup.iso /mnt/iso -o loop=/dev/loop0,encryption=aes256
This will mount the image in /mnt/iso (make sure you have the directory before you try to mount)

Burning

You can burn the image with your favorite program (gnomebaker, k3b), you might get some warnings about the image but you can ignore them.

Mounting the new CD/DVD


First make sure you loaded the aes and cryptoloop modules (see above)
sudo mount -t iso9660 /dev/cdrom /mnt/iso -o loop=/dev/loop0,encryption=aes256

Tuesday, March 13, 2007

How to Export your Mails from Evolution to Thunderbird

Preparing Your Thunderbird

Create a new mail account in Thunderbird (this is so that if everything goes pear shaped nothing else will be affected).

In Thunderbird choose Edit -> Account Settings -> Add Account

Select Email Account and click Next

Leave identity settings as they are and click next

Set the Incoming Server to “localhost” and REMOVE the tick from “Use Global Inbox” Click next

Leave the Incoming user name as it is. Click Next

Change the Account Name to something relevant such as “Evolution Mail”

Once the settings are created return to Edit -> Account Settings and select the “Server Settings” option under the “Evolution Mail” account. Take note of the “Local Directory” Setting. It will be a string like “/home/yourloginname/.mozilla-thunderbird/a2ti6rsz.default/Mail/localhost”. This is where all mail is stored for this account.

Now that the account is created and you know where to find it you can transfer the emails from Evolution.

Transferring mail from Evolution to Thunderbird

Open up two windows to your Home Directory. Navigate in one of the windows to the path that Thunderbird has assigned for your email storage above. HINT: CTRL+h in your home folder will show all hidden files and folders so you will be able to see the “.mozilla-thunderbird” folder. Once you are in this folder you will see some files in there with names such as Inbox, Inbox.msf, Junk.msf and so on.

In the other window from your home folder navigate to “.evolution/mail/local” This is where any locally stored mail from Evolution is placed. There are a similar set of files to what you see in the Thunderbird folder, Inbox, Drafts and so on.

Copy the files named Inbox, Sent, Outbox and Drafts from the evolution folder to the mozilla-thunderbird folder (dragging and dropping while holding down your ctrl key will copy rather than move the files). When it asks if its ok to overwrite them just say yes. Its ok, nothing bad will happen. Its just a copy. You can trust me. Honest.

If you have your mail folders organised in evolution under your Inbox there will be a sub directory called “Inbox.sbd” under the .evolution/mail/local/ directory. In that directory you will find files named the same as your folders such as Humour, Humour.cmeta, Humour.ev-summary, Humour.ibex.index and so on. Of course, this depends on what you’ve called your folders.

For any of the folders you want to move to Thunderbird chose the file WITHOUT any extension and copy it to the localhost folder where you previously placed the Inbox and other files.

Thats all there is to it! Open Thunderbird and you should see all your mail and the relevant folders under the “Evolution Mail” account. You can keep the mail there or move it around in Thunderbird. The choices are yours.

source: www.ubuntugeek.com

How To Import your mails from Evolution to Thunderbird

If you want to Import your mails from Evolution to Thunderbird there is very nice utility called MboxImport .

Thunderbird, like many other email clients, uses the mbox format to archive the emails.It’s curious that Thundebird has not a function that let you import or export files in this format and this lack is sometimes a problem when you want to move the accounts from a pc to another one or when you want to migrate (for example) from Mozilla to Thunderbird.Anyway this kind of import can be made very easily copying the mbox file into the directory “Local Folders” (it is inside the profile directory) with Thunderbird close; restarting the program, the mbox file will be visibile as subfolder of Local Folders.To export, you must just copy the email files that are inside the account’s folder.This method can give some troubles, above all for people not very expert with Thunderbird, because the profile’s files are into a hidden directory, whose path changes with the operative systems or also with personal needs.

First you need to download MboxImport from here

Install MboxImport in Thunderbird

In Thunderbird, go in “Tools” –> “Extensions” and click on “Install”;

pick the xpi file you downloaded and follow the instructions;

restart Thunderbird.

To export, it’s sufficient a right-click on the folder or on the account and to choose the voice you want from the menu “Import/export”.

Once you have saved all the folders/files into the Mbox format, just go into Evolution and select “Import” and follow the wizard using “a single file import” and select your xxxx.mbox file and then select which folder in Evolution you want to import into.

For importing the address book from Thunderbird to Evolution, use T-birds address book export function and save the address book as a .csv file.After finishing address book check everything is fine or not.

source:www.ubuntugeek.com

How to Make Make a VCD from an AVI Using Avidemux and K3b

Avidemux is a free video editor designed for simple cutting, filtering and encoding tasks. It supports many file types, including AVI, DVD compatible MPEG files, MP4 and ASF, using a variety of codecs. Tasks can be automated using projects, job queue and powerful scripting capabilities.

K3b is a GUI frontend to the cd recording programs cdrdao and cdrecord. Its aim is to provide a very user friendly interface to all the tasks that come with cd recording.

from mp3, ogg vorbis, and wav files (on-the-fly or with images)
* cd-text support
* ID3-tag support
* little gimmick: hide the first track (so that you have to search back
from the beginning of the cd to find it)
* volume level normalization (only when writing with an image)

Install Avidemux and K3b in Ubuntu

First you need to check you have installed Avidemux and K3b packages if not use the following command to install

sudo avidemux K3b

This will complete the installation.

Make a VCD from an AVI Using Avidemux and K3b

In Avidemux, from the menu select Auto->VCD, then select a filename. It will create an mpg, saving to your Home directory by default.

In K3b, from the menu select File->New Project->New Video CD Project. Drag and drop the mpg you created in step 1. Click Burn.

How to Clear Free Hard Drive Space with Disk Scrub Utility

Scrub iteratively writes patterns on files or disk devices to make retrieving the data more difficult. Scrub operates in one of three modes:

The special file corresponding to an entire disk is scrubbed and all data on it is destroyed. This mode is selected if file is a character or block special file. This is the most effective method.

A regular file is scrubbed and only the data in the file (and optionally its name in the directory entry) is destroyed. The file size is rounded up to fill out the last file system block. This mode is selected if file is a regular file.

A file is created, expanded until the file system is full, then scrubbed as in item 2. This mode is selected with the -X option.
Scrub implements user-selectable pattern algorithms that are compliant with DoD 5520.22-M or NNSA NAP-14.x.

Install Scrub in Ubuntu

First you need to install Alien

sudo apt-get install alien

This will help us to convert .rpm files in to .deb packages

Now you need to download the Scrub latest version from here

wget http://heanet.dl.sourceforge.net/sourceforge/diskscrub/scrub-1.8-1.i386.rpm

You have scrub-1.8-1.i386.rpm file now.Convert this file in to .deb using the following command

sudo alien -k scrub-1.8-1.i386.rpm

Now you have the scrub-1.8-1.i386.deb package.You need to install this package using the following command

sudo dpkg -i scrub-1.8-1.i386.deb

This will complete the installation

Create a scratch directory for scrub.

sudo mkdir /scratch

Using Scrub

Scrub Syntax

scrub [-f] [-p nnsa|dod|bsi] [-X] [-D newname] [-s size] file

Example

sudo scrub -X /scratch/junk

Delete junk file once scrub is finished.

sudo rm -f /scratch/junk

Source: www.ubuntugeek.com

Friday, March 9, 2007

How to Send and Receive Hotmail E-mail thru Evolution?

If you want to use you Evolution mail client to send and receive your hotmail messages use the following procedure.

How to install Gimmie: A new GNOME panel in Ubuntu?

Gimmie is an elegant way to think about how you use your desktop computer.Gimmie is a new concept of the panel designed to shift the direction of the desktop beyond the standard WIMP model (Windows, Icons, Menu, Pointer) towards one directly representing the concepts that modern desktop users use every day. It is being considered for inclusion in Project Topaz (a.k.a. Gnome 3.0)

Gimmie Features

  • A new way to think about your desktop
  • Easy to learn
  • Relates objects to topics– Colors aide recognition
  • Quickly see what's open
  • Bookmarks are running representation
  • Simple & Obvious
  • It's a Prototype

Current Stable Version :- 0.2.4

Project Home Page :- http://beatnik.infogami.com/Gimmie

How to Backup and Restore Ubuntu system?

Data can be lost in different ways some of them are because of hardware failures,you accidentally delete or overwrite a file. Some data loss occurs as a result of natural disasters and other circumstances beyond your control.

Now we will see a easy backup and restore tool called "sbackup"

SBackup is a simple backup solution intended for desktop use. It can backup any subset of files and directories. Exclusions can be defined by regular expressions. A maximum individual file size limit can be defined. Backups may be saved to any local and remote directories that are supported by gnome-vfs. There is a Gnome GUI interface for configuration and restore.

Current Stable Version : - 0.10.3

Project Home page :- http://sbackup.sourceforge.net/HomePage

Sbackup Features List

  • Backup any subset of files and directories
  • Exclude files and directories by regex expressions
  • Exclude files by type (extension)
  • Exclude files by maximum file size
  • Backup to local filesystem
  • Backup to any Gnome-VFS supported remote filesystem (including sftp and ftp)
  • Full and incremental backups
  • Scheduling backups via cron
  • Gnome GUI for configuration
  • Gnome GUI for restore
  • Command-line restore tool that also provides a Python API for restoring a file or directory
  • Backing up package list in Debian derived distributions
  • On restore, existing files are not overwritten, but are renamed to a safe name

Installing sbackup in ubuntu

sudo apt-get install sbackup

You can use synaptic also for this if you want to know how to search this software and install check here

Backup Your Data Using Sbackup

Once you completed the installation you can access sbackup using System--->Administration--->Simple Backup Config you can see this in the following screen


Next screen is asking for root password enter password and click ok


Once it opens the sbackup application you can see the following screen where you can configure your backup settings first tab is general options in this example i am choosing "Use custom backup settings"


Sbackup can be operated in 3 different modes

Recommended Backup

If you are new Ubuntu user or aren't sure what you should backup.This will perform a daily backup of your /home,system data held in /etc,/usr/local and /var.This will deliberately exclude any files over 100MB.By default this backup will be stored /var/backup

Custom Backup

This is same as the recommended backup and in this you can change the settings include,exclude files,you can change the schedule time.

Manual Backup

If you want to backup some files from time to time this option is for you and you can click backup now button to manually perform a backup according to the settings on the other backup properties dialog box tabs.

Next you click on "Include" tab here you can include any file or directory you want to backup

If you click on "Add file" button you should see the following screen where you can select your files

If you click on "Add Directory" button you should see the following screen where you can select your Directory for backup

Next option is "Exclude" here you can exclude files and folders you don't want to backup.Here you can exclude Paths,File Types,Regular Expressions,Max file,folder size

Next option is "Destination" here i am leaving the default location i.e /var/backup if you want to chnage the backup store location you can select the "Use Custom local Backup directory" and enter the location

Now you can select "Time" option here you can schedule when do you want to run your backup.

Available options for backups you can see in the following screen you can select hourly,daily,weekly,monthly,custom options


Next option is "Purging" here you can select old and incomplete backups and you set the no.of days you want to purge after completing all the settings you need to click on "Save" button to save your settings.


Now if you want to take backup just click on "Backup Now" or leave the schedule backup in this example i just clicked on "Backup Now" this is started a background process with process id you can see this in the following screen


Restore Your Data Using Sbackup

If you want to restore backups or any files,folders go to System--->Administration--->Simple Backup Restore you can see this in the following screen

Once it opens you should see the following screen here you can select the restore source folder and available backups from drop-down menu here you can choose files and folders you want to restore and click on "Restore" button

In this example i have choosen to restore one .iso file and once you select your file and click on "Restore" it will ask for your confirmation click on yes this will restore the file in orginal location if you want to restore in different location you need to select "Restore As" option

Note:- By default Restored Files and Directories are owned by root this is because of sbackup will runs with root.You need to chnage these files or folder permissions using chmod or just right click and select properties of the file or folder.

Backup Destination on Remote machine

One more beauty about sbackup is you can store your backup on a remotemachine for this it will give the option of using SSH or FTP for this go to System---> Administration---> Simple Backup Config once it opens the application you need to click on destination tab here you can select "Use a remote Directory" option type ssh:// or ftp:// followed by the username:password, then @, then the remote host to connect to and the remote directory.

Final Tip:-

Sbackup doesn't create a new backup file each time it runs and it creates an incremental backup.Which means that it updates the last backup with files that you changed or been created any files that haven't been updated since the last backup are unchanged

Sbackup Configuration from command line

If you want to configure sbackup you need to Edit /etc/sbackup.conf file

Restore Backup from command line

Run "sudo srestore.py /var/backup/2006-11-18_03 /home/myuser /home/myuser/old". You can omit the last parameter to restore to the same directory.

Conclusion

Sbackup is really very useful for new users particularly to allows users to choose either a simple backup scheme that performs incremental backups daily and full backups weekly, or to modify the default scheme with their own settings. Users list directories to backup in the Include tab, and select items to exclude in the Exclude tab. Exclusions can be based on directory,file type (sbackup excludes multimedia files by default), file size,or regular expression.This .


Tuesday, March 6, 2007

How to Remote Access in Ubuntu

Remote Login via XDMCP

What is XDMCP?

GNOME windows can support several different users simultaniously. Unlike vncviewer that just duplicates the current screen on a remote system, XDMCP allows several different users to login and run different GNOME sessions at the same time. So if you have a fast computer runing Ubuntu, several users can use their slow machines to login and run heavy applications only available on the fast machine.

How to turn on the XDMCP feature

To turn on the XDMCP feature on the fast computer, click the menu

System -> Administration -> Login Window

In the Login Window Preferences dialog window, select

Remote Tab -> Style: Same as Local ->  Close the dialog window -> Restart the PC
How to login from another PC running Ubuntu
1. Reboot the slow PC and stop at the login screen
2. Click Options at the lower left corner of the login screen
3. Select "Remote Login via XDMCP"
4. On the dialog window, type in the host name or ip of the fast computer you want to login to

Remote Desktop Sharing/Duplication via VNC

How to configure remote desktop (not secure)
Warning! Remote Desktop will only work if there's a GNOME login session
Leaving computer with an unattended GNOME login session is not secure
Use (System -> Lock Screen) and switch off the monitor when computer is left unattended
  • System -> Preferences -> Remote Desktop
  • Remote Desktop Preferences
Sharing ->
Allow other users to view your desktop (Checked)
Allow other users to control your desktop (Checked)
Security ->
Ask you for confirmation (Un-Checked)
Require the user to enter this password: (Checked)
Password: Specify the password
How to connect into remote Ubuntu desktop
e.g. Assumed that remote Ubuntu machine have configured Remote Desktop
Read How to Configure Remote Desktop
Remote Ubuntu machine: 192.168.0.1
vncviewer -fullscreen 192.168.0.1:0
  • To quit vncviewer
Press 'F8' -> Quit viewer
How to connect into remote Ubuntu desktop via Windows machine
e.g. Assumed that remote Ubuntu machine have configured Remote Desktop
Remote Ubuntu machine: 192.168.0.1
  • If you have a router remember to open the appropiate port. The default one is 5900
This process is called port forwarding port forwarding
  • Download DotNetVNC: Here or RealVNC Here
this is a free DotNet version that require the DotNet framework available from microsoft here
The RealVNC website was created and maintained by the original developers of VNC during their time at AT&T. RealVNC comes in Free, Personal, and Enterprise editions - the latter two costing money.
  • Open the VNC client you have chosen, and insert the connection string formatted like this <:DESKTOP NUMBER>|<::PORT>
In example use: 192.168.1.2:0 or 192.168.1.2::5900 to connect to desktop 0, to connect to desktop 1 use 192.168.1.2:1 or 192.168.1.2::5901 and so on
How to connect into remote Ubuntu desktop via OSX
e.g. Assumed that remote Ubuntu machine have configured Remote Desktop
Remote Ubuntu machine: 192.168.0.1
  • If you have a router remember to open the appropiate port the default one is 5900
This process is called port forwarding port forwarding
  • Download ChickenOfTheVNC: Here
  • Open ChickenOfTheVNC, and insert the host (IP address of remote machine), the display number (0 is default and is port 5900) and the password.
In example use: Host: 192.168.0.1, Display 0, Password: password

How to Configure Ubuntu/Kubuntu with WPA using Network-Manager

For Ubuntu:
sudo apt-get install network-manager-gnome

For Kubuntu (will install knetworkmanager):

sudo apt-get install network-manager-kde

Logout/Reboot.

Ubuntu users should now see the NetworkManager Applet in the Gnome notification area. Kubuntu users will probably have to run knetworkmanager before they see NetworkManager in the systray.

If instead, you get a "The NetworkManager applet could not find some required resources. It cannot continue." message, then:

sudo gtk-update-icon-cache -f /usr/share/icons/hicolor

Once Network-Manager is installed, click on the NM icon in the notification area (default is at the top right of Ubuntu/Gnome). Choose your network, then enter your passphrase. Type a password for the keyring, and you're set.

If you don't see your network, click "Create New Wireless Network...", type your essid/networkname, then choose "WPA Personal" for wireless security.

  • Note: If you installed Kubuntu then installed ubuntu-desktop & network-manager-gnome, you may not be able to use network-manager in Gnome, if at all. In this case, you may have to use WPA Supplicant and do some manual editing of conf files to get WPA up and running.
  • Note: When you first log into Gnome/KDE, the keyring application will ask for a password. Future revisions of Network-Manager should resolve this.

How to get ipw3945 and wep/wpa to work

  • Install the daemon using apt (recommended for new users):
sudo apt-get install linux-restricted-modules-generic

reboot your system and you should have wireless internet/network.

After that look at this post.
How to Configure Ubuntu/Kubuntu with WPA using Network-Manager
 

How to get ipw2200 and wpa to work

1) Open a terminal window and type:
Code:
wpa_passphrase your_ssid your_psk
Note: your_ssid is the name of your wireless network (a.k.a. SSID) and your_psk is the password you want to use to protect your network. (Look below for an example).

2) Now copy the psk string you got as output.

3) Type:
Code:
sudo gedit /etc/wpa_supplicant.conf
Then paste this as follow:
Code:
ctrl_interface=/var/run/wpa_supplicant
#ap_scan=2

network={
ssid="your_ssid"
scan_ssid=1
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=your_psk
}
Note: your_psk is the psk string you got from step 1.

Here is an example:
Code:
luca@laptop1:~$ wpa_passphrase mywlan thisisthepassword
network={
ssid="mywlan"
#psk="thisisthepassword"
psk=b22ec921c254c73f99b31b76ff876692ecde36839a1f2d92150829e6afcb5515
}
The red string is what you have to paste into /etc/wpa_supplicant.conf as your_psk (without quotes obviously). So you'll have something like this:
Code:
ctrl_interface=/var/run/wpa_supplicant
#ap_scan=2

network={
ssid="mywlan"
scan_ssid=1
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk=b22ec921c254c73f99b31b76ff876692ecde36839a1f2d92150829e6afcb5515
4) Save the file and close Gedit.

5) Now we have to make wpa_supplicant load when system boots, so go back to the terminal window and type:
Code:
sudo gedit /etc/network/interfaces
6) Add the following lines in the part regarding your wireless card, as in the example below:
Code:
pre-up wpa_supplicant -Bw -Dwext -ieth0 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant
Note: "eth0" is your wireless device and "wext" is the driver; this is a kind of generic driver, so it should work with most wireless cards. If it doesn't, please try another driver, such as hostap, ndiswrapper, etc.
Here is an example:
Code:
iface eth0 inet static
address 192.168.1.15
netmask 255.255.255.0
wireless-essid my_essid
gateway 192.168.1.1
pre-up wpa_supplicant -Bw -Dwext -ieth0 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant
7) Now run wpa_supplicant:
Code:
sudo wpa_supplicant -Bw -Dwext -i eth0 -c/etc/wpa_supplicant.conf
You should be online!



Troubleshooting:

You can run wpa_supplicant with -dd flag for a detailed debug output.

1) If you don't manage to connect to the AccessPoint, try to uncomment line 2 in /etc/wpa_supplicant.conf.
2) If that doesn't help, try change its value to 0 or 1.
3) If you get troubles while authenticating, try removing "RSN" and/or "CCMP" strings from /etc/wpa_supplicant.conf.

source: http://www.ubuntuforums.org/showthread.php?t=263136

Install Ubuntu Games

How to install game Tuxracer

sudo aptitude install planetpenguin-racer planetpenguin-racer-data planetpenguin-racer-extras
  • Applications -> Games -> planetpenguin-racer

How to install game Frozen-Bubble

sudo aptitude install frozen-bubble
  • Applications -> Games -> Frozen-Bubble

How to install game Scorched3D

sudo aptitude install scorched3d
  • Applications -> Games -> Scorched 3D

How to install real-time-strategy game (globulation 2 alpha21)

wget http://globulation2.org/releases/0.8.21/glob2_alpha21_i386.deb
sudo dpkg -i glob2_alpha21_i386.deb

You might also need to install dependencies if dpkg returns a dependency error

sudo aptitude -f install

To play use this command:

glob2

Archivers / Packages/ Compression

How to install 7z Archiver ( .7z)
sudo aptitude install p7zip-full

How to install RAR Archiver (rar)

Note: Program included in Automatix2. If you have already used Automatix2, this program may have been installed

sudo aptitude install rar unrar
  • Applications -> Accessories -> Archive Manager

How to install & use .rpm to .deb Converter (Alien)

sudo aptitude install alien
sudo alien -d package.rpm (-d for Debian package)

How to make Ubuntu/Debian packages (CheckInstall)

sudo aptitude install checkinstall
  • When compiling software from source, replace "make install" with "checkinstall"
./configure
make
checkinstall

A Debian package (.deb) will now be created in the current directory.

  • To install the created package
sudo dpkg -i package_name.deb
  • Consider copying your package to a personal Apt Repository

#Personal Apt Repository

Monday, March 5, 2007

How to use Bluetooth to share files

sudo aptitude install bluez-utils gnome-bluetooth
  • Open Applications -> Accessories -> Bluetooth file sharing
  • You're now able to receive files from other Bluetooth-devices
  • To send a file: find a file to send, right click and choose "Send to", wait until the other device is detected, and click "send".

To see if your Bluetooth-device is supported check this site: http://www.holtmann.org/linux/bluetooth/features.html

How to install Broadband ADSL/PPPoE Client (RP-PPPoE)

wget -c http://www.roaringpenguin.com/files/download/rp-pppoe-3.8.tar.gz
sudo tar zxvf rp-pppoe-3.8.tar.gz -C /opt/
sudo chown -R root:root /opt/rp-pppoe-3.8/
gksudo gedit /usr/share/applications/RP-PPPoE.desktop
  • Insert the following lines into the new file
[Desktop Entry]
Name=RP-PPPoE
Comment=RP-PPPoE
Exec=gksudo /opt/rp-pppoe-3.8/go-gui
Icon=pppoeconf.xpm
Terminal=false
Type=Application
Categories=Application;Network;
  • Save the edited file
  • Applications -> Internet -> RP-PPPoE

How to install Dialup PPP Client (GNOME PPP)

sudo aptitude install gnome-ppp
  • Applications -> Internet -> GNOME PPP

How to install CD Ripper (Goobox)

sudo aptitude install goobox
sudo rm -f /usr/share/applications/goobox.desktop
gksudo gedit /usr/share/applications/goobox.desktop
  • Insert the following lines into the new file
[Desktop Entry]
Name=CD Player & Ripper
Comment=Play and extract CDs
Exec=goobox
Icon=goobox.png
Terminal=false
Type=Application
Categories=Application;AudioVideo;
  • Save the edited file
  • Applications -> Sound & Video -> CD Player & Ripper

How to RIP DVD in Ubuntu (DVD::rip)

Write following lines in the Terminal.

sudo aptitude install dvdrip vcdimager cdrdao subtitleripper
sudo ln -fs /usr/bin/rar /usr/bin/rar-2.80
gksudo gedit /usr/share/applications/dvdrip.desktop

Insert the following lines into the new file
[Desktop Entry] Name=dvd::rip Comment=dvd::rip Exec=dvdrip Icon=/usr/share/perl5/Video/DVDRip/icon.xpm Terminal=false Type=Application Categories=Application;AudioVideo;
Save the edited file Applications -> Sound & Video -> dvd::rip

Friday, March 2, 2007

Play NES and SNES games in Ubuntu

If you like installing applications from command line you could iuse the following command at the terminal to install the zsnes emulator :-

sudo apt-get install zsnes

Now zsnes is a nice emulator that can play SNES games , it has a nice GUI and can run both on Windows and Linux operating system.

However if you dont like zsnes you can try other emlators also one popular one is fceu,To install fceu type the following command at terminal

sudo apt-get install fceu

fceu is for running NES games only.

However if you prefer to install application graphically launch Synaptic Package Manager (System -> Administration -> Synaptic Package Manger) and search for package fceu,zsnes and check them and press install button.


Now to launch fceu or zsnes go to (Applications -> Accessories -> terminal ) and type the following commands to run the emulator.

zsnes to launch the zsnes emulator it has it's own graphical interface and hence it use is self explanatory.
ZSNES in Action

For playing NES game you have to use fceu to launch fceu type the following command at the terminal.

fceu -inputcfg gamepad1 /home/user/Mario.nes (Or any other game nes and path)


Now fceu would ask you which keys you want to configure for what actions type the keys accordingly (you have to press twice to confirm the keys).

After this done next time you want to start fceu you dont have to specify your keys again you can use the following command to run fceu.
fceu ROM.nes (Where ROM.nes is your rom you want to run)

Mario Game running under fceu

Now for roms(nes and snes games ) you can use the google for finding and downloading roms , since i dont quite know about legality of using these roms so i wont recommend any site to you , anyways they are quite easy to find using google.

Source: http://linuxondesktop.blogspot.com/2007/03/playing-classic-games-under-ubuntu.html
Your Ad Here