Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-28-2013, 06:11 AM
|
#1
|
LQ Veteran
Registered: May 2008
Posts: 7,067
|
14.1RC3 Konqueror http://inode/directory?
Clean install of 14.1RC3, brand new user, logged into kde.
When I click on the default Konqueror launcher on the taskbar, it tries to open http://inode/directory, which annoyingly gets intercepted by my idiotic ISP's failed resolution catcher which redirects to http://advancedsearch2.virginmedia.com/main?InterceptSource=0&ClientLocation=uk&ParticipantID=jqlc435patgs4w79dx7g33u8otdryt35&FailureMode= 1&SearchQuery=&FailedURI=http%3A%2F%2Ftext%2Fhtml&AddInType=4&Version=2.1.8-1.90base&Referer=&Implementation=0
If I remove /etc/resolv.conf so that the lookup fails, Konqueror opens a blank page (no error messages).
Now, I know the ISP shouldn't be doing this as it's not compliant to the RFCs, but many of them are doing it these days.
It's only the icon on the taskbar launcher, the one in the K menu for Konqueror "Web browser" works just fine.
So, what's this http://inode/directory all about then?
Last edited by GazL; 10-28-2013 at 07:21 AM.
Reason: thanks Ruari. :)
|
|
|
10-28-2013, 07:04 AM
|
#2
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557
|
Quote:
Originally Posted by GazL
P.S. How do I stop the forum from turning those into URLs other than wrapping them in code blocks?
|
So that you can write URLs like http://inode/directory without breaking the flow of the sentence and/or making a link? Just use a pair of [noparse][/noparse] tags around the URL, e.g. [noparse]http://inode/directory[/noparse]
P.S. And yes I did have to put [noparse][/noparse] tags around my [noparse][/noparse] tags to explain this!
P.P.S. If you are ever using another forum that supports BBCode but does not support [noparse][/noparse] tags, you can sometimes achieve the following (at least for URLs) by wrapping other tag types around the URL, e.g. [b]http://inode/directory[/b]. If you don't want formatting try using [size][/size] or [color][/color] tags and intentionally setting the formatting to be the same as the surrounding text (e.g. set [size=2]http://inode/directory[/size] or [color=black]http://inode/directory[/color]). If you want to be really clever [size][/size] or [color][/color] tags around the some of the square brackets or other tags to achieve a [noparse][/noparse] workalike, e.g. write [size=2][[/size]b]bold text[/b[size=2]][/size] to display [b]bold text[/b]
Last edited by ruario; 10-28-2013 at 07:48 AM.
Reason: Updated example to use [noparse][/noparse], used shorter example URL, added another post script
|
|
1 members found this post helpful.
|
10-28-2013, 07:18 AM
|
#3
|
LQ Veteran
Registered: May 2008
Posts: 7,067
Original Poster
|
Thanks Ruari. That's exactly what I meant. I tried [pre][/pre] but that didn't work.
|
|
|
10-28-2013, 08:33 AM
|
#4
|
LQ Veteran
Registered: May 2008
Posts: 7,067
Original Poster
|
update: I think the blank page I was referring to, is the empty folder view from konq's filemanager mode. Interestingly, if I remove the two default konqueror icons (bottom left of the panel, next to the K menu) and add an individual launcher icon for Konq and edit it's settings to use the filemangement profile, I don't get the attempted http://inode/directory page fetch, it goes straight to the empty directory view.
I'm not that familiar with kde, and haven't yet been able to find where the tasbar saves its config to investigate further.
|
|
|
10-28-2013, 09:17 AM
|
#5
|
Member
Registered: Sep 2011
Posts: 925
|
Quote:
Originally Posted by GazL
When I click on the default Konqueror launcher on the taskbar, it tries to open http://inode/directory, which annoyingly gets intercepted by my idiotic ISP's failed resolution catcher
|
Name lookups for Hostnames without any FQDN should never be forwarded to your ISP anyway. There are multiple solutions for this:
1. You can add 8.8.8.8 as your nameserver to /etc/resolv.conf to get rid of your forging ISP resolver.
-or-
2. You can enable dnsmasq (included with Slackware) as a cache for 8.8.8.8 and configure it to never forward plain names. Then remove the nameserver entries from resolv.conf
-or-
3. You can get a proper DNS setup with BIND (included with Slackware) using a zone file for your local domain and acting as a full-recursive resolver. Then remove the nameserver entries from resolv.conf
|
|
|
10-28-2013, 09:37 AM
|
#6
|
LQ Veteran
Registered: May 2008
Posts: 7,067
Original Poster
|
Yep, I was aware of those options with regard to dns, I was more interested in why konq was attempting a http request on inode/directory in the first place, and why it only does it when started from the default icon on the panel.
|
|
|
10-28-2013, 10:33 AM
|
#7
|
LQ Veteran
Registered: May 2008
Posts: 7,067
Original Poster
|
Ok, getting somewhere. It's the quicklaunch widget which appears to be configured to run a "kfmclient openURL %u text/html" and "kfmclient openURL %u inode/directory"
Not sure what %u is supposed to represent but I'm guessing it contains nothing and so the inode/directory and text/html are being treated as URLs. So what is %u meant to contain? Is fixing it simply a case of wrapping it in "" quotes?
Another interesting thing was that the default instance of this didn't show the "Edit launcher" or "quicklaunch settings" right click menu items which was why I was having difficulty tracking down what this launcher was, but by removing it from the panel and re-adding quick-launch I recognised it.
Last edited by GazL; 10-28-2013 at 10:35 AM.
|
|
|
04-01-2014, 11:18 AM
|
#8
|
LQ Newbie
Registered: Apr 2014
Posts: 1
Rep:
|
Ok, hi all. Sorry it took so long for someone to get back to you.
I too have been having trouble with this same problem, only on all sorts of systems for as long as I have used KDE. Ubuntu, Fedora, Arch Linux, and even OpenSUSE have this problem.
The %u argument is there to represent a single URL. Therefore, the program is parsing inode/directory as the URL you wish to go to. This allows something like a file manager to be able to send Konqueror a local HTML file, but it really shouldn't show up in the taskbar. If you never need to open an HTML with Konqueror, the quickest way around this is to simply remove the %u argument. The downside is, if you edit the wrong file, you will no longer be able to open HTML files stored locally on your computer with Konqueror from Dolphin, or another file manager. Since Konqueror uses kparts in order to show all content, using it as a file manager and telling it to preview the file with KHTML or webkit instead of using Dolphin to launch it will suffice as a workaround.
Personally, I don't love Konqueror as a file manager, it isn't quite as nice as Dolphin and will preview many files instead of opening them by default unless you tell it otherwise. Therefore, I just got rid of the quicklaunch icon and dealt with the Kickoff menu. But this is another way to handle it.
Hope it helps!
JimmyDean886
|
|
|
04-01-2014, 12:06 PM
|
#9
|
LQ Veteran
Registered: May 2008
Posts: 7,067
Original Poster
|
Quote:
Originally Posted by jimmydean886
The %u argument is there to represent a single URL. Therefore, the program is parsing inode/directory as the URL you wish to go to.
|
Yep, that's the conclusion I came too also Jimmy. If I remember rightly I worked around the problem by double-quoting the %u on the launcher settings as I was contemplating doing above. Anyway, I'm not normally a KDE user (I was just reporting what I found while trying it out during the Release Candidate testing phase of Slackware 14.1), but maybe some other kde users will find the info in this thread helpful if they hit the same issue. Thanks for taking an interest.
|
|
|
All times are GMT -5. The time now is 09:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|