SM(6)
π SM β the manual page, but make it a group chat π
okay bestie, so this is sm from the Games Manual (section 6, iykyk), and it's literally the cutest little fullscreen text shower you've ever met. let's get into it π
β¨ NAME β¨
sm β Displays a short text fullscreen. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
sm [ OPTIONS ] [ text | - ]
π¦ DESCRIPTION π¦
Screen Message is gonna take whatever multi-line message you give it and display it as large as possible, fullscreen, black on white. iconic behavior honestly. you can hand it the text when you launch sm, or you can just edit it while the program is running β dealer's choice, main character energy either way.
After a short timeout, the text entry and the quit button dip out π¨ leaving literally nothing on the screen but the text you entered. and to keep typing? just start typing, or (left-)click anywhere on the screen. she's always listening. π«Ά
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. three ways to say goodbye, no cap. π
β¨ OPTIONS β¨
[ text | - ]β the text to display at start up. defaults to":-)"(yes, the lil smiley, obsessed). if you pass"-"tosm, it'll read the text to display from the standard input instead β see REMOTE CONTROLLING SM below for the tea. π-f,--foreground=colordescβ define a different color for the foreground of the text than black. the text string can be in any of the forms accepted byXParseColor; these include a name for a color fromrgb.txt, likeDarkSlateGray, or a hex specification like#3050b2or#35b. slay, you can go full custom palette. π¨-b,--background=colordescβ define a different color for the background of the text than white. for possible values, see above β¬οΈ (same rules, bestie).-i,--invertβ switches the roles of foreground and background colors. useful if you prefer white-on-black. dark mode girlies rise up π€β¨-n,--font=fontspecβ define a different font than the default sans-serif font of your system. the fontspec can be the complete name for a truetype font (like"DejaVu Sans"or"Bitstream Vera Serif") or just a short font family specification ("serif","sans-serif"). pick your font, pick your era π-r,--rotate=rotationβ rotates the display by rotation*90 degrees counter-clock-wise. so-r 1rotates the display to the left, and-r 2puts it upside down. chaotic. love that. π-a,--align=alignmentβ aligns the text centered (-a 0), left (-a 1) or right (-a 2). position her wherever she belongs. π--β (double dash) end option parsing. this is used to be able to actually hand over text that starts off with a dash. so if your text is like--hior whatever, this is your girl. π-h,--helpβ this option will give you a short usage message summarizing the recognized options and quits. little cheat sheet, we love a summary. π-V,--versionβ this prints the project name together with its version number and quits. flex the version, periodt. β
π 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'll read the input until it reaches the end of the file, or the form feed 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 (see utf8(7)). π
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 -
not me piping a live clock into a fullscreen message. that's literally the coolest thing ever and it's three commands. π₯
π AUTHOR π
This manual page was written by Joachim Breitner <mail@joachim-breitner.de> and updated by Gerfried Fuchs <rhonda@deb.at> to reflect additions for commandline option handling. thank you for your service, legends π«‘π
and that's the whole page, bestie!! this lil cutie comes from the Games Manual, dated November 24, 2012 β so yeah, she's been serving fullscreen text since way back and she still ate. π β¨ go forth and make your screen say something iconic π
π¦ where this page comes from
- debian bookworm: sm 0.26-3
- ubuntu jammy: sm 0.26-1
- ubuntu noble: sm 0.26-3build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms