Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux.mint    |    Looks pretty on the outside, thats it!    |    30,566 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 29,528 of 30,566    |
|    Dan Purgert to Jeff Layman    |
|    Re: DistroWatch Q&A: Advice for new Linu    |
|    30 Oct 25 13:13:54    |
      XPost: alt.comp.os.windows-10       From: dan@djph.net              On 2025-10-30, Jeff Layman wrote:       > On 30/10/2025 10:28, Dan Purgert wrote:       >> On 2025-10-30, Jeff Layman wrote:       >>> On 29/10/2025 21:57, Lawrence D’Oliveiro wrote:       >>>> gunzip -c $(man -w bash) | groff -ktman -Tpdf | okular -       >>>       >>> (computer name):~$ gunzip -c $(man -w bash) | groff -ktman -Tpdf | okular -       >>>       >>> groff: fatal error: cannot load 'DESC' description file for device 'pdf'       >>> org.kde.okular.core: No plugin for mimetype '"application/x-zerosize"'.       >>       >> Chances are you've only got 'groff-base' installed, rather than the full       >> 'groff' package.       >> [...]       >> 3. "apt install groff" to install the full package.       >       > Successfully installed. There's quite a lot of it, but I've plenty of       > disk space.              Yeah, the "quite a lot" is why it's not installed by default, same as       other things like vim. Most people don't need all the fluff, so I guess       the idea is to save space on the install ISOs.       >       >> 4. Run that command from Lawrence again       >       > It worked perfectly and that pdf is *much* easier to read than a       > screenful of "manual" instructions in the Terminal. I've saved it for       > future reference.              Great! Something you might want to consider here is making yourself a       little manpage wrapper script so you can get the PDF output for any       manpages you want to read.              Something like this ought to do it -- though admittedly this is rather       off the cuff, so might have an egregious error or three.               #!/usr/bin/env bash               #usage reminder if we forgot the input parameter, or had too many        if [[ $# -ne 1 ]]; then        printf "man2pdf error: incorrect number of parameters given.\n"        printf "usage: man2pdf |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca