ROOTTAIL(1)
π NAME π
okay bestie, welcome to ROOTTAIL(1), from the General Commands Manual β this is the page for root-tail, which does exactly this:
root-tail β print text directly to X11 root window
β¨ SYNOPSIS β¨
root-tail [-g|--geometry GEOMETRY] [-fn|--font FONTSPEC] [--color color]
[--reload SEC COMMAND] [--shade] [--outline] [--minspace] [--noflicker]
[-f|--fork] [--reverse] [--whole] [--partial] [--update] [--cont STRING]
[--wordwrap] [--justify] [--noinitial] [--frame] [-id ID] [-i|--interval
SECONDS] [-V] file1[,color[,desc]] [file2[,color[,desc]]]
π DESCRIPTION π
So the vibe is: this thing displays a given file anywhere on your X11 root window. It is kind of tail -f for multiple files, but using your desktop background as the output window. iconic behavior, honestly π
All non-option arguments on the command line are files to be logged. A null desc β example: "/var/log/messages,red," β will prevent the printing of a description and the []'s. π
πΈ General Options πΈ
-g,--geometry GEOMETRYβ this shows up in the synopsis as-g|--geometry GEOMETRY; the page doesnβt give it a separate extra blurb in this options section, so weβre keeping the name and argument exactly as listed. π--color COLORβ useCOLORas default.--font,-fn FONTSPECβ use fontFONTSPEC. This can be either a fixed width font like-fn fixedor any font using-fn '-*-*-*-*-*-*-*-*-*-*-*-*-*-*'with the appropriate fields filled out (seexfontsel). Specifying a differentFONTSPECbefore each filename will cause each file to be displayed in a different font.-f,--forkβ forks to the background.--reverseβ display the files in reverse order, with the newest lines at the top.--wholeβ only display whole lines. If the last line of a file doesnβt yet end with a newline character then wait until it does before displaying it. This is the default if more than one file is being displayed.--partialβ this is the opposite of the--wholeoption (see above). It displays lines even if they donβt yet have a newline at the end. This is the default if only one file is being displayed.--updateβ update partial lines βin placeβ if they are still on the screen when they are updated in their files. Using--updateautomatically turns on--partial.--cont STRINGβ when partial lines are broken into two lines in the display, prefix the 2nd line withSTRING. Defaults to"|| ". Specify the--wholeargument to ensure partial lines are never displayed, or specify--updateto attempt to βrepairβ broken lines in-place.--cont-color COLORβ useCOLORwhen displaying the continuation string (as optionally specified with the--contoption above).--wordwrapβ the default behaviour is to fit as much as possible onto each line of output, even if this means splitting a word between one line and the next. The--wordwrapargument splits lines at spaces if possible.--justifyβ after wrapping long lines, attempt to justify the text to produce a smooth right-hand margin. Implies--wordwrap.--reload SEC COMMANDβ re-display the file(s) and runCOMMANDeverySECseconds. The default is to never re-display the file(s).--shadeβ add black shading to the font.--outlineβ add a black outline to the font (making redraws quite a bit slower).--minspaceβ use minimum linespace even when using shading or outlining. This might result in leftover pixels (depending on font and logfile content).--noflickerβ use slower but flicker-free update.--noinitialβ donβt display the end of the file(s) initially.-id IDβ use the given window ID for output instead of the root window.-i,--interval SECONDSβ use the specified sleeping interval between checks instead of the default2.4seconds. Fractional values are OK.-Vβ print version information.--frameβ draw a frame around the selected area. This is useful when trying to find the perfect geometry.
π§ EXAMPLE π§
root-tail -g 800x250+100+50 -font 10x20 /var/log/messages,green -font
12x24 /var/log/secure,red,'ALERT'
π BUGS π
Some desktop environments open a virtual root window and make it difficult to share it. If you cannot see anything after starting root-tail, try to find a setting "allow programs on desktop" or similar, or manually specify a window id.
Should you happen to find any bugs please fix them and send me a diff. periodt π
NOTE: This program was modified by Marc Lehmann<pcg@goof.com>, who couldnβt reach the original author. Please direct bug-reports etc. topcg@goof.com.
mwah π this page is the 4.2 Berkeley Distribution version dated 2004-03-27, and the footer signs off as ROOTTAIL(1). π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: root-tail 1.2-bp160.1.12 Β· GPL-2.0+
- opensuse-leap 16.0: root-tail 1.2-bp160.1.12 Β· GPL-2.0+
- opensuse-leap 16.0: root-tail 1.2-bp160.1.12 Β· GPL-2.0+
- opensuse-leap 16.0: root-tail 1.2-bp160.1.12 Β· GPL-2.0+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms