Wednesday, March 20, 2013

0.2 version released!

Not too much time to work on this... some improvements:

  • full plugin support: soon releasing integration with figlet, jp2a, img2txt and more
  • sysmon screensaver: monitors CPU and memory in a graph like on your terminal
  • other improvements
Downloads available in debian unstable, or my PPA (or you can get it from the source, or PIP, your choice).


Just added a video:

Wednesday, February 27, 2013

Migrating from Posterous...

This blog was yet another one caught by surprise on the Posterous news...

Unfortunately, no tools to migrate to Blogger, so did it manually (lost track of dates and previous links though). If you are looking for something here, use the search instead (until hopefully the search engines catch up with the site updates).

PPA package for Ubuntu Released!

While the 0.1.1 version has been uploaded to debian repository and it is waiting for upstream, I have worked on releasing it on Launchpad, for Ubuntu (and cousin distros) users... Once the package goes to Debian repository, you should be able (this may take a while) to access it directly from main Ubuntu repositories... Until then, this is the easiest way to do it:

$ sudo add-apt-repository ppa:bruno-braga/termsaver 
$ sudo apt-get update 
$ sudo apt-get install termsaver

This was originally posted on APRIL 20, 2012 

Version 0.1.1 released!

To inform that the 0.1.1 version is now official, and properly updated in all revelant repositories.
Following changes:
You can download this version's .deb file from here:

This was originally posted on APRIL14, 2012 

The Matrix Screensaver... finally!

This is definitely one of the screens I ws looking for... couldn't find any good stuff online, so I build a very humble one myself. Since I am not using any fancy Ncurses to better control the chars positioning on screen, it was hard to bring the Japanese chars down, instead of up... in the end, I sensed the feeling was about the same, so I decided to release like this.
All opened for improvement suggestions, and patches, if you find any problems!
Planning to release 0.1.1 soon, with this screen included!

Here is the help info for this one (that's all I could come up with, lol):

$ termsaver matrix -h
TermSaver v.0.1.1 - A simple text-based terminal screensaver.

Screen: matrix
Description: displays a matrix movie alike screensaver

Usage: termsaver matrix [options]


 -g, --granularity
              an integer value to define how dirt should the screen 
              be. Default value is [10]. Use something like [1]
              for clean style, or a [100] for total dirt.

 -d, --delay  Defines the speed (in seconds) of the character 
              movement. Default value is [0.09] (in seconds).

 -k, --kana-only
              Displays only Japanese characters 
              (excludes alpha numeric).  

 -z, --zenkaku
              Displays full-width (fattish) Japanese characters.
              By default it displays half-width characters.  

 -h, --help   Displays this help message


    $ termsaver matrix -g 100
    This will print out random characters in maximum dirt (using 
    almost the entire screen space). Try [1] for very clean results.

    $ termsaver matrix -g 5 -d 0.001 -k
    This will give a cleaner print than the default, much faster 
    with only Japanese characters.  
See more information about this project at:

Report bugs to authors at:
Update (2012-04-15):
Received message from Twitter @Metztli_IT, asking about fonts to display Japanese characters. Nice one! I just tested with clean installation machines, without any problems, using the Monospace font by default. Let me know if anyone is facing font problems.


This was originally posted on APRIL 13, 2012 

And then termsaver was born...

Some folks asked me how I came up with this... Truth is, I was just bored at class, and built a small script to make my screen "busy" (see code below). It is a simple 15-min coding script that displays the source code of files recursively in a directory character by characted, giving a cool impression of a "type-writing" machine.
When I then realized this was a nice thing, I searched a bit for some alternatives but couldn't find any that would be exclusive to the terminal. So I decided to share it with everyone... but I needed some spices to make it more attractive, so I looked for some feasible stuff that we could bring from traditional screensavers into the text-based world. Then new ideas such as ascii arts, floating text, and others came to life.
The first release, although not even hoping to get peopl on board to contribute, is already full capable to supporting internationalization and plugins (so ideally we will have N screensavers that can be added as different packages to termsaver main package).
Here is my original code that gave birth to the termsaver idea... for reference to enthusiasts:


import os
import sys
import time

def recurse_path_for_files(path, func, filetype = ''):
    for item in os.listdir(path):
        f = os.path.join(path, item)
        if os.path.isdir(f):
            if not item.startswith('.'):
                recurse_path_for_files(f, func, filetype)
        elif f.endswith(filetype) and \
                not os.system("file -b '" + f 
                   + "' | grep text > /dev/null"):

def main():
    start_path = '/home/bruno/workspace/'
    paths = []
    recurse_path_for_files(start_path, paths.append)

    count = 0
    while(count < 1):
        for path in paths:
            f = open(path, 'r')
            print "\n[%s]\n" % path
            for line in f.readlines():
                for char in line:

if __name__ == "__main__":
This was originally posted on APRIL 13, 2012