Setting up a squeak on a Ubuntu system

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Setting up a squeak on a Ubuntu system

Jerome Peace

I am old to squeak but new to unix systems.

I have been able to install etoys successfully from the squeakland web site. And I have been able to download and unpack zip files for etoys-dev and squeak 3.10.2 from archives. The files are in a personal home directory.

I am ignorant in how to tell my Ubuntu 8.04 system how to connect an image file with a squeak vm. (E.G. the vm that runs the installed etoys for example.)

What do I need to know?

Any wisdom, help or clues will be appreciated.

Yours in curiosity, --Jerome Peace


     
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Setting up a squeak on a Ubuntu system

K. K. Subramaniam
On Wednesday 25 Mar 2009 11:49:12 am Jerome Peace wrote:
> I am ignorant in how to tell my Ubuntu 8.04 system how to connect an image
> file with a squeak vm. (E.G. the vm that runs the installed etoys for
> example.)
Right click on the squeak image and select properties. You will get a
multi-sheet dialog where you can add squeak as the app for this type of file,
its icon etc.

Ubuntu desktop manager used mime specs and *.desktop files to associate
applications with filetypes. See sec 5.5. in
 http://library.gnome.org/admin/system-admin-guide/2.26/

HTH .. Subbu


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Setting up a squeak on a Ubuntu system

David Mitchell-10
I use the one-click distributions to have a Squeak (or Pharo) that I
can move from Ubuntu, Windows, and Mac.

It includes a Squeak.sh (or Pharo.sh) that is as follows:

#!/bin/sh
APP=`dirname $0`
EXE="$APP/Contents/Linux686"
RES="$APP/Contents/Resources"

exec "$EXE/squeak" -plugins "$EXE" \
        -encoding latin1 \
        -vm-display-X11 -swapbtn  \
        "$RES/pharo.image"

Google 'one click squeak' or 'one click pharo' for more info.

The term one-click image is a misnomer, since the one-click
distribution is all about arranging the VM and plug-ins in a directory
structure that allows the Unix, Windows, and Mac VMs to coexist and
point to the same image and changes file.

Of course, the image and changes file can be swapped with your own.
Either edit the files that point to them or rename them.

On Wed, Mar 25, 2009 at 4:49 AM, K. K. Subramaniam <[hidden email]> wrote:

> On Wednesday 25 Mar 2009 11:49:12 am Jerome Peace wrote:
>> I am ignorant in how to tell my Ubuntu 8.04 system how to connect an image
>> file with a squeak vm. (E.G. the vm that runs the installed etoys for
>> example.)
> Right click on the squeak image and select properties. You will get a
> multi-sheet dialog where you can add squeak as the app for this type of file,
> its icon etc.
>
> Ubuntu desktop manager used mime specs and *.desktop files to associate
> applications with filetypes. See sec 5.5. in
>  http://library.gnome.org/admin/system-admin-guide/2.26/
>
> HTH .. Subbu
>
>
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Setting up a squeak on a Ubuntu system

Michael van der Gulik-2
In reply to this post by Jerome Peace
On 3/25/09, Jerome Peace <[hidden email]> wrote:

>
> I am old to squeak but new to unix systems.
>
> I have been able to install etoys successfully from the squeakland web site.
> And I have been able to download and unpack zip files for etoys-dev and
> squeak 3.10.2 from archives. The files are in a personal home directory.
>
> I am ignorant in how to tell my Ubuntu 8.04 system how to connect an image
> file with a squeak vm. (E.G. the vm that runs the installed etoys for
> example.)
>
> What do I need to know?

Well, I always use the command line because I find the UI cumbersome,
but there's a learning curve there. I also usually use a simple window
manager such as IceWM rather than the whole Gnome environment because
all I ever do is check email and run Squeak.

Usually the "shell" used is called "bash", which makes a good Googlable term.

Install and run xterm or rxvt using the package manager (because the
default gnome-terminal sucks). Type in:

$ cd (directory where your image is)
$ squeak someImageFile.image

Usually, the directory where the image is would be "~/squeak" where
"~" is your "home directory". If you saved the image on your desktop,
then it would be in "~/Desktop/folderName".

Oh, to install Squeak, I just usually manually chuck the executable,
plugins, image and sources in the same folder. This is because I often
have multiple versions of the Squeak VM around.

If the squeak executable is in your "current" directory, you need to use:

$ ./squeak someImageFile.image

because otherwise "bash" won't look at the current directory for
executables (a security feature).

For fancy stuff you can do with Squeak, type:

$ squeak --help

which gives you VM options.

Welcome to Linux, land of poverty-stricken programmers and crazy socialists ;-).

Gulik.

--
http://gulik.pbwiki.com/
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Setting up a squeak on a Ubuntu system

Jerome Peace
In reply to this post by K. K. Subramaniam

Ah a clue.

Thanks. I've started looking. Ran into information overload and linux techno Greek (geek?). Too much for my mac coddled mind to take in a first go. Will try some more later.

