Python Nautilus script

Diez B. Roggisch deets at nospam.web.de
Mon Sep 15 23:24:06 CEST 2008


Chris Rebert schrieb:
> On Mon, Sep 15, 2008 at 2:00 PM, Diez B. Roggisch <deets at nospam.web.de> wrote:
>>>>> It appears that's because HOSTNAME is not exported.
>>>>> But in the case of Nautilus script, how to workaround this issue?
>>> Alternatively, export the variable when you create it, in .bashrc or
>>> wherever it is getting created.  That's probably the Right Thing to
>>> Do(tm) in this case.
>>
>> Certainly not, as the OP uses a network monitoring software called Nautilus
>> - and that communicates state to subprocesses using environment variables.
>> Nothing to do with .bashrc.
> 
> Just to clarify, the OP is talking about Nautilus as in the GNOME file
> manager, not some network monitor.

Erm, yep - I confused that with Nagios. Please don't ask me why.

The point stands though - .bashrc has nothing to do with that.

Diez



More information about the Python-list mailing list