amazon.

Archives

Archive for the ‘Unix/Linux’ Category

Make iso image from vobcopy

Vobcopy and Mkisofs to the rescue again

Firstly, vobcopy does not make iso images directly. You first need to extract all the required files from the dvd you are making an iso image of.

To do this take a look here.

Short version is this.

  • $ vobcopy -m /path/to/dvd .

This will place all the files in the current directory. So make sure that you are in the directory you want all your files in.

Then run this command in the directory that holds the VIDEO_TS sub directory.

Read the rest of this entry »

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • TwitThis

Copy everything from a dvd to harddrive using dd

DVD Copying to hard drive with dd
In adddition to using vobcopy, and mkisofs you could also use plain old dd to do the trick ( sometimes )

It sometimes works, and when it does it works well.

From the command line in *nix ( Unix, Linux, OS X, etc. )

> dd if=/dev/dvd of=/tmp/dvdfilenametocreate

Lets break this down. dd is the command you are running, and if is the input file, everything is a file in *nix, and of is the output file you wish to write.
Read the rest of this entry »

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • TwitThis

Ubuntu Update kills HP LaserJet 1020

HP LaserJet 1020 Install On Ubuntu 8.04 tls

Upon performing updates on Ubuntu, my HP LaserJet 1020 stops working.

To fix this, I have to reinstall the foo drivers.

> sudo apt-get install build-essential

Then grab the foo2zjs drivers

> wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz

Untar them in place

> tar xzvf foo2zjs.tar

CD to foo2zjs

> cd foo2zjs

Uninstall the currently installed version
Read the rest of this entry »

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • TwitThis

Using vobcopy and mkisofs to backup dvds to harddriveb

How to use vobcopy and mkisofs in Ubuntu to backup your dvds* to your hard disk

There are many different methods for backing up media your hard disk.

In Ubuntu, the easiest way to do this is right click on the dvd and copy it directly. This works about half the time.

Or you can try the unix dd command method.

> dd if=/dev/dvd of=nameofdvd.iso

This too only works some of the time.
Read the rest of this entry »

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • TwitThis

6th Place in Google Search for “Install usb Joystick in Ubuntu”

UDPATE to Ubuntu Logitech Dual Action USB Gamepad install

Dual Action Gamepad Dual Action Gamepad

The Logitech Dual Action Gamepad is the ultimate precision instrument whether you’re going for the tackle the kill the gold or the finish line. $15.99


WOW!!!

I never thought that i would write something that a. people actually searched for, and b. that would show up on a first page search result.

I love this wordpress software.

“install usb joystick in ubuntu” who knew?

I only wrote it at as reference for myself, and possibly if others needed such information they could have it too.

[ UPDATE ]

I have done some more searching on getting the gamepad working with gsnes9x gui mode.

I had to change the /etc/snes9x/snes9x.conf file.
Read the rest of this entry »

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • TwitThis

Determine Yesterday’s Date in a unix environment using ksh and date()

Unix and KSH to find yesterday’s date

Mastering Unix Shell Scripting: Bash, Bourne, and Korn Shell Scripting for Programmers, System Administrators, and UNIX Gurus, 2nd Edition



Wicked Cool Shell Scripts: 101 Scripts for Linux, Mac Osx, and Unix Systems

I did a bunch of searching and found a lot of places online to do timestamp conversions, and perl programs to get yesterday’s date. Some worked and some didn’t. But none the less, I didn’t need a whole program to do this, and I especially didn’t need an online converter for use in my app. I needed something simple and small that didn’t use a lot of calulations.

Here is what i came up with for use in the shell (KSH)
Read the rest of this entry »

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • TwitThis

Ubuntu Logitech Dual Action USB Gamepad install with Ubuntu 7.10

HOWTO: Installing Logitech Dual action USB gamepad under ubuntu.

Here is what I did to install it and get it working with GSNESX.
Run update to make sure everything is current.

  • sudo apt-get update

Install the joystick package.

  • sudo apt-get install joystick

Install the joystick calibrator

  • sudo apt-get install jscalibrator

Read the rest of this entry »

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • TwitThis