Setting up squeak on Ubuntu

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

Setting up squeak on Ubuntu

Jerome Peace

I finally found the first things that worked.



Installing Squeak on Ubuntu

>From the Ubuntu menu (top leftmost icon)
Select the last item: Add/Remove

The application window opens:
select
Show: all available applications.

In the search box type: squeak

You get one option from www.squeak.org.
(It rates two stars. We have not made a big dent in the outer world. Sigh.)

Check the box next to it.

Press the apply changes button at the bottom left.

Give permission to install squeak despite its copyright restrictions

Give your administrative password when asked.

It downloads five packages
One to deal with binformat
The other four are the vm (today I got 3.9.3 and a 3.9 sources and change and image files based on sq 7067).

Under the application menu>education I now have two choices
one for etoys which I installed before and the other
for squeak.
I also have one choice in the application menu>programming.
If I click gently on the educational menu (as opposed to dragging thru the menu to the submenu) the sub menu stays up.

Then I can go and right (or middle?) click on the squeak item and be offered a launcher on the desktop.

I can get properties for the launcher.
Select the launcher tab,
then modify the selection.
Which I do by giving it a file name relative to my home folder.

Actually I give it the filename of a link in my home folder which points to the right image. Later I can change which image I mean by changing the link. As long as a link is named what the launcher expects I don't have to change the launcher.

To clear the desktop I just moved the launcher into a different folder.
The squeak shell script explains the options and such so I found and studied that.

=====

Thats about it.
By some clever manipulation of the launchers I can sub the images I want for the standard image.

I still have most of my ignorance intact. Though I expect to be losing it bit by bit to the school of hard knocks.

Its not obvious where things will be stored when saved. So far text from saved workspaces turn up as files in the directories of the original image not the links.

It seems to me when squeak saves something it should at least report back what it saved where.

Thank everybody for their clues. I haven't used all of them yet but the time will come.

Yours in curiosity and service, --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 squeak on Ubuntu

K. K. Subramaniam
On Thursday 09 April 2009 8:39:42 am Jerome Peace wrote:
> Its not obvious where things will be stored when saved. So far text from
> saved workspaces turn up as files in the directories of the original image
> not the links.
Unix Squeak saves files in $SQUEAK_USERDIR. It defaults to the folder "My
Squeak/" (ugh!) in the image folder.

In the launcher change the command to:
  SQUEAK_USERDIR=/save/files/here squeak /path/to/image

> It seems to me when squeak saves something it should at least report back
> what it saved where.
You can get this path in Squeak using "FileDirectory default".

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 squeak on Ubuntu

Bert Freudenberg

On 09.04.2009, at 06:40, K. K. Subramaniam wrote:

> On Thursday 09 April 2009 8:39:42 am Jerome Peace wrote:
>> Its not obvious where things will be stored when saved. So far text  
>> from
>> saved workspaces turn up as files in the directories of the  
>> original image
>> not the links.
> Unix Squeak saves files in $SQUEAK_USERDIR.

Only Etoys does that. It's the only image that has the  
startInUntrustedDirectory preference set, AFAIK. All other images  
default to the image directory.

> It defaults to the folder "My Squeak/" (ugh!) in the image folder.

"My Squeak" used to be the directory name for etoys projects. Nobody  
bothered to change the default yet, because it is not used anyway  
(etoys is always launched by a script).

- Bert -


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

Confirmation when saving, from Setting up squeak on Ubuntu thread

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




--- On Thu, 4/9/09, K. K. Subramaniam <[hidden email]> wrote:

> From: K. K. Subramaniam <[hidden email]>
> Subject: Re: [Newbies] Setting up squeak on Ubuntu
> To: [hidden email]
> Date: Thursday, April 9, 2009, 12:40 AM
> On Thursday 09 April 2009 8:39:42 am Jerome Peace wrote:
> > Its not obvious where things will be stored when
> saved. So far text from
> > saved workspaces turn up as files in the directories
> of the original image
> > not the links.
> Unix Squeak saves files in $SQUEAK_USERDIR. It defaults to
> the folder "My
> Squeak/" (ugh!) in the image folder.
>
> In the launcher change the command to:
>   SQUEAK_USERDIR=/save/files/here squeak /path/to/image
>
> > It seems to me when squeak saves something it should
> at least report back
> > what it saved where.
> You can get this path in Squeak using "FileDirectory
> default".

Thanks that's useful to know.

That is not the same thing as what I was asking for. When squeak saves a file, the user deserves to have at minimum the name the file was saved under including tacked on version numbers and prefixes. And the name of the directory it is saved in. An unambiguous name.

Given enough knowledge I can go after squeak to get this info. But that is not the point. Squeak is silent about these things when it saves stuff. So if I have asked it to make a mistake I will never know until its much much later. Not really acceptable. It should just tell me by way of confirmation. Then if I goofed, I have a chance to correct it before too much follow on mischief.

The most often encountered slip is to save a change set or a project in a new directory or a directory from which all other change sets of the same name have been removed. You get a Changeset.1.cs which you probably already have somewhere. This is not what you want but how do you know that's what you got?

This is a desired user story. I would like to see squeak work that way. I believe its worth working for.

Yours in curiosity and service, --Jerome Peace



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

Re: Confirmation when saving, from Setting up squeak on Ubuntu thread

K. K. Subramaniam
On Friday 10 April 2009 7:27:06 am Jerome Peace wrote:
> The most often encountered slip is to save a change set or a project in a
> new directory or a directory from which all other change sets of the same
> name have been removed. You get a Changeset.1.cs which you probably already
> have somewhere. This is not what you want but how do you know that's what
> you got?
It is, indeed, confusing for people who switch between Squeak and the
underlying hosts to stumble on such 'impedance mismatch'. The File I/O
subsystem is not one of Squeak's best parts. It has very set ideas about file
paths :-(.

Squeak was conceived to be an environment in itself and not an application. So
saving and loading is like exporting and importing objects to/from a remote
file store. Object names will get mangled when saved on host file volumes. If
you switch directories between invocations, Squeak will not recover
gracefully.

Apologies for misunderstanding your original post,
Subbu
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Confirmation when saving, from Setting up squeak on Ubuntu thread

Jerome Peace




--- On Thu, 4/9/09, K. K. Subramaniam <[hidden email]> wrote:

> From: K. K. Subramaniam <[hidden email]>
> Subject: Re: [Newbies] Confirmation when saving, from Setting up squeak on Ubuntu thread
> To: [hidden email]
> Date: Thursday, April 9, 2009, 11:46 PM
> On Friday 10 April 2009 7:27:06 am Jerome Peace wrote:
> > The most often encountered slip is to save a change
> set or a project in a
> > new directory or a directory from which all other
> change sets of the same
> > name have been removed. You get a Changeset.1.cs which
> you probably already
> > have somewhere. This is not what you want but how do
> you know that's what
> > you got?
> It is, indeed, confusing for people who switch between
> Squeak and the
> underlying hosts to stumble on such 'impedance
> mismatch'. The File I/O
> subsystem is not one of Squeak's best parts. It has
> very set ideas about file
> paths :-(.
>
> Squeak was conceived to be an environment in itself and not
> an application. So
> saving and loading is like exporting and importing objects
> to/from a remote
> file store. Object names will get mangled when saved on
> host file volumes. If
> you switch directories between invocations, Squeak will not
> recover
> gracefully.
>
Yes, and every user learns this eventually. I don't know how to make squeak graceful. I do expect it will help to make the user aware when it is not. (Or even when it is. Its would allow for restful sleep :)

 
> Apologies for misunderstanding your original post,

No problem. Thanks for a opportunity to explain further. --Jer


> 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