[PD] default Save As location (was: [openpanel]/[savepanel]directory, [cd])

Rich E reakinator at gmail.com
Fri May 30 03:58:06 CEST 2008


When I first posted about this, it was about the recently new ability to do
this:

[symbol somedir(
|
[openpanel]

But this only works if "somedir" is at "$HOME/somedir" on linux and
"/usr/blahblah/pdir/somedir" on mac.  So if my directly layout is something
like "~/patches/somedir", I have to explicitly write in the message to
[openpanel] "/home/myname/patches/somedir".  This will only work on my
directly layout, so if it is a patch I'm going to share, I cannot use this
new feature (might I add I really like the feature).

I was only suggesting that [openpanel]/[savepanel]'s symbol argument has the
patch's current directory appended to it, unless the "~" sign is used for
home, or a full path is given.  I think, as Martin suggested, this is all
handled internally with canvas_getdir() and open_via_path().

Regarding the normal operation of [openpanel]/[savepanel], i.e. sending it a
bang, I think it would be nice if the last directory navigated to is
remembered, else the $HOME.

-rich

On Thu, May 29, 2008 at 2:26 PM, Frank Barknecht <fbar at footils.org> wrote:

> Hallo,
> Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
>
> > The problem here is that most people do not start Pd from the command
> > line.  With Pd-extended, it is now included in the standard free
> > desktop menus (only tested on GNOME, should work on KDE), so I'll bet
> > most people use that rather than the command line (I do on Ubuntu).
>
> The HOME directory already is the default directory on Linux with
> Gnome/KDE/Blackbox or whatever, as it's the working directory when
> starting Pd from the manager. No need for any changes AFAIK.
>
> I'm the wrong person to comment on MS-Windows or Mac, as I don't use
> these and don't care even the teeny-tiniest bit about what happens to
> Pd on these systems, but please leave it on Linux as it is the
> standard here. All other apps like Vim, Emacs, Gimp, Firefox use the
> `pwd` as default and I can't see why Pd should behave differently.
>
> If you want to confirm this yourself, try the following with the gimp:
>
> $ cd /tmp
> $ gimp &
>
> Then make a new file, select "Save" and it will give you "/tmp" as
> first directory choice.
>
> Ciao
> --
>  Frank Barknecht                                     _ ______footils.org__
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20080529/53dd41bd/attachment.htm>


More information about the Pd-list mailing list