Ah, on my old mac I never had to do more than guess which application file I needed to drop my image file on. Sigh.

Tanstaafl, or translated you can get free software, but there's a price.

Thanks for your help.

Yours in curiosity and puzzlement, --Jerome Peace


--- On Wed, 3/25/09, K. K. Subramaniam <[hidden email]> wrote:

> From: K. K. Subramaniam <[hidden email]>
> Subject: Re: [Newbies] Setting up a squeak on a Ubuntu system
> To: [hidden email], "A friendly place to get answers to even the most basic questions about Squeak." <[hidden email]>
> Date: Wednesday, March 25, 2009, 5:49 AM
> On Wednesday 25 Mar 2009 11:49:12 am Jerome Peace wrote:
> > I am ignorant in how to tell my Ubuntu 8.04 system how
> to connect an image
> > file with a squeak vm. (E.G. the vm that runs the
> installed etoys for
> > example.)
> Right click on the squeak image and select properties. You
> will get a
> multi-sheet dialog where you can add squeak as the app for
> this type of file,
> its icon etc.
>
> Ubuntu desktop manager used mime specs and *.desktop files
> to associate
> applications with filetypes. See sec 5.5. in
>  http://library.gnome.org/admin/system-admin-guide/2.26/
>
> HTH .. Subbu
>
>
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners


     
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Setting up a squeak on a Ubuntu system

Bert Freudenberg
On 25.03.2009, at 22:12, Jerome Peace wrote:

> Tanstaafl, or translated you can get free software, but there's a  
> price.


Well, the Etoys install should have created a menu entry so you just  
click that and it should work.

One could set up Squeak similarly, and I believe some Linux packagers  
actually do so. The "free software" does not necessarily have to be  
unusable - although there needs to be someone caring about it.

- Bert -


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Setting up a squeak on a Ubuntu system

Jerome Peace

Hi Bert,

I had no problems with the basic etoy installation. It worked as you said. With your hint as to how to get to the world menu I can do basic stuff in it.

I am trying to install the etoys-dev stuff somewhere. And reached the block caused by my ignorance and the learning threshold for doing things on ubuntu.

So thanks to you and Mike, Dave, and Subbu for the clues. I have usually found that ignorance is best removed gently. So I am pushing but giving things time to sink in.

Thanks for the help.

Yours in curiosity, -Jer



--- On Wed, 3/25/09, Bert Freudenberg <[hidden email]> wrote:

> From: Bert Freudenberg <[hidden email]>
> Subject: Re: [Newbies] Setting up a squeak on a Ubuntu system
> To: "A friendly place to get answers to even the most basic questions about Squeak." <[hidden email]>
> Date: Wednesday, March 25, 2009, 5:44 PM
> On 25.03.2009, at 22:12, Jerome Peace wrote:
>
> > Tanstaafl, or translated you can get free software,
> but there's a price.
>
>
> Well, the Etoys install should have created a menu entry so
> you just click that and it should work.
>
> One could set up Squeak similarly, and I believe some Linux
> packagers actually do so. The "free software" does
> not necessarily have to be unusable - although there needs
> to be someone caring about it.
>
> - Bert -
>
>
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners


     
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Setting up a squeak on a Ubuntu system

Markus Schlager-2
Hi Jerome,

attached is what I use on ubuntu - startsqueak was included in older
versions of the squeak deb-package.

Markus
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

startsqueak (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Setting up a squeak on a Ubuntu system

K. K. Subramaniam
In reply to this post by Bert Freudenberg
On Thursday 26 Mar 2009 3:14:20 am Bert Freudenberg wrote:
> Well, the Etoys install should have created a menu entry so you just  
> click that and it should work.
This only launches Squeak. Mac users are used to opening *.image files by
drag-n-drop on the Squeak app. If there are only a few images, the following
steps will create a desktop button to launch an image directly:

1. Right click on Desktop, click on "Create Launcher..."
2. Enter Name: "My Development Image"
            Command: "squeak path-to-my.image"
3. Click on Icon and pick a good graphic for your desktop button.
4. Click OK.

A button will now appear on your desktop. Clicking it will open the image in
squeak directly.

HTH .. Subbu


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Setting up a squeak on a Ubuntu system

Jerome Peace
In reply to this post by Markus Schlager-2

Thanks Markus,

This looks adaptable into something useful.
Let you know once I grok bash.

Yours in curiosity, --Jerome Peace


--- On Wed, 3/25/09, Markus Schlager <[hidden email]> wrote:

> From: Markus Schlager <[hidden email]>
> Subject: Re: [Newbies] Setting up a squeak on a Ubuntu system
> To: [hidden email], "A friendly place to get answers to even the most basic questions about Squeak." <[hidden email]>
> Date: Wednesday, March 25, 2009, 6:13 PM
> Hi Jerome,
>
> attached is what I use on ubuntu - startsqueak was included
> in older versions of the squeak deb-package.
>
> Markus_______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners


     
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners