public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] How can I bring back Konqueror as my man page viewer?
@ 2012-08-18  0:51 Nikos Chantziaras
  2012-08-18  5:51 ` Nilesh Govindrajan
  2012-08-18 14:41 ` Volker Armin Hemmann
  0 siblings, 2 replies; 8+ messages in thread
From: Nikos Chantziaras @ 2012-08-18  0:51 UTC (permalink / raw
  To: gentoo-user

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?



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] How can I bring back Konqueror as my man page viewer?
  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
  2012-08-18 14:41 ` Volker Armin Hemmann
  1 sibling, 1 reply; 8+ messages in thread
From: Nilesh Govindrajan @ 2012-08-18  5:51 UTC (permalink / raw
  To: gentoo-user

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.

--
Nilesh Govindrajan
http://nileshgr.com


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] How can I bring back Konqueror as my man page viewer?
  2012-08-18  5:51 ` Nilesh Govindrajan
@ 2012-08-18  7:31   ` Mick
  0 siblings, 0 replies; 8+ messages in thread
From: Mick @ 2012-08-18  7:31 UTC (permalink / raw
  To: gentoo-user

[-- 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 --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] How can I bring back Konqueror as my man page viewer?
  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 14:41 ` Volker Armin Hemmann
  2012-08-18 15:10   ` [gentoo-user] " Nikos Chantziaras
  1 sibling, 1 reply; 8+ messages in thread
From: Volker Armin Hemmann @ 2012-08-18 14:41 UTC (permalink / raw
  To: gentoo-user; +Cc: Nikos Chantziaras

Am Samstag, 18. August 2012, 03:51:55 schrieb Nikos Chantziaras:
> 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?

open system-settings. Open mime/applications/whatever submenu (called 
'Dateizuordnungen' in German). 

application-xtroff-man
and
application-xtroff-man-compressed

should be the things you have to set. Click on 'embedded' and choose KManPart

And that it is always shown in the embedded part.

We are talking about KDE here - not gnome. It should not be necessary to fiddle 
with desktop files. 

-- 
#163933


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: How can I bring back Konqueror as my man page viewer?
  2012-08-18 14:41 ` Volker Armin Hemmann
@ 2012-08-18 15:10   ` Nikos Chantziaras
  2012-08-19  1:30     ` »Q«
  0 siblings, 1 reply; 8+ messages in thread
