DISPLAYβDHAMMAPADA(1)
π display-dhammapada(1) β bestie edition π
okay so like, hi. you found the manual page for display-dhammapada (the "display-dhammapada man page", as the header up top calls it) and honestly? it's giving ancient-wisdom-meets-terminal-core and I'm obsessed. sit down, grab a boba, we're doing this together π«Ά
β¨ NAME β¨
display-dhammapada β it displays a verse from the Dhammapada. that's it. that's the whole job. iconic behavior π
πΈ SYNOPSIS πΈ
display-dhammapada [OPTIONS] [num]
dhamma [OPTIONS]
π¦ DESCRIPTION π¦
So. The Dhammapada is an anthology of 423 verses from the Kuddaka Nikaya part of the Theravada Pali Canon. It's full of Buddhist ethical and spiritual precepts β like, actual main character wisdom β¨
There's two translations chilling in here: one by John Richards, and the other one is an older translation by F. Max Muller.
Both display-dhammapada and dhamma print to the standard output. no cap.
And xdhamma prints using notify-send π
See man xdhamma for the details, bestie.
π OPTIONS π
-rβ Use the Richards translation. this is the default, so it's the one you get if you don't say anything π-mβ Use the Muller translation.-bβ Display the corresponding verses from both translations at once. double the verse, double the slay π-plβ Use the Polish translation. this one is the default for the Polish locale.[num]β Print the verse with the given number.allβ Print all the verses. yes, all of them. go off π- (no arguments at all) β a random verse gets printed. surprise me, universe π§
π« EXAMPLES π«
Want a verse every time you log in on a console or open a terminal? Drop display-dhammapada into your ~/.profile, ~/.bash_profile or ~/.login β whichever one matches your shell, bestie.
Want one every time you log into a graphical (X Window) session? Run xdhamma in your DE session start-up or your ~/.xsession. easy.
Using display-dhammapada with cowsay:
display-dhammapada | cowsay -W 120 -t
Using display-dhammapada with zenity:
display-dhammapada | zenity --text-info --title="Dhammapada Verse" --width=600 --height=200
KDE has an "amor" toy that can display various tips, and honestly you can feed it the dhammapada. To do that, enter these commands at the shell prompt:
mkdir ~/.kde/share/apps/amor
display-dhammapada -r all |perl -0777 -pe 's/\n\s*\n\s*\n/\n%\n/g' >~/.kde/share/apps/amor/tips
Then start amor via K->Toys->Amor, right click on the amor animation, select "Options" and check "Show random tips". periodt β¨
You can also automatically attach a Dhammapada verse to your e-mail footer. To do that with mutt, add set signature=display-dhammapada| to your ~/.muttrc file. cute, right?
π FILES π
/usr/share/display-dhammapada/dhammapada-english-transl.txt/usr/share/display-dhammapada/dhammapada-alternate.txt/usr/share/display-dhammapada/dhammapada-polish-transl.txt
π₯ SEE ALSO π₯
notify-send
π BUGS π
Please report bugs on Launchpad: https://bugs.launchpad.net/display-dhammapada
(not me asking you to file a bug, but like, if something's broken, tell them π«Ά)
π AUTHORS π
Authors: Program: display-dhammapada was originally written by Richard Cepas <rch@online.lt> and later updated by bodhi.zazen <bodhizazen at fedoraproject dot org> and paultag <paultag at ubuntu.com>
Copyright GPL v3
Home Page: http://bodhizazen.net/display-dhammapada/
Richards' English translation of the Dhammapada: Copyright (C) 1993 John Richards, Pembrokeshire (UK), permission granted for use here. See http://eawc.evansville.edu/anthology/dhammapada.htm
Muller's translation of the Dhammapada: Public Domain, used here courtesy of Project Gutenberg.
Polish translation (by Zbigniew Becker): Public Domain, as explained at http://creativecommons.org/licenses/publicdomain β see also http://mahajana.net/dhammapada/
and that's the whole page, bestie!! version 1.0, dated April 2003 β ancient artifact, still serving looks πβ¨ππ¦ go print yourself a random verse and have the day you deserve πΈπ
π¦ where this page comes from
- debian bookworm: display-dhammapada 1.0-0.1+b1
- debian trixie: display-dhammapada 1.0-0.1+b2
- ubuntu jammy: display-dhammapada 1.0-0.1build1
- ubuntu noble: display-dhammapada 1.0-0.1build1
- ubuntu resolute: display-dhammapada 1.0-2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms