Bug 1514 - Workaround for man pages and Firefox
: Workaround for man pages and Firefox
Status: CONFIRMED
Product: Desktop Features
Classification: ROSA Desktop
Component: All
: unspecified
: All Linux
: Normal normal
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-27 17:25 MSK by Konstantin
Modified: 2013-03-01 10:23 MSK (History)
1 user (show)

See Also:
RPM Package:
ISO-related:
Bad POT generating:
Upstream:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin 2013-01-27 17:25:59 MSK
In KDE, when I press Alt+F2 and type 'man:some_comand' It opens man page in default webbrowser.
In Rosa - Firefox comes by default. But Firefox can't work with man pages as Konqueror or Rekonq does. Try 'man:mount' - there's two man pages, and if I choose one, it tries to open it as simple archive file.
Could you make some workaround for this, please?
Comment 1 Denis Silakov 2013-03-01 10:22:12 MSK
Doesn't seem to be very easy to fix this, but I can suggest an easy workaround:

1) Get this script:
https://abf.rosalinux.ru/dsilakov/kde_man_wrapper/blob/master/kde_man_wrapper.sh

make it executable and place it to /usr/bin (or somewhere else, this doesn't matter much)

2) Got to KDE Control Center (aka "Configure your desktop"), go to "Common Appearance and Bahavior" -> File associations.

find tex/html type, choose html and add kde_man_wrapper.sh as a default application for this type.
Comment 2 Denis Silakov 2013-03-01 10:23:04 MSK
... note that default browser and browser for man pages are hardcoded in the script, you should edit it directly to modify them.