Command line stuff from Kmenu
news at pointerstop.ca
Sat Jan 26 19:35:46 GMT 2008
Michael Leone wrote:
> On 1/26/08, Derek Broughton <news at pointerstop.ca> wrote:
>> Knapp wrote:
>> > On Jan 26, 2008 11:09 AM, Dotan Cohen <dotancohen at gmail.com> wrote:
>> >> Put the command in ~/bin/arbitraryName and chmod it +x (be sure that
>> >> ~/bin is in your path). Then make a link to it in Kmenu.
>> > I tried that and still no go. I don't have a bin dir in home. Did you
>> > mean the normal one?
>> No. What's wrong with _creating_ one? iirc, the default bash setup for
>> users adds ~/bin to your path _if_ you have one.
> I don't think the OP knows that. *I* didn't know that, until you mentioned
I expect he didn't - but it seemed to me that "put it in ~/bin and be sure
~/bin is in your path" at least strongly implies "create and put ~/bin in
the path yourself, if necessary". Coming back and saying "but it's not
there" strongly implies you're not ready to be doing this sort of thing.
Since it's a weekend, and I'm so much less stressed than during the week, I
didn't just come out and say that :-)
Now, I don't actually _know_ that it's in the default configuration. It's
in my ~/.bash_profile, but it's possible that I did that myself (or at
least uncommented something that was _commented_ in the original):
$ grep "/bin" ~/.bash_profile
if [ -d ~/bin ] ; then
[UPDATE: it's also that way in /etc/skel/.profile, so it must be the
More information about the kubuntu-users