Does browser url: file:///usr/share/doc/ work for you?leyvi wrote:I'm tired of using less to read (among other things) the kernel documentation, and the contents of /usr/share/doc. What do you guys recommend?
It does, but only for HTML. Thanks anyways, that's almost half of it.pingtoo wrote:Does browser url: file:///usr/share/doc/ work for you?leyvi wrote:I'm tired of using less to read (among other things) the kernel documentation, and the contents of /usr/share/doc. What do you guys recommend?
Is the document you want to view is some sort of structured text or binary? Browser should always able to load and display Text document (ASCII or UTF8).leyvi wrote:It does, but only for HTML. Thanks anyways, that's almost half of it.pingtoo wrote:Does browser url: file:///usr/share/doc/ work for you?leyvi wrote:I'm tired of using less to read (among other things) the kernel documentation, and the contents of /usr/share/doc. What do you guys recommend?
Code: Select all
man:lsI used to use Firefox for reading logs, it was just convenient to open it in a browser tab...leyvi wrote:It does, but only for HTML. Thanks anyways, that's almost half of it.pingtoo wrote:Does browser url: file:///usr/share/doc/ work for you?


Emacs can read and format a number of them out of the box (OOTB), though.pingtoo wrote:I don't think there is a document reader that can read any kind of file
Of course, this has obvious limitations in terms of accessibility and ability to copy-and-paste.DocView mode is a major mode for viewing DVI, PostScript (PS), PDF, OpenDocument, Microsoft Office, EPUB, CBZ, FB2, XPS and OXPS documents. It provides features such as slicing, zooming, and searching inside documents. It works by converting the document to a set of images using the gs (GhostScript) or pdfdraw/mutool draw (MuPDF) commands and other external tools, and then displays those converted images.
Thanks, looks promising.flexibeast wrote:Off the top of my head, you could hook into the postinst phase; refer to /etc/portage/bashrc page on the wiki for details. (i hook into the postinst phase as part of providing desktop notifications of emerge progress.)