From: Nikos Chantziaras @ 2012-08-18 15:10 UTC (permalink / raw
  To: gentoo-user

On 18/08/12 17:41, Volker Armin Hemmann wrote:
> Am Samstag, 18. August 2012, 03:51:55 schrieb Nikos Chantziaras:
>> 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?
>
> open system-settings. Open mime/applications/whatever submenu (called
> 'Dateizuordnungen' in German).
>
> application-xtroff-man
> and
> application-xtroff-man-compressed
>
> should be the things you have to set. Click on 'embedded' and choose KManPart
>
> And that it is always shown in the embedded part.
>
> We are talking about KDE here - not gnome. It should not be necessary to fiddle
> with desktop files.

This is already set up that way.  Except that x-troff-man-compressed is 
grayed out because there's no file extension listed.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: How can I bring back Konqueror as my man page viewer?
  2012-08-18 15:10   ` [gentoo-user] " Nikos Chantziaras
@ 2012-08-19  1:30     ` »Q«
  2012-08-19  1:48       ` Nikos Chantziaras
  0 siblings, 1 reply; 8+ messages in thread
From: »Q« @ 2012-08-19  1:30 UTC (permalink / raw
  To: gentoo-user

On Sat, 18 Aug 2012 18:10:01 +0300
Nikos Chantziaras <realnc@gmail.com> wrote:

> On 18/08/12 17:41, Volker Armin Hemmann wrote:
> > Am Samstag, 18. August 2012, 03:51:55 schrieb Nikos Chantziaras:
> >> 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?
> >
> > open system-settings. Open mime/applications/whatever submenu
> > (called 'Dateizuordnungen' in German).
> >
> > application-xtroff-man
> > and
> > application-xtroff-man-compressed
> >
> > should be the things you have to set. Click on 'embedded' and
> > choose KManPart
> >
> > And that it is always shown in the embedded part.
> >
> > We are talking about KDE here - not gnome. It should not be
> > necessary to fiddle with desktop files.
> 
> This is already set up that way.  Except that x-troff-man-compressed
> is grayed out because there's no file extension listed.

It's not greyed for me, and I just set both up that way, but KDE is
still opening man:foo with my default web browser, Firefox.  KDE is
putting a decompressed copy in /var/tmp/kdecache-${username}/krun/ and
Firefox displays it ok, but I'd much rather be seeing it in Konqueror.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: How can I bring back Konqueror as my man page viewer?
  2012-08-19  1:30     ` »Q«
@ 2012-08-19  1:48       ` Nikos Chantziaras
  2012-08-19 19:34         ` »Q«
  0 siblings, 1 reply; 8+ messages in thread
From: Nikos Chantziaras @ 2012-08-19  1:48 UTC (permalink / raw
  To: gentoo-user

On 19/08/12 04:30, »Q« wrote:
> On Sat, 18 Aug 2012 18:10:01 +0300
> Nikos Chantziaras <realnc@gmail.com> wrote:
>
>> On 18/08/12 17:41, Volker Armin Hemmann wrote:
>>> Am Samstag, 18. August 2012, 03:51:55 schrieb Nikos Chantziaras:
>>>> 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?
>>>
>>> open system-settings. Open mime/applications/whatever submenu
>>> (called 'Dateizuordnungen' in German).
>>>
>>> application-xtroff-man
>>> and
>>> application-xtroff-man-compressed
>>>
>>> should be the things you have to set. Click on 'embedded' and
>>> choose KManPart
>>>
>>> And that it is always shown in the embedded part.
>>>
>>> We are talking about KDE here - not gnome. It should not be
>>> necessary to fiddle with desktop files.
>>
>> This is already set up that way.  Except that x-troff-man-compressed
>> is grayed out because there's no file extension listed.
>
> It's not greyed for me, and I just set both up that way, but KDE is
> still opening man:foo with my default web browser, Firefox.  KDE is
> putting a decompressed copy in /var/tmp/kdecache-${username}/krun/ and
> Firefox displays it ok, but I'd much rather be seeing it in Konqueror.

It only displays it here if there's no selection page (POSIX vs Linux 
version of the man page; for example, "man:longjmp").



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: How can I bring back Konqueror as my man page viewer?
  2012-08-19  1:48       ` Nikos Chantziaras
@ 2012-08-19 19:34         ` »Q«
  0 siblings, 0 replies; 8+ messages in thread
From: »Q« @ 2012-08-19 19:34 UTC (permalink / raw
  To: gentoo-user

On Sun, 19 Aug 2012 04:48:19 +0300
Nikos Chantziaras <realnc@gmail.com> wrote:

> On 19/08/12 04:30, »Q« wrote:
> > On Sat, 18 Aug 2012 18:10:01 +0300
> > Nikos Chantziaras <realnc@gmail.com> wrote:
> >
> >> On 18/08/12 17:41, Volker Armin Hemmann wrote:
> >>> Am Samstag, 18. August 2012, 03:51:55 schrieb Nikos Chantziaras:
> >>>> 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?
> >>>
> >>> open system-settings. Open mime/applications/whatever submenu
> >>> (called 'Dateizuordnungen' in German).
> >>>
> >>> application-xtroff-man
> >>> and
> >>> application-xtroff-man-compressed
> >>>
> >>> should be the things you have to set. Click on 'embedded' and
> >>> choose KManPart
> >>>
> >>> And that it is always shown in the embedded part.
> >>>
> >>> We are talking about KDE here - not gnome. It should not be
> >>> necessary to fiddle with desktop files.
> >>
> >> This is already set up that way.  Except that
> >> x-troff-man-compressed is grayed out because there's no file
> >> extension listed.
> >
> > It's not greyed for me, and I just set both up that way, but KDE is
> > still opening man:foo with my default web browser, Firefox.  KDE is
> > putting a decompressed copy in /var/tmp/kdecache-${username}/krun/
> > and Firefox displays it ok, but I'd much rather be seeing it in
> > Konqueror.
> 
> It only displays it here if there's no selection page (POSIX vs Linux 
> version of the man page; for example, "man:longjmp").

Ah, I see what you mean.  It's the same here.




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-08-19 19:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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«

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox