atom feed36 messages in at.iem.pd-listRe: [PD] default Save As location (wa...
FromSent OnAttachments
Rich EMay 28, 2008 7:09 pm 
zmoe...@iem.atMay 28, 2008 11:45 pm 
Steffen JuulMay 28, 2008 11:48 pm 
Rich EMay 28, 2008 11:56 pm 
Roman HaefeliMay 29, 2008 1:03 am 
hard offMay 29, 2008 1:49 am 
Hans-Christoph SteinerMay 29, 2008 4:29 am 
IOhannes m zmoelnigMay 29, 2008 4:38 am 
hard offMay 29, 2008 4:39 am 
Roman HaefeliMay 29, 2008 4:42 am 
Vincent RiouxMay 29, 2008 4:45 am 
Hans-Christoph SteinerMay 29, 2008 7:15 am 
Martin PeachMay 29, 2008 7:48 am 
Hans-Christoph SteinerMay 29, 2008 9:05 am 
Martin PeachMay 29, 2008 9:30 am 
Damian StewartMay 29, 2008 9:59 am 
Frank BarknechtMay 29, 2008 10:28 am 
Martin PeachMay 29, 2008 11:02 am 
Martin PeachMay 29, 2008 11:14 am 
Hans-Christoph SteinerMay 29, 2008 12:42 pm 
Frank BarknechtMay 29, 2008 2:25 pm 
Frank BarknechtMay 29, 2008 2:31 pm 
Rich EMay 29, 2008 6:57 pm 
marius schebellaMay 29, 2008 9:21 pm 
IOhannes m zmölnigMay 29, 2008 11:38 pm 
Hans-Christoph SteinerMay 30, 2008 2:51 am 
Hans-Christoph SteinerMay 30, 2008 6:08 am 
Hans-Christoph SteinerMay 30, 2008 6:12 am 
Damian StewartMay 30, 2008 6:17 am 
Hans-Christoph SteinerMay 30, 2008 6:23 am 
Martin PeachMay 30, 2008 10:18 am 
Hans-Christoph SteinerMay 30, 2008 3:06 pm 
Vincent RiouxJun 10, 2008 10:02 am 
Hans-Christoph SteinerJun 22, 2008 9:41 am 
Vincent RiouxJun 24, 2008 7:51 am 
Hans-Christoph SteinerJun 24, 2008 9:16 am 
Subject:Re: [PD] default Save As location (was: [openpanel]/[savepanel]directory, [cd])
From:Hans-Christoph Steiner (ha@eds.org)
Date:May 30, 2008 6:12:10 am
List:at.iem.pd-list

In the most recent versions of Pd-extended, you can use "~" on all platforms for any path (I think, report a bug if not). "~hans", "~username", etc. doesn't work tho.

On Windows, you can use envvars like %UserProfile%, so like [symbol % UserProfile%/Desktop(. I would be nice to have this on UNIX platforms, but I haven't found a function to do the conversion, like Windows has.

.hc

On May 30, 2008, at 3:58 AM, Rich E wrote:

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 <fb@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

There is no way to peace, peace is the way. -A.J. Muste