Find the answer to your Linux question:
Results 1 to 8 of 8
i have the following text in a file located in /home/anoopm101/.task [description:"this is the text" entry:"1306682734" status:"pending" uuid:"25c54e1b-824f-52bc-4933-dfe7cda34bc7"] i have to display on my desktop "this is the text" using ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2011
    Location
    Thrissur, Kerala, India
    Posts
    3

    to display a text from a file using conky


    i have the following text in a file located in /home/anoopm101/.task

    [description:"this is the text" entry:"1306682734" status:"pending" uuid:"25c54e1b-824f-52bc-4933-dfe7cda34bc7"]

    i have to display on my desktop "this is the text" using conky.

    please help me with the command to do it.

  2. #2
    Linux Newbie SunshineFolk's Avatar
    Join Date
    May 2011
    Location
    Kentucky or the South Pole with the Penguins
    Posts
    122
    Please explain a little better what you are trying to do. You can leave out the file and where its located as I can see it from the above post , But I'm just having a little trouble understanding exactly what you are trying to do.

    Heres what I'm getting from it.

    So you just want conky to ONLY display the text "this is the text" on your desktop?

  3. #3
    Just Joined!
    Join Date
    May 2011
    Location
    Thrissur, Kerala, India
    Posts
    3
    yes, its a file created by the taskwarrior program and from that file i want just my task to be displayed, the text in "" is an example task, what u assumed is exactly correct

  4. #4
    Linux Newbie SunshineFolk's Avatar
    Join Date
    May 2011
    Location
    Kentucky or the South Pole with the Penguins
    Posts
    122
    Hmm.

    Try this link ---> Text widget for Conky 1 by ~wlourf on deviantART

    Then scroll down to the second comment to get the "unbroken" link to the file. I didn't try to download it from that link so I don't know if the link to the download is borken but it's worth a shot.

    I don't use conky OR taskwarrior so I could be WAY off with this solution, but it is a text widget for conky, which may help out with what your doing. As for how to use it, I wouldn't know where to start, as I don't use conky...

    Hope this helps!! If not, maybe I can try something else


    SunshineFolk

  5. #5
    rrl
    rrl is offline
    Just Joined!
    Join Date
    May 2011
    Location
    NJ
    Posts
    56
    Quote Originally Posted by anoopm101 View Post
    i have the following text in a file located in /home/anoopm101/.task

    [description:"this is the text" entry:"1306682734" status:"pending" uuid:"25c54e1b-824f-52bc-4933-dfe7cda34bc7"]

    i have to display on my desktop "this is the text" using conky.

    please help me with the command to do it.
    If you want to display static text, in the .conkyrc file, there is a section called text, it says anything in that section gets printed to screen. I would just copy a line of text already in there, paste it to a new line, and replace the text with yours.

    If you want to display dynamic text, like the results of a script, you'll need to refer to the script. Ill have to post back with more detail if that's what you want.

  6. #6
    Just Joined!
    Join Date
    May 2011
    Location
    Thrissur, Kerala, India
    Posts
    3
    what i am looking for is a todo list using conky, conky using taskwarrior seems to be a little uncustomizable

  7. #7
    Linux Guru rokytnji's Avatar
    Join Date
    Jul 2008
    Location
    Desert
    Posts
    4,037
    From

    antiX-forum - View topic - been playing with conky what are yours like

    Edit: my bad. The link is dead.

    for a to do list for conky.

    Below is piveras code in the thread also with screenshots.

    Code:
    ${color cyan}To Do List:
    ${color yellow}${exec cat 30 TODO.txt}
    Linux Registered User # 475019
    Lead,Follow, or get the heck out of the way. I Have a Masters in Raising Hell
    Tech Books
    Free Linux Books
    Newbie Guide
    Courses at Home

  8. #8
    Linux Newbie SunshineFolk's Avatar
    Join Date
    May 2011
    Location
    Kentucky or the South Pole with the Penguins
    Posts
    122
    what i am looking for is a todo list using conky, conky using taskwarrior seems to be a little uncustomizabl
    If you would have said a To Do list is what you were trying to do, it would have been a little more simple to find a solution for you haha

    But rokytnji has got you covered ^^

    Heres what his solution will give you:


    Quote Originally Posted by rokytnji View Post
    From

    antiX-forum - View topic - been playing with conky what are yours like

    Edit: my bad. The link is dead.

    for a to do list for conky.

    Below is piveras code in the thread also with screenshots.

    Code:
    ${color cyan}To Do List:
    ${color yellow}${exec cat 30 TODO.txt}
    Good work rokytnji, I noticed you on that forum too
    But that link you put isn't broken for me , Oh well. Lookin good!!


    SunshineFolk

Posting Permissions

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