|
From: | Gerald L |
Subject: | Re: [Pan-users] Re: Pan not emailing me |
Date: | Wed, 04 Mar 2009 10:34:56 -0600 |
User-agent: | Mozilla-Thunderbird 2.0.0.19 (X11/20090103) |
Beartooth wrote:
I put this program in my bin directory in my home directory, i.e., /home/ david/bin. So in my pan preferences for the Mail Reader Custom Command, I just put: /home/david/bin/alpine_helper.pl That does the trick.I don't have any /home/btth/bin, nor even a /home/btth/.bin; do I just start with "mkdir bin"? Or does some wrinkle in Fedora mean I have to move it from /home/btth to some place like /usr/bin? Or do I just leave it where it is, without any bin directory? Or what? Where is Fedora's version of Pan going to look for it??
You can actually put it anywhere you want. It is just fairly common housekeeping practice to create a /home/username/bin directory as a place to put executable files that you create -- as opposed to executables that are installed by the system into /usr/bin, /usr/sbin, /bin, etc. ...
Some people simply place self-created executables into /usr/local/bin because that should already exist but it is world-readable so executables intended for a single user are more commonly put somewhere in that user's /home directory.
So, yes: mkdir /home/btth/bin mv /home/btth/alpine_helper.pl /home/btth/bin/You may also want to check your /home/btth/.bash_profile to be certain it includes a stanza like this somewhere (mine is at the bottom):
# set PATH so it includes user's private bin if it exists if [ -d ~/bin ] ; then PATH=~/bin:"${PATH}" fiThat will ensure you can use any executables you drop into your /home/btth/bin directory without having to type the full path.
Gerald
[Prev in Thread] | Current Thread | [Next in Thread] |