Page 12 of 59 FirstFirst ... 2101112131422 ... LastLast
Results 111 to 120 of 587

Thread: Desktop Info App With Html Support (gtk-desktop-info)

  1. #111
    Join Date
    Apr 2006
    Location
    belgium
    Beans
    131
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Desktop Info App With Html Support (gtk-desktop-info)

    Quote Originally Posted by Bruce M. View Post
    Yea, but each has only two colours in them, I want 3 or 4, or mauby more, colours in my display, not just two.

    CHIMO!
    Bruce
    Bruce we are alike we are both colourfull men waiting patiently to the final version of bruce.


    BRUCE BRUCE is it finished yet hahahahahahahahaha

  2. #112
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Desktop Info App With Html Support (gtk-desktop-info)

    Quote Originally Posted by paulus4605 View Post
    BRUCE BRUCE is it finished yet hahahahahahahahaha
    No no no, not yet... {tap tap tapping of keyboard}

    {mumbling to self} close though close, oh so close ...

    {tap tap tapping of keyboard} yes, yes, I' know I've been saying that for years ....

    {tap tap tapping of keyboard} but this time I mean it! 1, 2 days at the most , well maybe a week!

    Seriously: finished? - my conky still isn't "finished", I doubt this app will be any different. My first question was asking if something was conky - it was a desklet, that's how much I knew.

    Have a nice day.
    Bruce

  3. #113
    Join Date
    Apr 2006
    Location
    belgium
    Beans
    131
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Desktop Info App With Html Support (gtk-desktop-info)

    Quote Originally Posted by Bruce M. View Post
    No no no, not yet... {tap tap tapping of keyboard}

    {mumbling to self} close though close, oh so close ...

    {tap tap tapping of keyboard} yes, yes, I' know I've been saying that for years ....

    {tap tap tapping of keyboard} but this time I mean it! 1, 2 days at the most , well maybe a week!
    .
    Bruce
    Bruce STOP!!! I see smoke signals coming out of your keyboard with the words don't hit me so hard I get headaches from all these tapping fingers

    kaivalagi: did you see the remark about the conditional formatting?


    Paul

  4. #114
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Desktop Info App With Html Support (gtk-desktop-info)

    Quote Originally Posted by paulus4605 View Post
    kaivalagi: did you see the remark about the conditional formatting?
    I've not been keeping track of all the posts...can you explain?

  5. #115
    Join Date
    Apr 2006
    Location
    belgium
    Beans
    131
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Desktop Info App With Html Support (gtk-desktop-info)

    no problem
    is it possible to get a conditional formatting on the temperature

    for instance if the temperature is between 0 and 10 degrees the colour is blue between 10 and 20 green between 20 and 30 orange and higher then 30 red

    or is this not possible

  6. #116
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Desktop Info App With Html Support (gtk-desktop-info)

    Quote Originally Posted by paulus4605 View Post
    no problem
    is it possible to get a conditional formatting on the temperature

    for instance if the temperature is between 0 and 10 degrees the colour is blue between 10 and 20 green between 20 and 30 orange and higher then 30 red

    or is this not possible
    Sure it's possible, not straight forward though

    How do I build into the script something that both supports the css stuff and also config entries detailing temp based colour settings

    maybe a javascript/css solution is what's needed, a special css class used with javascript to colourize temps...?

    need to ponder for a bit

  7. #117
    Join Date
    Jul 2006
    Location
    Netherlands
    Beans
    520

    Re: Desktop Info App With Html Support (gtk-desktop-info)

    Quote Originally Posted by kaivalagi View Post
    I've not been keeping track of all the posts...can you explain?
    Additional to the request for conditional formatting of temperatures by paulus4605.

    I am running gtk-desktop-info on Xubuntu Jaunty and although I have set the LOCALE to nl in the forecast config file the displayed language remains English (for a screenshot see post #102).
    Could this be caused by the fact I am running Jaunty?
    Last edited by useResa; February 16th, 2009 at 02:34 PM. Reason: Added link to previous post
    COMPROMISE: Let's agree to respect each other's views, no matter how wrong yours may be.

  8. #118
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Desktop Info App With Html Support (gtk-desktop-info)

    Quote Originally Posted by useResa View Post
    Additional to the request for conditional formatting of temperatures by paulus4605.

    I am running gtk-desktop-info on Xubuntu Jaunty and although I have set the LOCALE to nl in the forecast config file the displayed language remains English (for a screenshot see post #102).
    Could this be caused by the fact I am running Jaunty?
    You updated the config file located in ~/.config/gtk-desktop-info right?

    I can't see why Jaunty would cause any issues...

    edit: can you run the script from a terminal with trhe additional --verbose option? I will detail config file use etc...might be helpful to post the output e.g.

    Code:
    gtk-desktop-info --verbose --plugin=forecast
    will output a lot of details including:
    Code:
    2009-02-16 13:56:21,258 - gtk-desktop-info.plugin_forecast - INFO - Loading config settings from "/home/mark/.config/gtk-desktop-info/plugin_forecast.config"
    Last edited by kaivalagi; February 16th, 2009 at 02:57 PM.

  9. #119
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Desktop Info App With Html Support (gtk-desktop-info)

    Quote Originally Posted by kaivalagi View Post
    Sure it's possible, not straight forward though

    How do I build into the script something that both supports the css stuff and also config entries detailing temp based colour settings

    maybe a javascript/css solution is what's needed, a special css class used with javascript to colourize temps...?

    need to ponder for a bit
    Maybe something like Crinos512's script for conky could be modified (adapted to python) and the plugin_forecast.config could be modified to add a section, so people can pick their temps: (obviously needed for the differences between F° and C°)

    Code:
    COOL=16
    WARM=26
    Anything 16 and below is COOL-COLD (C°)
    Anything 17 to 25 is WARM
    26 and up HOT

    The script:
    Code:
    #!/bin/bash
    # colorize.sh
    # by: Crinos512
    
    COOL=65
    WARM=80
    
    if [[ $1 < $COOL ]]
       then echo "\${color7}"$1    # COOL
    elif [[ $1 > $WARM ]]
       then echo "\${color9}"$1    # HOT
    else echo "\${color8}"$1       # WARM
    fi
    
    exit 0
    Might be a start!

    I use it in conky for: CPU, GPU, CORE, MB & HD's (copied to different names)

    CHIMO!
    Bruce

  10. #120
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Desktop Info App With Html Support (gtk-desktop-info)

    Under Construction!


    And for that reason no template at this time. Sorry about that folks!


    useResa & Paul!

    Have a nice day!
    Bruce

Page 12 of 59 FirstFirst ... 2101112131422 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •