Skip to content

Latest commit

 

History

History
118 lines (84 loc) · 3.71 KB

File metadata and controls

118 lines (84 loc) · 3.71 KB

Troubleshooting

  1. Always make sure you are up-to-date with the main branch.

  2. Read BUILDING.md and OS_SPECIFIC.md.

  3. And, of course, RTFM:

$ qman qman

❓ Calling qman without any parameters fails with message 'apropos .' failed; did you run mandb/makewhatis?

Most probably, your manual pages database hasn't been initialized. For most Linux users this can be fixed by running (as root):

# mandb

Users of other operating systems may need to run the following instead:

# makewhatis

On some operating systems, this error may also be caused by Qman not having been correctly configured. See OS_SPECIFIC.md.


❓: Some manual pages don't show up, or manual pages of software that I have uninstalled still do show up

Again, this is probably a manual pages database issue. Qman uses your operating system's apropos command to discover manual pages. If the database is out of date, apropos (and therefore Qman) will produce inaccurate results.

The database must be updated by running mandb or makewhatis every time manual pages are installed or uninstalled. Regrettably, some O/S fail to do this automatically. If that's the case, you have to be doing it manually or create your own automation.


❓ I'm unable to copy text to the clipboard using the mouse, and/or my mouse behaves erratically

Mouse support is experimental, and depends on features that are not fully implemented by all terminals. If you are having trouble with the mouse, you can disable mouse support by commenting out the following lines in your config file:

; [mouse]
; enable=true

❓ Links to HTTP URLs, e-mail addresses, or files/directories won't open

By default, Qman uses standard commands such as xdg-open and xdg-email to open such links. On desktop Linux systems, this is sufficient to open them using the default GUI application. On other systems you may need to specify different handlers in your config file.

For example, the following directives will cause Qman to open HTTP links with /usr/bin/links, e-mail links with /usr/bin/mutt, and files/directories with /usr/bin/vim:

[misc]
browser_path=/usr/bin/links
mailer_path=/usr/bin/mutt
viewer_path=/usr/bin/vim

You can also disable these kinds of links using the following:

[capabilities]
http_links=false   ; disable links to HTTP URLs
email_links=false  ; disable links to e-mail addresses
file_links=false   ; disable links to files or directories

❓ I don't like the way Qman looks

Use a different one of the supplied themes. Or build your own theme (and open a pull request to to add it to the repository).

For instructions on how to use themes, refer to Qman's manual page or look inside config/qman.conf


❓ I modified my config file to include a theme, but Qman's colors still don't look right

All provided themes require a terminal that supports 256 colors. Some themes, such as adwaita, adwaita-light and catpuccin_latte, also require a terminal that can re-define colors from RGB values.

Qman autodetects the terminal's capabilities, and will disable certain features if it detects a terminal that doesn't support them. This can be overridden using the options in the config file's [tcap] section, which are documented in the program's manual. Feel free to play with these, and also to report an issue if it looks like your terminal's capabilities are being misidentified.