Re: OT: command-line launch firefox problem

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: PLUG-discuss
Date:  
To: Main PLUG discussion list
Subject: Re: OT: command-line launch firefox problem
Yes, you can edit.
Cutting and pasting is bulletproof though... :)
ET


writes:

> Thanks again ET.
>
> But I think you've made it more difficult
> than it needs to be with all the 'echo' stuff.
>
> Can't I just open the file in bin/ff
> write in the code that you suggested
> and set the permissions to rwx?
>
> Joe
>
> -----------
>> # WAIT!!!
>> # Minor correction, and you can just do it, you won't hurt anything.
>>
>> # Do:
>> # Cut'n paste the 4 lines below:
>>
>> mkdir -pv ~/bin/
>> echo "#! $(which bash)"|sed -e 's/ //g' > ~/bin/ff
>> echo 'nohup firefox "$@" >/dev/null 2>&1 &' >> ~/bin/ff
>> chmod 755 ~/bin/ff
>> . .bashrc
>> ff test.htm
>>
>> # Done...
>> # ET
>>
>> writes:
>>
>>> # Cut'n paste the 4 lines below:
>>>
>>> mkdir ~/bin/
>>> echo "#! $(which bash)"|sed -e 's/ //g' > ~/bin/ff
>>> echo 'nohup firefox >/dev/null 2>&1 &' >> ~/bin/ff
>>> chmod 755 ~/bin/ff
>>>
>>> #Then:
>>> . .bashrc
>>> ff
>>>
>>> # Enjoy... :)
>>> # ET
>>>
>>>
>>> writes:
>>>
>>>> ET wrote:
>>>>> You can't 'correct' problems, developers would have to do that.
>>>>> But you can hide them:
>>>>> firefox >/dev/null 2>&1 &
>>>>
>>>> Thanks ET ...
>>>>
>>>> So, I tried this:
>>>>
>>>> firefox test.htm >/dev/null 2>&1 &
>>>>
>>>> And that seemed to mask the problem,
>>>> although I still wonder if there might
>>>> be some way to further address the problem.
>>>>
>>>> Also, I wonder if there is a way to make
>>>> a script named 'ff' so I could just do:
>>>>
>>>> ff test.htm
>>>>
>>>> to get that same /dev/null result?
>>>>
>>>> Joe
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list -
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list -
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>> ---------------------------------------------------
>> PLUG-discuss mailing list -
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss