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 🌸πŸ’