nomeata / screen-message

Very simple tool to display some text as large as possible
54 stars 8 forks source link

screen-message

If you just want to display a word or a short, possibly multi-line, text as large and as quickly as possible on your screen, then screen-message is the right too for you. It has been used already twice at a Debian conference for the Mugshots.

screen-message runs on Linux and Windows and there is an online version on http://sm.nomeata.de/ (with sources in the docs/ folder of this project)

Installation Linux

Get it from your distribution with

apt install sm  # Debian, Ubuntu
emerge x11-misc/screen-message  # Gentoo
zypper install screen-message  # openSUSE

or install it from this source repository, if you know how to do these things.

Installation Windows

Get the latest windows installer from my webpage. The windows installer lags behind a few versions; let me know if you need a new version.

Usage

Screen Message will display a given multi-line message as large as possible, fullscreen and black on white. You can specify the text either when launching sm, or edit it while the program is running.

After a short timeout, the text entry and the quit button will disappear, leaving nothing on the screen but the entered text. To continue entering text, just start typing or (left-)click anywhere on the screen.

To clear the displayed text, press Escape.

To invert the colors of the text and the background, press Ctrl-I.

To quit the program, press Ctrl-Q, or Escape twice, or click the “Quit”-button.

Options

Remote controlling sm

If sm is called with - as a command line argument, it will read the text to be shown from the standard input. It will read the input until it reaches the end of the file, or the line form character \f, and show the input read so far at once. Newline characters at the beginning or the end are ignored. The input is assumed to be UTF-8 encoded.

This can be used to create automatic displays of changing data or similar tricks. For example, the following command will create a simple digital watch:

(while sleep 1; do date +%T; printf '\f'; done) | sm -

Contact

Use the GitHub issue tracker or write to Joachim Breitner mail@joachim-breitner.de.