Tag Archives: ubuntu

Procrastibuntu – How to Install Mame on Ubuntu 8.10

fatalfury2

Yes, I know this is not education related, but hey it’s something fun to do during spring break… instead of going to the beach I’m stuck here preparing for a conference this coming saturday.  Oh well.  I found this simple guide that helps a lot.  First you have to install the core program, then a frontend.  A front end is something that helps you access the program from a graphic interface.  Otherwise you would have to use the termina.  I found this simple as can be guide.  I simplified it down even more… it works great.  The only problem is the screen size.  I can’t get a true full screen.  Let me know if you figure this out.

  1. Open a terminal ( applications< accessories< terminal) and type in the following:

    sudo apt-get install xmame-x xmame-sdl

  2. download this file http://surfnet.dl.sourceforge.net/sourceforge/gxmame/gxmame_0.35beta2-1_i386.deb
  3. open a terminal (or use the same one if you kept it open) and type in

    cd Desktop

    assuming you downloaded the file to the desktop

  4. then type in

    sudo dpkg -i gxmame_0.35beta2-1_i386.deb

  5. It’s isntalled

Now let’s configure Mame

  1. Go to Option > Directories, and in “Gxmame Directories” set the path to “/usr/games/xmame.SDL“.
  2. Now lets add your roms folder.  so add it on the “ROMs path” (you can add as many paths as you want). After that click on the tab that reads  “xmame basic paths”we need to add a  games folder.
  3. Nowgo to Option > Rebuild Game List
  4. Go to available.. if you have roms in your folder and it doesn’t show up, try closing and opening the program again. Otherwise try installign over.
  5. Enjoy!

Thanks to Daniel Adnrade for the original guide!

http://www.danielandrade.net/2008/01/08/running-mame-games-on-ubuntu/

Advertisements

What to do if youre mp3 player (Sanse e200 series) is stuck in read only in Ubuntu 8.10

Hi everyone,  I’m back from a long weekend.  I got myself a new Samsung m320 phone.  My old lg rumor screen just died.. I guess it couldn’t hold it’s own against my weight when i stepped on it.  They don’t make phones like they used to anymore.   Oh well.  I decided to go with a smaller phone that does what it was what it was meant for and only that… make calls.  The techie side of me was pushing me to get something like an instinct, or a black berry, but the graduate student side of me reminded me that paying $100 a month for the rest of my life is not a great choice economically.  Maybe if I figure out how to use that wireless signal with my laptop and home computer I’ll chose that over having  home dsl or cable. Well… most likely you’re not here to hear my blathering, so on with the guide.

How to fix the read only mp3 player problems (thanks to Ronnie from Full Circle Magazine)

  1. Plug in your Sansa e200 (or other mp3 player)
  2. Make sure it is mounted ( make sure it is recognized by ubuntu)
  3. Open a Terminal by going to Applications < Accessories < Terminal
  4. First you need to find out how your systems has recognized the  mounted device so type in the following command in terminal

df

5.  You will sometthing lik e this:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 92196516 70846008 16667164 81% /
tmpfs 1032308 0 1032308 0% /lib/init/rw
varrun 1032308 216 1032092 1% /var/run
varlock 1032308 0 1032308 0% /var/lock
udev 1032308 2820 1029488 1% /dev
tmpfs 1032308 12 1032296 1% /dev/shm
lrm 1032308 2004 1030304 1% /lib/modules/2.6.27-11-generic/volatile
/dev/mmcblk0p1 1005600 32176 973424 4% /media/disk
/dev/sdb1 1938464 1905500 32964 99% /media/Sansa e250

6. notice that my sansa is recognized as /dev/sdb1.  Keep that in mind, and make sure you know what .  It is NOT the /media/Sansa e250 location. It should be at the beginning of the line right before all those numbers.

7.  Now type the following command in the terminal (make sure you change it to match your device):

sudo fsck.msdos -a /dev/sdb

8. Put in your password, okay the operation, and after this you should be able to drag files into your sansa e200 or whatever mp3 player you are using.

9. voila!

Installing SPSS 16 Linux on Ubuntu 8.10

As a Psych student I absolutely need this program.  I did find that sometimes I got numbers that didn’t make sense.  So check to make sure your install is coming up with numbers that match another machine (check means, correlations)

Make sure it’s for Linux. Here is how I installed it on my machine. I have also includes instructions on how to install it so it still can work with all the desktop effects such as transitioning between virtual desktops.

1. Open up the Terminal (Applications < Accessories < Terminal)

Type in:

export LIBXCB_ALLOW_SLOPPY_LOCK=true

(you wont see any changes so don’t expect that)

2. Now insert your SPSS for Linux CD. Drag the setup.bin to the Desktop so it can copy the file (according to another guide you can double click on it too.. didn’t work for me)

3. For now lets turn off Compiz. Go to System < Prefernces < Appearance Click on the Visual Effects Tab and click on the none option.

4. Now back to the Terminal type in the following:

sudo apt-get install libstdc++5

then

cd Desktop

Notice the Capital “D”

then

sudo ./setup.bin

5. Go through all the steps of installation (be patient, some steps take a long time). One tip, the default folder did not work as a place for the installation. I created a Desktop folder named “SPSS16” (yes with caps). This worked better and made it easier to access the files I needed later on.

SPSS is Installed! Now if you want it to work with Compiz do the following

6. Open up your SPSS16 folder then the bin folder then find spss ( It’s in lower case, not upper case). Open the file with a text editor (click on it, then choose display). Now you should have a text document open. That starts with #!/bin/sh

After this on a separate line type in

export AWT_TOOLKIT=”MToolkit”

It should look like this now

#!/bin/sh
export AWT_TOOLKIT=”MToolkit”
cd “/home/user/Desktop/SPSS16″
#”/home/user/Desktop/SPSS16/bin/spss”
exec “/home/user/Desktop/SPSS16/bin/SPSS” $@

Save this file

7. Now click on the spss file (still lower case) and it should launch! Go back to apperance and turn on destops effects.

Trouble shooting:

On some installs I found that launching the program right after the install (by click on the SPSS file in the bin folder.. make sure it’s all in caps) it worked after making all the changes to make it work with the Desktop effects.

Congrats, you are done.

Sources:

http://ubuntuforums.org/showthread.php?t=724613

http://forum.ubuntu-fr.org/viewtopic.php?pid=1534272 (use babelfish translator. It’s in French)