From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How can I bring back Konqueror as my man page viewer?
Date: Sat, 18 Aug 2012 08:31:54 +0100 [thread overview]
Message-ID: <201208180832.19397.michaelkintzios@gmail.com> (raw)
In-Reply-To: <502F2D7A.8020902@nileshgr.com>
[-- Attachment #1: Type: Text/Plain, Size: 1630 bytes --]
On Saturday 18 Aug 2012 06:51:54 Nilesh Govindrajan wrote:
> On Sat 18 Aug 2012 06:21:55 AM IST, Nikos Chantziaras wrote:
> > In KDE, I'm very used to simply type "man:foo" and have the man page
> > of "foo" pop up immediately in Konqueror without having to open a
> > terminal or anything.
> >
> > However, since I installed Chromium and making it my default browser,
> > now "man:" brings up Chromium instead. That doesn't work; instead of
> > displaying the man page, it downloads the *.bz2 from the local file
> > system :-/
> >
> > How can I set Konqueror to be the program that handles KDE's "man:"
> > command?
>
> Umm, my default browser is Firefox, but when I open Konqueror and type
> man:ls I get to see the man page.
> But if I launch using Alt+F2, it opens Firefox.
>
> I think this needs some xdg tweaking, using xdg-mime. I don't know the
> type of URL for man:, else could have posted the command.
The solution may be to find out the mime type of man pages, then create a
.desktop file to handle it and use xdg-settings to set it up. I am thinking
along the lines of:
[Desktop Entry]
# ...
Exec=/usr/bin/konqueror %U
MimeType=text/man_page_thing;text/bz2;
or similar. However, the problem is that man pages are not a distinct mime
type, but compressed text files. So this may cause konqueror to become the
default application for opening all such mime types - which will be a pain.
Not sure if a default application can be defined on a path basis, whereby only
text files in e.g. /usr/share/man/man1/* would be opened with Konqueror.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-08-18 7:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-18 0:51 [gentoo-user] How can I bring back Konqueror as my man page viewer? Nikos Chantziaras
2012-08-18 5:51 ` Nilesh Govindrajan
2012-08-18 7:31 ` Mick [this message]
2012-08-18 14:41 ` Volker Armin Hemmann
2012-08-18 15:10 ` [gentoo-user] " Nikos Chantziaras
2012-08-19 1:30 ` »Q«
2012-08-19 1:48 ` Nikos Chantziaras
2012-08-19 19:34 ` »Q«
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201208180832.19397.michaelkintzios@gmail.com \
--to=michaelkintzios@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox