[GRASS-user] tips on GRASS Mac users

On Jul 22, 2008, at 7:19 AM, <grass-user-request@lists.osgeo.org> <grass-user-request@lists.osgeo.org > wrote:

Date: Tue, 22 Jul 2008 09:18:48 -0500
From: William Kyngesburye <woklist@kyngchaos.com>
Subject: Re: [GRASS-user] tips on GRASS Mac users
To: maning sambale <emmanuel.sambale@gmail.com>
Cc: grass-user@lists.osgeo.org
Message-ID: <59D9BD06-FDDD-4209-B3B4-C45505AAF1EA@kyngchaos.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

On Jul 22, 2008, at 5:29 AM, maning sambale wrote:

By the end of this week we will have a new imac as a GIS workstation,
I am familiar with GRASS on linux and windows, but not on a mac. I
know GRASS and QGIS install OK on a mac, so that won't be a problem.
Any other advise/caveats/warning as we do the migrate? We will still
be using our linux machine for GRASS in parallel with mac,
specifically:

Overall, OSX is much like *nix, since it's unix-based.

1. all GRASS database files should be accessible on both machines, I'm
thinking of using the mac as the GRASS database repo (since it has a
larger Hdd capacity) and have linux read/write access

OSX should have Unix file sharing, but you may have to dig around to
configure and enable it. Easiest on the Mac side would be Appleshare
(AFP), and I think there is Linux client software for that. Or you
could use Windows file sharing on the Mac (it uses Samba), and it
would also be available to Windows machines.

Watch out for lots of network activity, though. You probably don't
want to write data over the network, lots of temp file usage in
GRASS. I'd say symlink common data mapsets to your linux
workstation's GRASS data dir, and only do active work directly on the
linux ws, then copy to the Mac when done.

mac mount
    grassdb
        location
linux grassdb
    readonly loc -> mac mount/grassdb/location
    working loc

2. Shell scripts are usable on both machines

FYI the default shell on OSX is bash. AND, sh IS bash. Other shells
are available if you prefer another.

3. Remotely access linux machine on the mac

No problems there. I use ssh all the time for shell access between
Macs. VNC would be nice for GUI access. OSX Leopard, which you will
get on a new Mac, includes a nice builtin VNC client, and there are
other free ones available.

To William's sage advice, I'd add....

1) If you are installing binaries from William Kyngesbury's site, don't forget to install the frameworks (i.e., dependencies) first.
2) Make sure that you have x11 installed if you are using the TclTk interface. I think it is finally installing by default with OS X 10.5, but it is an optional install on all other Mac OS X systems. You need to get it from your system disks.
3) If you want to try the new wxPython interface, it *should* work with the Python and wxPython that comes with OS X 10.5. For any earlier systems, you will need to install this yourself because the version of Python that came with prior systems is too old and did not include wxPython. You might want to get a new version of Python and wxPython anyway. But if you do a BIG CAVEAT!! Unless it's been fixed in recent weeks, do NOT get the current wxPython 2.8.8.0. The Mac binary installation does not include some files that are used in a startup version check (i.e., the *.py files; it only has the *.pyo binaries) and the GUI will not start.

Michael

Great! Thanks for the tips. Using the mac right now. This screen is huge
maning

On Tue, Jul 22, 2008 at 11:19 PM, Michael Barton <michael.barton@asu.edu> wrote:

On Jul 22, 2008, at 7:19 AM, <grass-user-request@lists.osgeo.org>
<grass-user-request@lists.osgeo.org> wrote:

Date: Tue, 22 Jul 2008 09:18:48 -0500
From: William Kyngesburye <woklist@kyngchaos.com>
Subject: Re: [GRASS-user] tips on GRASS Mac users
To: maning sambale <emmanuel.sambale@gmail.com>
Cc: grass-user@lists.osgeo.org
Message-ID: <59D9BD06-FDDD-4209-B3B4-C45505AAF1EA@kyngchaos.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

On Jul 22, 2008, at 5:29 AM, maning sambale wrote:

By the end of this week we will have a new imac as a GIS workstation,
I am familiar with GRASS on linux and windows, but not on a mac. I
know GRASS and QGIS install OK on a mac, so that won't be a problem.
Any other advise/caveats/warning as we do the migrate? We will still
be using our linux machine for GRASS in parallel with mac,
specifically:

Overall, OSX is much like *nix, since it's unix-based.

1. all GRASS database files should be accessible on both machines, I'm
thinking of using the mac as the GRASS database repo (since it has a
larger Hdd capacity) and have linux read/write access

OSX should have Unix file sharing, but you may have to dig around to
configure and enable it. Easiest on the Mac side would be Appleshare
(AFP), and I think there is Linux client software for that. Or you
could use Windows file sharing on the Mac (it uses Samba), and it
would also be available to Windows machines.

Watch out for lots of network activity, though. You probably don't
want to write data over the network, lots of temp file usage in
GRASS. I'd say symlink common data mapsets to your linux
workstation's GRASS data dir, and only do active work directly on the
linux ws, then copy to the Mac when done.

mac mount
   grassdb
       location
linux grassdb
   readonly loc -> mac mount/grassdb/location
   working loc

2. Shell scripts are usable on both machines

FYI the default shell on OSX is bash. AND, sh IS bash. Other shells
are available if you prefer another.

3. Remotely access linux machine on the mac

No problems there. I use ssh all the time for shell access between
Macs. VNC would be nice for GUI access. OSX Leopard, which you will
get on a new Mac, includes a nice builtin VNC client, and there are
other free ones available.

To William's sage advice, I'd add....

1) If you are installing binaries from William Kyngesbury's site, don't
forget to install the frameworks (i.e., dependencies) first.
2) Make sure that you have x11 installed if you are using the TclTk
interface. I think it is finally installing by default with OS X 10.5, but
it is an optional install on all other Mac OS X systems. You need to get it
from your system disks.
3) If you want to try the new wxPython interface, it *should* work with the
Python and wxPython that comes with OS X 10.5. For any earlier systems, you
will need to install this yourself because the version of Python that came
with prior systems is too old and did not include wxPython. You might want
to get a new version of Python and wxPython anyway. But if you do a BIG
CAVEAT!! Unless it's been fixed in recent weeks, do NOT get the current
wxPython 2.8.8.0. The Mac binary installation does not include some files
that are used in a startup version check (i.e., the *.py files; it only has
the *.pyo binaries) and the GUI will not start.

Michael
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
|---------|----------------------------------------------------------|
| __.-._ |"Ohhh. Great warrior. Wars not make one great." -Yoda |
| '-._"7' |"Freedom is still the most radical idea of all" -N.Branden|
| /'.-c |Linux registered user #402901, http://counter.li.org/ |
| | /T |http://esambale.wikispaces.com|
| _)_/LI
|---------|----------------------------------------------------------|

How to configure middle-click for the zooming function in GRASS with
imacs mighty mouse?

On Wed, Jul 23, 2008 at 2:03 PM, maning sambale
<emmanuel.sambale@gmail.com> wrote:

Great! Thanks for the tips. Using the mac right now. This screen is huge
maning

On Tue, Jul 22, 2008 at 11:19 PM, Michael Barton <michael.barton@asu.edu> wrote:

On Jul 22, 2008, at 7:19 AM, <grass-user-request@lists.osgeo.org>
<grass-user-request@lists.osgeo.org> wrote:

Date: Tue, 22 Jul 2008 09:18:48 -0500
From: William Kyngesburye <woklist@kyngchaos.com>
Subject: Re: [GRASS-user] tips on GRASS Mac users
To: maning sambale <emmanuel.sambale@gmail.com>
Cc: grass-user@lists.osgeo.org
Message-ID: <59D9BD06-FDDD-4209-B3B4-C45505AAF1EA@kyngchaos.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

On Jul 22, 2008, at 5:29 AM, maning sambale wrote:

By the end of this week we will have a new imac as a GIS workstation,
I am familiar with GRASS on linux and windows, but not on a mac. I
know GRASS and QGIS install OK on a mac, so that won't be a problem.
Any other advise/caveats/warning as we do the migrate? We will still
be using our linux machine for GRASS in parallel with mac,
specifically:

Overall, OSX is much like *nix, since it's unix-based.

1. all GRASS database files should be accessible on both machines, I'm
thinking of using the mac as the GRASS database repo (since it has a
larger Hdd capacity) and have linux read/write access

OSX should have Unix file sharing, but you may have to dig around to
configure and enable it. Easiest on the Mac side would be Appleshare
(AFP), and I think there is Linux client software for that. Or you
could use Windows file sharing on the Mac (it uses Samba), and it
would also be available to Windows machines.

Watch out for lots of network activity, though. You probably don't
want to write data over the network, lots of temp file usage in
GRASS. I'd say symlink common data mapsets to your linux
workstation's GRASS data dir, and only do active work directly on the
linux ws, then copy to the Mac when done.

mac mount
   grassdb
       location
linux grassdb
   readonly loc -> mac mount/grassdb/location
   working loc

2. Shell scripts are usable on both machines

FYI the default shell on OSX is bash. AND, sh IS bash. Other shells
are available if you prefer another.

3. Remotely access linux machine on the mac

No problems there. I use ssh all the time for shell access between
Macs. VNC would be nice for GUI access. OSX Leopard, which you will
get on a new Mac, includes a nice builtin VNC client, and there are
other free ones available.

To William's sage advice, I'd add....

1) If you are installing binaries from William Kyngesbury's site, don't
forget to install the frameworks (i.e., dependencies) first.
2) Make sure that you have x11 installed if you are using the TclTk
interface. I think it is finally installing by default with OS X 10.5, but
it is an optional install on all other Mac OS X systems. You need to get it
from your system disks.
3) If you want to try the new wxPython interface, it *should* work with the
Python and wxPython that comes with OS X 10.5. For any earlier systems, you
will need to install this yourself because the version of Python that came
with prior systems is too old and did not include wxPython. You might want
to get a new version of Python and wxPython anyway. But if you do a BIG
CAVEAT!! Unless it's been fixed in recent weeks, do NOT get the current
wxPython 2.8.8.0. The Mac binary installation does not include some files
that are used in a startup version check (i.e., the *.py files; it only has
the *.pyo binaries) and the GUI will not start.

Michael
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
|---------|----------------------------------------------------------|
| __.-._ |"Ohhh. Great warrior. Wars not make one great." -Yoda |
| '-._"7' |"Freedom is still the most radical idea of all" -N.Branden|
| /'.-c |Linux registered user #402901, http://counter.li.org/ |
| | /T |http://esambale.wikispaces.com|
| _)_/LI
|---------|----------------------------------------------------------|

--
|---------|----------------------------------------------------------|
| __.-._ |"Ohhh. Great warrior. Wars not make one great." -Yoda |
| '-._"7' |"Freedom is still the most radical idea of all" -N.Branden|
| /'.-c |Linux registered user #402901, http://counter.li.org/ |
| | /T |http://esambale.wikispaces.com|
| _)_/LI
|---------|----------------------------------------------------------|

On Jul 25, 2008, at 12:55 AM, maning sambale wrote:

How to configure middle-click for the zooming function in GRASS with
imacs mighty mouse?

GRASS (X11) takes mouse buttons as they are assigned in System Preferences->Keyboard & Mouse. ie, if you set your mouse right-handed, the left and right will be switched in GRASS also. I believe the middle button on the mighty mouse defaults to some OS feature (I don't have an iMac handy, but can check later), so you need to change it to a normal middle button.

I think there's also a key you can use in GRASS to emulate a middle-click but I can't find it in the docs.

Tip: disable the side squeeze buttons, I found that they are too sensitive (unless recent models have improved), and when lifting the mouse to recenter it on the mousepad it's easy to accidentally trigger Exposé.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

The equator is so long, it could encircle the earth completely once.

On Jul 25, 2008, at 9:34 AM, William Kyngesburye wrote:

On Jul 25, 2008, at 12:55 AM, maning sambale wrote:

How to configure middle-click for the zooming function in GRASS with
imacs mighty mouse?

GRASS (X11) takes mouse buttons as they are assigned in System Preferences->Keyboard & Mouse. ie, if you set your mouse right-handed, the left and right will be switched in GRASS also. I believe the middle button on the mighty mouse defaults to some OS feature (I don't have an iMac handy, but can check later), so you need to change it to a normal middle button.

I just checked. Here are how the "Mac" logical mouse buttons match "Unix" buttons (I don't know what button numbers they are):

Primary Button = left
Secondary Button = right
Button 3 = middle

So, it's the logical "Buttons" you have assigned in OSX that will match logical buttons in X11.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Theory of the Universe

There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable. There is another theory which states that this has already happened.

-Hitchhiker's Guide to the Galaxy 2nd season intro

  I usually disable scrolling on the middle button as if it is rolled slightly when pressed, grass responds in unpredictable ways.

dave

On Jul 25, 2008, at 4:16 PM, William Kyngesburye wrote:

On Jul 25, 2008, at 9:34 AM, William Kyngesburye wrote:

On Jul 25, 2008, at 12:55 AM, maning sambale wrote:

How to configure middle-click for the zooming function in GRASS with
imacs mighty mouse?

GRASS (X11) takes mouse buttons as they are assigned in System Preferences->Keyboard & Mouse. ie, if you set your mouse right-handed, the left and right will be switched in GRASS also. I believe the middle button on the mighty mouse defaults to some OS feature (I don't have an iMac handy, but can check later), so you need to change it to a normal middle button.

I just checked. Here are how the "Mac" logical mouse buttons match "Unix" buttons (I don't know what button numbers they are):

Primary Button = left
Secondary Button = right
Button 3 = middle

So, it's the logical "Buttons" you have assigned in OSX that will match logical buttons in X11.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Theory of the Universe

There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable. There is another theory which states that this has already happened.

-Hitchhiker's Guide to the Galaxy 2nd season intro

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user