LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-23-2005, 08:04 PM   #1
rickseiden
LQ Newbie
 
Registered: Oct 2004
Posts: 22

Rep: Reputation: 15
URL Launching


I'm running Mandrake 10.0 with KDE 3.4. I have changed the file association to launch Firefox for HTML files. If I click on the * button, then Run Command... and type in www.yahoo.com, it copies yahoo to the kdecache, and displays it from there (file://var/tmp/kdecache-rseiden/krun/1823). If I type www.yahoo.com in the address bar of Firefox, it displays as it should.

If I right click on the desktop and create a new URL "shortcut", when I start it, it loads Firefox, but tries to load the cached version of the url.

In otherwords, if I create a shortcut for http://localhost/phpMyAdmin, it will try to go to file://var/tmp/kdecache-rseiden/krun/1795.0.phpMyAdmin.

How can I make it so Firefox loads the web page I type into the Run Command... dialog without having to type /usr/local/bin/firefox/firefox www.yahoo.com ????

Thanks
 
Old 06-06-2005, 06:50 PM   #2
chris8myshoe
LQ Newbie
 
Registered: Jan 2004
Location: Mountain View, CA
Distribution: SuSE and FreeBSD
Posts: 10

Rep: Reputation: 0
I'm having a very similar problem. When I click on a link from KMail, Firefox grabs the page, puts it in kdecache and then shows me the page from kdecache (file:///tmp blah blah blah..). WHAT'S THE DEAL?!?!? It didn't used to do this?

Any help would be great!

Chris
 
Old 06-06-2005, 07:28 PM   #3
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
You may want to check the Advanced >> Cache options and make sure it has compare to network every time checked. This will force the page to re-load from the network not cache.

KC
 
Old 06-06-2005, 09:02 PM   #4
chris8myshoe
LQ Newbie
 
Registered: Jan 2004
Location: Mountain View, CA
Distribution: SuSE and FreeBSD
Posts: 10

Rep: Reputation: 0
OK, checked my Firefox -> Preferences -> Advanced section, there doesn't appear to be anything about caching. I also checked the Proxy section, and proxy is NOT enabled. I also tried setting -> Preferences -> Privacy "cache" size to 0 and cleared the cache. But links from Kmail still don't get me directly to the website.

On the KDE side of the house, I tried disabling cache from the Control Center -> Internet & Network -> Web Browser -> Cache. I didn't really expect that to work anyway since I figured that controls Konqueror only.

On the KMail side of the house -- I couldn't find any setting related to this. However, there was a note in the FAQ that points users to the File Association controls in Control Center (that was nice).

It seems that the problem could happen at any point in the chain from "click" to "view". I don't think it's Firefox and here's why. When I type
firefox "http://www.yahoo.com"
at the command line, my existing firefox window spawns another tab and opens the page just like it's supposed to (as dictated in my Firefox preferences). When I click from Kmail it loads a cached page IN THE CURRENT TAB (like it's NOT supposed to). I think Firefox is being told by KDE to point at a cached page (a page that it --KDE-- cahced right after I clicked on the link in Kmail and before Firefox is told anything). But that's just my guess.

Any ideas?
 
Old 06-07-2005, 01:54 AM   #5
chris8myshoe
LQ Newbie
 
Registered: Jan 2004
Location: Mountain View, CA
Distribution: SuSE and FreeBSD
Posts: 10

Rep: Reputation: 0
THE SOLUTION!!

Well, the answer, as usual, is in the little details. This will fix rickseiden's problem as well.

In the File Associations control (Control Center -> KDE Components -> File Associations) when you go to text->html to link html files to Firefox, your "Execute->Command" should say something like "/usr/local/bin/firefox/firefox %u". If you've left off the %u then KDE doesn't know to pass Firefox the URL directly, thus does the caching bit... THAT'S IT!!

I tested it on my SuSE box at home but not my FreeBSD box at work. I have no doubt it'll work though since I duplicated the exact problem here at home. I even duplicated rickseiden's scenario with the Run Command.

Chris
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X not launching Saxu Linux - Newbie 3 08-11-2005 03:25 PM
ERROR The requested URL could not be retrieved While trying to retrieve the URL: /re Niceman2005 Linux - General 1 06-29-2005 10:51 AM
Launching Blacbox Permaximus Linux - Newbie 3 03-12-2005 06:10 PM
launching firefox from a url/email link problems nandish Linux - Newbie 1 06-05-2004 09:36 AM
Launching Nethack msymms Linux - Newbie 5 11-03-2003 10:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration