[squeak-dev] Note: Squeak 4.1 Unix - preset preferences for right mouse button

Bert Freudenberg bert at freudenbergs.de
Fri Apr 16 22:12:57 UTC 2010


On 16.04.2010, at 23:50, Hannes Hirzel wrote:
> 
> Here is the link describing MSWindows ini files:
> http://www.squeakvm.org/win32/settings.html
> 
> Nothing found about switching the mouse buttons though.

3ButtonMouse is there. Toggles between 1-2-3 (traditional) and 1-3-2 (what you want) mouse button mapping.

> And as I change the last line of
>    squeak.sh
> 
>    exec "${vm}"  "`basename ${image}`"
> 
> to
> 
>    exec "${vm}" -swapbtn "`basename ${image}`"
> 
> it tell me
>    unknown option: -swapbtn

It's an X11-specific option. You have to precede it with "-vm display=X11". Alternatively, set the SQUEAK_SWAPBTN environment variable:
http://www.squeakvm.org/unix/doc/squeak.html

- Bert -



> HH
> 
> On 4/16/10, Hannes Hirzel <hannes.hirzel at gmail.com> wrote:
>> Thank you.
>> As I rethink about this I would say it is a bug.
>> 
>> I install the Windows version and the Linux version of a platform
>> independent system. As I move with my data file (the image) from
>> Windows to Linux the behaviour of the right mouse button changes. I
>> learn from Chris that it has been like this for years. I had not
>> realised this as I had been been using mainly MSWindows in the past.
>> 
>> What can be done about it?
>> 
>> One thing could be to do as well a one-click image for Squeak 4.1
>> where the preferences are pre-set correctly.
>> 
>> Hannes
>> 
>> P.S. I do not see a category for the VM on mantis
>> http://bugs.squeak.org/main_page.php
>> And http://www.squeakvm.org/index.html has no bug reporting facility.
>> 
>> On 4/16/10, Bert Freudenberg <bert at freudenbergs.de> wrote:
>>> On 16.04.2010, at 22:18, Hannes Hirzel wrote:
>>>> 
>>>> How is it done? With a flag on the command line?
>>>> 
>>>> HH
>>> 
>>> In Windows it's an ini option.
>>> In Linux, a command line option.
>>> 
>>> - Bert -
>>> 
>>>> 
>>>> On 4/16/10, Bert Freudenberg <bert at freudenbergs.de> wrote:
>>>>> You can configure both Windows and Linux VMs to both behaviors. No need
>>>>> to
>>>>> change the image.
>>>>> 
>>>>> - Bert -
>>>>> 
>>>>> On 16.04.2010, at 22:04, Chris Muller wrote:
>>>>>> 
>>>>>> Yes, Linux has been opposite the Windows VM for years; very annoying.
>>>>>> Back when I was doing a lot of switching back and forth between
>>>>>> Windows and Linux, I actually kept the "toggleMouseButtons" preference
>>>>>> directly on the desktop in my images..
>>>>>> 
>>>>>> On Fri, Apr 16, 2010 at 1:25 AM, Hannes Hirzel
>>>>>> <hannes.hirzel at gmail.com>
>>>>>> wrote:
>>>>>>> Hello
>>>>>>> 
>>>>>>> I downloaded Squeak for Unix (in my case Ubuntu 9.10) from
>>>>>>> http://ftp.squeak.org/4.1/unix-linux/
>>>>>>> 
>>>>>>> Right out of the box the right mouse button brings up the halo.
>>>>>>> 
>>>>>>> You need to go to the menu 'Tools' / 'Preferences', then search for
>>>>>>> 'mouse'.
>>>>>>> 
>>>>>>> Then check 'swapMouseButtons'  as 'enabled'.
>>>>>>> 
>>>>>>> Otherwise the UI experience is  fine.
>>>>>>> 
>>>>>>> Hannes
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
> 





More information about the Squeak-dev mailing list