"internet connection tester script"

Jim mickeyboa at sbcglobal.net
Mon Mar 29 17:35:17 UTC 2010


On 03/29/2010 01:22 PM, Paolo Galtieri wrote:
> On 03/29/2010 10:12 AM, Chris Tyler wrote:
>    
>> On Mon, 2010-03-29 at 12:58 -0400, Jim wrote:
>>
>>      
>>> On 03/29/2010 04:17 AM, Hakan Koseoglu wrote:
>>>
>>>        
>>>> On Mon, Mar 29, 2010 at 7:16 AM, Hiisi<very-cool at rambler.ru>    wrote:
>>>>
>>>>
>>>>          
>>>>> OK, I see. You was trying to advertise your nice working script to
>>>>> list members. That was your crafty plan, wasn't it? ;- )
>>>>> Where should one propose it for inclusion in F13? ;- )
>>>>>
>>>>>
>>>>>            
>>>> Interesting, when I saw his mail to the CentOS list, I tried it and it
>>>> didn't work so I sent him a couple of suggestions that made it work
>>>> for me. I don't have a Fedora 12 around to see if the default shell
>>>> behaviour is different but with the Ubuntu's Bash it didn't work and
>>>> required adding ` around the ping&    grep  statements to allow them to
>>>> be evaluated.
>>>>
>>>>
>>>>          
>>> FC12-X86-64
>>>
>>> I put the script in a text file and Properties says it a "shell script"
>>> and it has read, execute
>>> priviledges but if I left click on it, It won't execute,
>>>
>>> But if I open a Terminal window and do ~/internet-script or bash
>>> internet-script it will execute.
>>>
>>> If I do a right click and "open with" a terminal, only the terminal
>>> window opens but internet-script won't execute.
>>>
>>> How do I get this Internet-script to execute by left clicking, or even
>>> double clicking ?
>>>
>>>        
>> What's the full permission mode and desktop environment?
>>
>> With mode 764 here, double-clicking brings up a display/run dialog on
>> Gnome under F12.
>>
>> -Chris
>>
>>
>>      
> If you are running Gnome you will need to go into the file browser
> preferences under Behavior and set the "Run executable text files when
> they are opened" option.  By default the Gnome file browser will ask
> what to do.
>
> Paolo
>    
I'm using KDE-4 and if I tell it to "open with" Konsole , konsole will 
open but won't execute internet-script .

If I "open with" xterm it will open and execute file but, xterm shuts 
down to fast, and I can not see finale results.

Left clicking on icon produces no results.


More information about the users mailing list