Friday, September 19, 2008
CinePaint
So I am trying to edit in 16-bit, and gimp the old boy cannot do it for me so I needed to get cinepaint, but I couldnt find it. Finaly I added the repository "deb http://ppa.launchpad.net/secretlondon/ubuntu hardy main" found on website https://edge.launchpad.net/~secretlondon/+archive and it worked great. Don't know how the program will work out, but it installed!
Thursday, August 21, 2008
SED
Oh the power of sed
Here is how to remove the first certain number of characters
sed 's/^.........//' test2 > test3 where each . is a character.
also
cut -c10- test2
one way to cut the back is
rev filename | cut -b 2- | rev
which reverses the file, cuts the first two (which is the back) and then reverses it back
or you can use
cut -b 1-2 --complement bazaar.txt
this cuts from 1 to 2 (or the first two here) so if it was 5-13 it would cut the 5th to the 13th
Here is how to remove the first certain number of characters
sed 's/^.........//' test2 > test3 where each . is a character.
also
cut -c10- test2
one way to cut the back is
rev filename | cut -b 2- | rev
which reverses the file, cuts the first two (which is the back) and then reverses it back
or you can use
cut -b 1-2 --complement bazaar.txt
this cuts from 1 to 2 (or the first two here) so if it was 5-13 it would cut the 5th to the 13th
Thursday, August 14, 2008
Wednesday, August 13, 2008
Mutt and Mail
I haven't been able to send mail from my computer but I found this tutorial
http://ubuntuforums.org/showthread.php?t=565326
that is for setting up mutt to use your gmail, but it got just the command mail, working too!! I am pretty happy about that.
http://ubuntuforums.org/showthread.php?t=565326
that is for setting up mutt to use your gmail, but it got just the command mail, working too!! I am pretty happy about that.
Thursday, July 17, 2008
Virtualbox
When I was setting up virtual box I had to add myself to the group vboxdrv or something like that as well as give myself read write privileges to to the folder /dev/vboxdrv/. I also under super user used the command "modprobe vboxdrv" which has been suggested that users add to the file /etc/modprobe.conf.local so you don't have to enter the command every time you boot.
Fix Emacs Suse 10.3
Turns out the update to emacs-22.1-40.4 replaced /etc/skel/.gnu-emacs with a new version, but my own ~/.gnu-emacs file was of course not updated and was therefore incompatible with the updated Emacs. Copying the new .gnu-emacs file from /etc/skel to my home directory fixed the problem.
Monday, June 30, 2008
Neverwinter Nights Linux
Ok, to play never winter nights on Linux you need to get the Linux game at http://nwn.bioware.com/downloads/linuxclient.html. This pretty much explains it all.
Download:
Game File:
http://files.bioware.com/neverwinternights/updates/linux/nwresources129.tar.gz (PS is is 1.1 GB)
Linux Client:
http://files.bioware.com/neverwinternights/updates/linux/nwclient129.tar.gz
Update:
http://files.bioware.com/neverwinternights/updates/linux/168/English_linuxclient168_orig.tar.gz
Unzip the nwresources first then put the other two in the nwn folder it makes and unzip the second one. Then for the update you make a backup of the override file if you want then just type
rm -f override/*
tar -xzf English_linuxclient168_xp1.tar.gz
Now if you want to do it on Suse 10.3 64 bit, my current Linux disto of choice here is what you need to do.
1. Make certain you have the packages as follows:
What I did in Yast->Community Repositories.
Then select these:
Main Repository (NON-OSS)
Main Repository (OSS)
Main Update
Packman
I have an NVidia card so I selected NVIDIA Repository
there is one for ATI Repository
Then in the software management module:
Search for SDL,make sure you have SDL-32bit selected.
Search for xcb, make sure you have xorg-x11-libxcb-32bit
Search for libasound2, make sure you have libasound2-32bit
Search for X11, make sure you have xorg-x11-libs-32bit
I also had to add the 32 bit libelf library to get mine to work.
2. Make this script:
#!/bin/sh
# This script runs Neverwinter Nights from the current directory
cd /apps/Games/nwn
export SDL_MOUSE_RELATIVE=0
export SDL_VIDEO_X11_DGAMOUSE=0
# If you do not wish to use the SDL library included in the package, remove
# ./lib from LD_LIBRARY_PATH
export LD_LIBRARY_PATH=./miles:$LD_LIBRARY_PATH
export LIBXCB_ALLOW_SLOPPY_LOCK=1
./nwmain $@
This is all found on the forum
http://nwn.bioware.com/forums/viewtopic.html?topic=590825&forum=72
Download:
Game File:
http://files.bioware.com/neverwinternights/updates/linux/nwresources129.tar.gz (PS is is 1.1 GB)
Linux Client:
http://files.bioware.com/neverwinternights/updates/linux/nwclient129.tar.gz
Update:
http://files.bioware.com/neverwinternights/updates/linux/168/English_linuxclient168_orig.tar.gz
Unzip the nwresources first then put the other two in the nwn folder it makes and unzip the second one. Then for the update you make a backup of the override file if you want then just type
rm -f override/*
tar -xzf English_linuxclient168_xp1.tar.gz
Now if you want to do it on Suse 10.3 64 bit, my current Linux disto of choice here is what you need to do.
1. Make certain you have the packages as follows:
What I did in Yast->Community Repositories.
Then select these:
Main Repository (NON-OSS)
Main Repository (OSS)
Main Update
Packman
I have an NVidia card so I selected NVIDIA Repository
there is one for ATI Repository
Then in the software management module:
Search for SDL,make sure you have SDL-32bit selected.
Search for xcb, make sure you have xorg-x11-libxcb-32bit
Search for libasound2, make sure you have libasound2-32bit
Search for X11, make sure you have xorg-x11-libs-32bit
I also had to add the 32 bit libelf library to get mine to work.
2. Make this script:
#!/bin/sh
# This script runs Neverwinter Nights from the current directory
cd /apps/Games/nwn
export SDL_MOUSE_RELATIVE=0
export SDL_VIDEO_X11_DGAMOUSE=0
# If you do not wish to use the SDL library included in the package, remove
# ./lib from LD_LIBRARY_PATH
export LD_LIBRARY_PATH=./miles:$LD_LIBRARY_PATH
export LIBXCB_ALLOW_SLOPPY_LOCK=1
./nwmain $@
This is all found on the forum
http://nwn.bioware.com/forums/viewtopic.html?topic=590825&forum=72
Tuesday, April 29, 2008
Cool Sierra Remakes
This has old Sierra games in VGA remake mode! Cool eh
http://www.agdinteractive.com/KQ2.php
Play up!
Cool Sierra Remakes
This has old Sierra games in VGA remake mode! Cool eh
http://www.agdinteractive.com/KQ2.php
Play up!
How do I use dd command to create an ISO image?
Put CD into CDROM
Do not mount CD. Verify if cd is mounted or not with mount command:
# mount
If cd was mouted automatically unmout it with umount command:
# umount /dev/cdrom
OR
# umount /mnt/cdrom
Create CD-ROM ISO image with dd command:
# dd if=/dev/cdrom of=/tmp/cdimg1.iso
Where,
- if=/dev/cdrom: Read from /dev/cdrom (raw format)
- of=/tmp/cdimg1.iso: write to FILE cdimg1.iso i.e. create an ISO image
Send Email With Different Return Address
Using the linux mail or mailx commands you can send email with a return address other than your own. If you type something like this "mail cowman@cheese.com -r cowman@cheese.com" it actually looks like the recipient got the email from them selfs. This is pretty cool. The only thing is if the computer knows the address it doesn't automatically say the same of the person, but displays the email address as the from, so somehow I think the computer can still differentiate.
System Wide Aliases
In order to set an alias in linux that is system wide for all users and permanent you can put your aliases either into the /etc/bash.bashrc (global settings) or into the .bash_aliases in your home directory. It is a good idea to put them at the end of these files and put a comment so that others, or the future you will know that you make the alias.
Subscribe to:
Posts (Atom)