Re: Linux/Unix folder paths

2005-05-04 Thread Marielle Lange
Hi Sarah,

On where to install applications on macs... the usage is to provide a disk image
with the instruction to drag and drop the software in the /Applications folder,
but to leave the user free to drag and drop the software wherever they want
without it affecting performance in any way. You should be able to get the path
to your application using:

   put the long id of this stack into tPath

(at least that works for uncompiled stacks)

Best,
Marielle

>Where should an application be installed? And what if I want the
>application to be available to a particular user only e.g. on my Mac OS
>X system, I have /Applications for apps that everyone can use and
>/Users/sarah/Applications for apps that only I can use. The second is
>better if I need to write to the application folder as the user has
>write access to that folder even if not an admin user (at least I think
>that is correct).

TIA,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Linux/Unix folder paths

2005-05-04 Thread Jeanne A. E. DeVoto
At 9:15 AM +1000 5/5/05, Sarah Reichelt wrote:
Where so you store preferences? I see that the specialFolderPath() 
function is Windows & Mac only, so how would I know where to store 
preferences on a Linux system?
I'm no guru, but in general, one puts preference files in the user's 
home directory ("~"). Traditionally, configuration files ought to 
have names that start with a period, such as ".myapplicationrc".

Where should an application be installed? And what if I want the 
application to be available to a particular user only e.g. on my Mac 
OS X system, I have /Applications for apps that everyone can use and 
/Users/sarah/Applications for apps that only I can use. The second 
is better if I need to write to the application folder as the user 
has write access to that folder even if not an admin user (at least 
I think that is correct).
If there's a "bin" (for "binary") directory in the user's home 
directory, you can put it there. Otherwise I'd put it directly in the 
homedir, probably.
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Linux/Unix folder paths

2005-05-05 Thread Klaus Major
Hi Sarah,
Hello all you Linux/Unix gurus out there,
I was hoping someone would be able to tell me a few things about  
where such systems put various types of files.

Where so you store preferences? I see that the specialFolderPath()  
function is Windows & Mac only, so how would I know where to store  
preferences on a Linux system?

Where should an application be installed? And what if I want the  
application to be available to a particular user only e.g. on my  
Mac OS X system, I have /Applications for apps that everyone can  
use and /Users/sarah/Applications for apps that only I can use. The  
second is better if I need to write to the application folder as  
the user has write access to that folder even if not an admin user  
(at least I think that is correct).
you can use -> $HOME to get the current users home directory.
...
put $HOME & "/" into folder2store_the_prefs_and_other_things
...
Works on Unix, OS X (and on Linux probably, not tested).
If the user cannot write in his home directory, then it's no use  
anyway :-)

TIA,
Sarah
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Linux/Unix folder paths

2005-05-05 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
There is no real firm standard as far as storing prefs on a *NIX-type 
system; different programs make up their own, and there are special 
places for certain graphical environments such as GNUstep.

One simple way is to place a hidden file (start the name with a dot) in 
the user's home directory; use a hidden folder if you need multiple 
such files.

On May 4, 2005, at 7:15 PM, Sarah Reichelt wrote:
Hello all you Linux/Unix gurus out there,
I was hoping someone would be able to tell me a few things about where 
such systems put various types of files.

Where so you store preferences? I see that the specialFolderPath() 
function is Windows & Mac only, so how would I know where to store 
preferences on a Linux system?

Where should an application be installed? And what if I want the 
application to be available to a particular user only e.g. on my Mac 
OS X system, I have /Applications for apps that everyone can use and 
/Users/sarah/Applications for apps that only I can use. The second is 
better if I need to write to the application folder as the user has 
write access to that folder even if not an admin user (at least I 
think that is correct).

TIA,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCeml07aqtWrR9cZoRAif6AKCB6FffQRY2wb30n6szI4gdRuw5dACfQiSm
z1Lzx0EPRV7hl+qYyl+W6nk=
=A0U9
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Linux/Unix folder paths

2005-05-05 Thread Dave Rousseau
Please stop sending me this junk email I do not know how or when I got 
hooked up to it, but please stop NOW!!

- Original Message - 
From: "Frank D. Engel, Jr." <[EMAIL PROTECTED]>
To: "How to use Revolution" 
Sent: Thursday, May 05, 2005 12:44 PM
Subject: Re: Linux/Unix folder paths


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
There is no real firm standard as far as storing prefs on a *NIX-type 
system; different programs make up their own, and there are special places 
for certain graphical environments such as GNUstep.

One simple way is to place a hidden file (start the name with a dot) in 
the user's home directory; use a hidden folder if you need multiple such 
files.

On May 4, 2005, at 7:15 PM, Sarah Reichelt wrote:
Hello all you Linux/Unix gurus out there,
I was hoping someone would be able to tell me a few things about where 
such systems put various types of files.

Where so you store preferences? I see that the specialFolderPath() 
function is Windows & Mac only, so how would I know where to store 
preferences on a Linux system?

Where should an application be installed? And what if I want the 
application to be available to a particular user only e.g. on my Mac OS X 
system, I have /Applications for apps that everyone can use and 
/Users/sarah/Applications for apps that only I can use. The second is 
better if I need to write to the application folder as the user has write 
access to that folder even if not an admin user (at least I think that is 
correct).

TIA,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten Son, 
that whosoever believeth in him should not perish, but have everlasting 
life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCeml07aqtWrR9cZoRAif6AKCB6FffQRY2wb30n6szI4gdRuw5dACfQiSm
z1Lzx0EPRV7hl+qYyl+W6nk=
=A0U9
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution