Results 1 to 6 of 6

Thread: Print stdout to desktop

  1. #1
    Join Date
    Aug 2008
    Location
    germany
    Beans
    857

    Print stdout to desktop

    Hello.

    Well, the header basically asks. Is it possible to redirect output of foobar to desktop?

    Like, for instance running cal after login and print it to the background somewhere?

    Thank you.

  2. #2
    Join Date
    Oct 2008
    Beans
    561

    Re: Print stdout to desktop

    i think conky can do things like (never used it) that or osd_cat for just text, another option if you want a window is zenity
    Check out my little app. Tnote

  3. #3
    Join Date
    Aug 2007
    Beans
    949

    Re: Print stdout to desktop

    If you run conky in the background and change the .conkyrc file to simply execute your program and display the output, you can accomplish this.

  4. #4
    Join Date
    Aug 2008
    Location
    germany
    Beans
    857

    Re: Print stdout to desktop

    Yes, I'm aware of conky, thank you both.

    But I don't want to use conky, just print the output do my rootwindow upon login. For my purpose, conky just doesn't do what I want.
    Btw, I like tnote benji (but what I wanted to ask you, if I take a not over more than one line, do I have to issue \ and the end of a line or would tnote do this automagically? Like if'd I want to run
    foobar `tnote X`
    )

    So, anybody?
    Last edited by loomsen; April 28th, 2009 at 08:57 PM.

  5. #5
    Join Date
    Oct 2008
    Beans
    561

    Re: Print stdout to desktop

    im not sure if i understand you correctly
    if its before login im not sure sorry.
    is this a graphical login??? if its not you should be able to add something to your .bashrc (theres one specifically for bash logins)


    re tnote if you want a multiline note you have to do it from a text editor
    use
    Code:
    tnote -a
    (no other text)
    should take you to it.
    if you want to add a note directly from the command line you are essentially limited to one line, because as soon as you press enter its processed by bash, which includes '\' ive put some notes about it in the man page because unfortunately bash will try to do its stuff with it first.
    let me know if the man page isn't clear and ill rewrite it.

    I was toying with the idea of implementing quotes but then you introduce new problems (does someone mean \ or newline). coupled with the fact that you then have three differnt input methods with slightly different rules. so i just decided to leave a text editor to do anything more complicated than a simple one line note. if you think something like that would be of value though let me know and i will have a think,
    Check out my little app. Tnote

  6. #6
    Join Date
    Aug 2008
    Location
    germany
    Beans
    857

    Re: Print stdout to desktop

    *up*

    Tho I'm slightly losing hope this will work at all...

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
  •