Default app for HTML - error

I have installed Swiftfox, and made it default, and after, removed it. Firefox is set as default, but when I want to open any html file by double clicking, it gives error as swiftfox does not exists.

I went on right-click and verified, firefox is set as default.
Then I went to personal settings, gone to Default apps… firefox already there, but I tried to change it to other (flock), setting is disregarded.

I suspect that link “firefox” is made to swiftfox, but I dont have it anywhere on menu…

Somewhere this settings is written… can anyone direct me?

You know I run into kind of the same problem in that HTML files would not load any browser. Oddly, I installed the gnome evolution browser while playing with Banshee and when I ran Firefox the next time, I was told it was not my default browser and should it be. I answered yes and low and behold, HTML files now load Firefox. It is kind of a strange solution, but you might try it.

Thank You,

You may be suffering from the same problems I did a while ago trying to convince Evolution (a Gnome app) to use Firefox instead of the default Gnome browser:

  • With YAST, install gconf-editor
  • From a Terminal, run: gconf-editor
  • Navigate to desktop/gnome/url-handlers/http
  • For “Command”, enter without quotes: ‘firefox %s’
  • Repeat this for desktop/gnome/url-handlers/https

I do not use Gnome… kde4
but thanks

You should be able to fix that in Personal settings - Advanced - File Associations.

I did that, as I mentioned it in post above. It’s “firefox”.

I think that the problem is that “firefox” points to non-existing swiftfox directory. This setting is written somewhere, but I do not know where. It is not in /home/myuser

Then I went to personal settings, gone to Default apps… firefox already there, but I tried to change it to other (flock), setting is disregarded.

Thats not the same thing as gogalthorp has suggested

You should be able to fix that in Personal settings - Advanced - File Associations.

The latter is directly responsible for KDE selecting the preferred app when an html file is clicked on.

If it was me, I might try to uninstall and then reinstall Firefox OR, you might downgrade Firefox to an older version and then upgrade it back again to the latest version, if you have not already tried that. See if this might cause something good to happen. Further, while you are not using GNOME, it does not hurt, unless you are running low on disk space, to load the two GNOME patterns and allow it to install. Thus making it possible to run GNOME apps in KDE, give you a backup plan should you blow up KDE and it might allow Firefox to heal its self as it did for me.

Thank You,

Edit: Already submitted post, and disconnected from Internet.

Nope… RESOLVED THE PROBLEM

how stupid…
Link in the menu for “firefox” pointed to non-existing swiftfox. Seems that all settings by file associations try to locate menu item 1st, and if found, use it.

Editing the menu shortcut resolved the problem.

Question for KDE developers: is this the right way to execute things, based on menu item record?

beli0135 wrote:
> Question for KDE developers: is this the right way to execute things,
> based on menu item record?

as this is an openSUSE (and not KDE) forum none of those come here…
not even the openSUSE developers come here often…

you could probably find someone to ask over at kde.org
or, if you want to report a bug you could do that here:
http://en.opensuse.org/Submitting_Bug_Reports


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

I will post bug to KDE.

Did you try my suggestion to use the File association in personal settings? That is the normal way to do it you can set the order to run a given program based on the file extension.

Yes I did. There was a problem. As I said, if I change to Konqueror or Opera, it opens good. If I change to firefox, it doesn’t open, gives error that it cannot found SwiftFox at /home/common/programs/swiftfox

So, I found that menu item named “firefox” had the path above.
Editing this menu item to /usr/bin/firefox %u resolved the problem.

So, I belive it is conception bug in KDE. It shouldnt use menu as repository for locating files.

You are in the wrong place. It is not the default app it is the File Association Screen in the advanced tab. It allows you to associate by extension. That is where it is messed up.

So do I… But Firefox is a Gnome app, therefore it will conform to / be controlled by Gnome settings.

twelveeighty wrote:
> Firefox is a Gnome app

firfox coders would insist it is a mozilla <http://www.mozilla.org/>
app, which runs in Gnome and KDE, XFCE, LDXE and OSX and Android and
and and and and even Redmond game machines…


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

You’re confusing the GNOME Desktop Environment, an OS and a Window Manager.
On Linux, Firefox is a GNOME (GTK) app, no matter what your distro or Window Manager is.

As such, Firefox is controlled by gconf2. If you have a KDE VM around that you can stand to lose, try uninstalling gconf2 and see if you can get Firefox to launch, it won’t work (and your VM will probably be unworkable, so don’t do this on a normal machine).