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