Reply To: Making productive use of the XScreenSaver to display text instead of Conky

Forum › Forums › General › Tips and Tricks › Making productive use of the XScreenSaver to display text instead of Conky › Reply To: Making productive use of the XScreenSaver to display text instead of Conky

#10207
BobC
Moderator

    See the last post for the zip file, it includes examples.

    Any executable file in /etc/xscreensaver.d will be processed, and whatever is sent to std output will go to the screensaver
    and any .txt file put there will go to the screensaver

    There are scripts there for icewm keys and preferences.

    If a line begins with #key it will be ignored, so commented out keys don’t get displayed
    if you add comments to the end of key assignment lines with a # with a space on each side they will appear nicely as — to separate the key from its function

    There are examples of news feeds, which are basically rss feeds from a web URL. If you want a different one, copy one and change the copy. There are options for the maximum number of lines and whether or not to show description lines

    I also included 3 examples of weather conditions and forecasts, basically just taking the text, adjusting it so it looks better and sending it to std output

    On xscreensaver you need the starwars screensaver installed and selected, go to it on the select screen, see pic starwars_sst

    If you go to the settings tab it should look like the settings pic

    If you find that the text is misaligned, maybe try using a different font, which you can change using the advanced button off the settings tab and adding -font -xos4-terminus-medium-r-normal–32-320-72-72-c-160-iso10646-1 to the command line as shown in the addfont pic. If you actually find a font that can display wttr.in correctly, please post it here. I spent many hours trying and had to settle for ugly boxes due to UTF-8 not being properly handled by anything that I could find.

    I will have to add the zip file to a different post, as I can’t add any more attachments to this one

    On the xscreensaver program you need to go to the advanced tab and change it to run a program called gen_sst, see pic gen_sst

    • This reply was modified 8 years, 4 months ago by BobC.

    Here is the link to SEARCH THE FORUM >> http://www.antixforum.com/search-forums