DEBMANY(1)
π DEBMANY(1) π
okay bestie, pull up a chair, we're doing the debmany manual page and it's genuinely iconic. this is a User Commands situation, and it's giving "I just want to read a manpage without losing my entire mind" energy. let's go π¦
β¨ NAME β¨
debmany β select manpages or documentation files from installed packages, packages from the repository or .deb-files for viewing using man, sensible-pager or an alternative viewer.
like. she picks your docs FOR you. no cap. π
πΈ SYNOPSIS πΈ
debmany --help
debmany [-v[v]] [-k|-x] [-m manpageviewer] [-o otherviewer] [-L limit]
[-l lang1[,...]] package|package.deb
debmany [-v[v]] [-k|-x] [-m manpageviewer] [-o otherviewer] [-L limit]
[-l lang1[,...]] -z [package|package.deb]
π DESCRIPTION π
Select a manpage or files in /usr/share/doc from a Debian package for viewing with man, sensible-pager or an alternative viewer. The list of files is displayed in a dialog. Supported locations for Debian packages are: local .deb-file, a package in the repository or an installed package.
that's it. that's the whole vibe. local file, repo package, or already-installed package β she does all three, fr fr. β¨
--helpβ display a short usage guide and exit. quick lil "hey here's how I work", then she's out. π¨-kβ Display the manpage using your preferred viewer (must support.gzfiles) if you use KDE β this is the short form of-m 'kfmclient exec man:%s'.kfmclientis a part of the packagekonqueror(at least in Debian Buster). KDE girlies, this one's for you. π-xβ Display the manpage using your preferred viewer (must support.gzfiles) if you use KDE/GNOME/Xfce β this is the short form of-m 'xdg-open man:%s'.xdg-openis a part of the packagexdg-utils(at least in Debian Buster). the universal bestie option, lowkey. π-mmanpageviewer β Optionally set a manpage viewer. The viewer must support.gzfiles. You must define the complete request.%sgets replaced with the path to the manpage. If%sis missing%sis appended to the manpageviewer. The manpageviewer must be enclosed with""or''β see examples. If you use a graphical viewer you must ensure that you have access to your desktop (if necessary:suxorsshwith X-forwarding).
ngl the "you must ensure you have access to your desktop" part is the sneaky gotcha. graphical viewer + no desktop access = sadness. you've been warned, bestie. π
-ootherviewer β Optionally set a viewer for other files (/usr/share/doc). for when the docs aren't manpages and need their own lil handler. π-Llimit β If a file which must be downloaded exceeds this limit, you are asked if the download should start. Without unit the value is in bytes. You can appendK,M,GorTto the value to change the unit. she's not just gonna go download a whole gigabyte without asking first. consent king. π-llang1[,...] β English manpages are displayed always. If you want more languages you can specify them here. Provide a comma separated list of the folder names in the manpage folders (/usr/share/man) β e.g.de,fror"zh*"if you want to see all Chinese manpages (Simplified and Traditional Chinese as well). It is safe always to use"*"at the end of your language. Character set versions automatically generated during installation are not available for selection.
lowkey the "*" tip is the move. wildcard at the end = you get everything for that language, and it's safe. periodt. β¨
-zβ Zenity (a graphical dialog) is used to select the files and if necessary to enter the package name. You must have the rights to start X programs. This option combined with the parameters-k,-xor-mand-omake it possible to use debmany without console.
okay this is the full no-terminal run. main character energy. combine it with -k, -x or -m and -o and you literally never have to touch a console. π
The manpages are temporarily extracted to a temporary directory under /tmp (or /var/tmp, if /tmp is not a directory). You can override the path if you set and export the environment variable TMPDIR or set it as a temporary variable.
You need to have the Debian package whiptail (preferred) or dialog as well as apt installed.
bestie. READ THIS PART. nowhiptail/dialogand noapt= no debmany. she's not magic, she just has good dependencies. π«Ά
π₯ EXAMPLES π₯
debmany coreutilsβ Show all manpages from the installed Debian packagecoreutilsusing man.debmany 3dchessβ Show all manpages from the package3dchessusing man. Since it is not already installed the package is accessed from the repository β even downloading is done if needed.
not installed? doesn't matter, she'll go get it. obsessed. π
debmany test.debβ Show all manpages from the local Debian package./test.debusing man.debmany -k scβ Use your preferred man-viewer (for KDE users).debmany -g scβ Use your preferred man-viewer (for GNOME users).debmany -x scβ Use your preferred man-viewer (for KDE/GNOME/XFCE users).debmany -z -kβ Useszenityto select files and to enter the package name.TMPDIR=~/tmp debmany -m 'konqueror man:%s' scβ Use~/tmpas temporary folder and Konqueror as viewer.alias debmany='debmany -l de -L 5M -k'; debmany -m man -l "zh*" fooβ Set an alias with your preferred options and override them if needed.vi /usr/local/bin/ask # after saving: chmod 755 askβ Every time you select other files from a package you will be asked which program to use.
#!/bin/dash
read -p "program to use: " pgm
eval $pgm "$1"
debmany -o ask
yes the last one is a whole lil script AND a command, and yes we're keeping it exactly as written. copy it, chmod 755 it, slay. π
π AUTHOR π
Written by Michael Arlt.
π LICENSE π
This is free software. You may redistribute copies of it under the terms of the GNU General Public License <https://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.
fr fr: free as in freedom, but NO WARRANTY. she said what she said. π
and that's the page, bestie β debmany version 1.3, by Michael Arlt, in the User Commands manual. go read some manpages, you deserve it. πβ¨π¦
π¦ where this page comes from
- debian bookworm: debian-goodies 0.88.1 Β· GPL-2.0-or-later
- debian trixie: debian-goodies 0.88.2 Β· GPL-2.0-or-later
- nixos 26.05: debian-goodies 0.88.2
- nixpkgs unstable: debian-goodies 0.88.2
- ubuntu jammy: debian-goodies 0.87ubuntu1 Β· GPL-2.0-or-later
- ubuntu jammy: debian-goodies 0.87ubuntu1.1 Β· GPL-2.0-or-later
- ubuntu noble: debian-goodies 0.88.1ubuntu1 Β· GPL-2.0-or-later
- ubuntu noble: debian-goodies 0.88.1ubuntu1.3 Β· GPL-2.0-or-later
- ubuntu questing: debian-goodies 0.88.2ubuntu1
- ubuntu resolute: debian-goodies 0.88.2ubuntu2 Β· GPL-2.0-or-later
- ubuntu stonking: debian-goodies 0.88.2ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms