[Lcdproc] lcdproc client titles
Eric Pooch
epooch@cox.net
Sun Mar 4 18:18:02 2007
I figured that if you wanted the see the hostname on a local machine,
you could just use the actual hostname or IP address to connect to
the Server, rather than the local loopback. I suppose this isn't
very intuitive, so I will try to do something with DisplayName.
Thanks
-eric
On Mar 4, 2007, at 8:50 AM, Peter Marschall wrote:
>
>> I have started working on some changes to the titles on the lcdproc
>> client screens to make them more consistent and improve the
>> appearance.
>> Having the host name in all the titles doesn't look very good and can
>> take a lot of time to scroll leaving the title not visible for a
>> while. It is also very distracting when other things are moving on
>> the screen. I don't think the host name is needed on the titles,
>> unless you are connecting to a remote host. To deal with this, I
>> wrote up some code to check if the server is localhost or 127.0.0.1,
>> and then set up a "title extension" variable that is empty if we are
>> connecting locally, and looks like ": hostname" if we are connecting
>> to a remote server. Then each screen would just include this
>> variable in the title. It would automatically show what is needed
>> depending on the connection.
>>
>> Anyway, I wanted some suggestions on whether this is a good idea or
>> not, and if it should be automatic, a part of the config file with
>> its own setting, or somehow connected with the DisplayName setting.
>
> I like the "no scrolling" idea.
> But I m not sure if the automatic solution you propose is fully
> sufficient.
>
> Consider the example to have remote and local clients running in
> the server.
> In this case it may be desirable for some people (it definitely IS
> for me)
> to have the hostnames of all client machines showing up in the
> screens and
> not just the hostnames of remote machines.
>
> So it should be possible to override the automatic behaviour somehow.
> Maybe even using a DisplayName local to each screen.
>
> Regards
> Peter
>
> --
> Peter Marschall
> peter@adpm.de
> _______________________________________________
> LCDproc mailing list
> LCDproc@lists.omnipotent.net
> http://lists.omnipotent.net/mailman/listinfo/lcdproc