This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Dolphin tries to open odt files in Firefox

Tags: None
(comma "," separated)
User avatar
Thailandian
Registered Member
Posts
30
Karma
1
OS
@bcooksley
I hope I did this correctly - just to check:
1) I opened kdebugdialog
2) deselected "Disable all debug output"
3) clicked "Select All"
4) clicked "Apply"
5) returned to Konsole and opened an odt file using kde-open

Here is the output:
unnamed app(10453) ClientApp::doIt: Creating ClientApp
kioclient(10453) ClientApp::kde_open: KUrl("file:///home/ian/Storage/EWAP/Dropbox/Assessment/TPF progress test (food & drinks).odt")
kioclient(10453)/kio (KRun) KRun::slotTimeout: KRun(0x7a2fe0) slotTimeout called
kioclient(10453)/kio (KRun) KRun::init: INIT called
kioclient(10453)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-ian/ksycoca4"
kioclient(10453)/kio (KRun) KRun::init: MIME TYPE is "application/vnd.oasis.opendocument.text"
kioclient(10453)/kfile (kdelibs) KRecentDocument::add: KRecentDocument::add for "file:///home/ian/Storage/EWAP/Dropbox/Assessment/TPF%20progress%20test%20(food%20&%20drinks).odt"
kioclient(10453)/kio (KRun) KRun::run: KRun::run "/usr/share/applications/firefox.desktop"
kioclient(10453)/kio (KRun) KRun::run: First url "file:///home/ian/Storage/EWAP/Dropbox/Assessment/TPF%20progress%20test%20(food%20&%20drinks).odt"
kioclient(10453)/kio (KRun) supportedProtocols: supportedProtocols: ("http", "https", "ftp")
kioclient(10453)/kio (KRun) resolveURLs: Looking at url= KUrl("file:///home/ian/Storage/EWAP/Dropbox/Assessment/TPF progress test (food & drinks).odt") supported= true
kioclient(10453)/kio (KRun) KRun::run: startServiceByDesktopPath worked fine
kioclient(10453)/kio (KRun) KRun::slotTimeout: KRun(0x7a2fe0) slotTimeout called
Hope that sheds some light.

I just remembered something else that may be relevant. od* documents are now represented in the taskbar by an x-windows icon rather than a LibreOffice icon. This is regardless of how I open the documents.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
What is the output of the following command please?
Code: Select all
kreadconfig --group General --key BrowserApplication


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Thailandian
Registered Member
Posts
30
Karma
1
OS
bcooksley wrote:What is the output of the following command please?
Code: Select all
kreadconfig --group General --key BrowserApplication

The output is
firefox.desktop
That's about what I would have expected, but hopefully it holds some special meaning to you.

Thanks again for your support on this.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Ok, I tried testing that same value (along with some others) on my system. Unfortunately, it still worked normally on my system.

Can you reproduce this under a new user?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
TheBlackCat
Registered Member
Posts
2945
Karma
8
OS
I am seeing this with svg files (they try to open on rekonq, which is not my default browser).


Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Does Rekonq show an association to these files in System Settings > File Associations? I know that previously web browsers, including Konqueror have been associated with SVG files because they are able to handle them.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Thailandian
Registered Member
Posts
30
Karma
1
OS
Sorry for not replying for so long - been under the pump at work.

I eventually decided that this was only one of several niggling problems I was having, so finally bit the bullet today and upgraded to OpenSuse 12.1.

Now I think about it, I tried to upgrade when 12.1 came out, but went back to 11.4 due to network manager problems. Perhaps upgrading, then downgrading might have messed up my settings.

Anyway, upgrading to 12.1 has solved the problem with .odx files for me.

I don't think I should mark this thread as "solved" because upgrading your OS seems a bit radical, and other are still experiencing similar problems.

@bcooksley: thanks again for your efforts. I never got around to setting up a new user as you suggested, but I did try logging in as root, and the problem remained.
beermatt
Registered Member
Posts
1
Karma
0
I have a similar problem, but it is .dia files opening in Chrome. Chrome isn't even my default browser I use firefox!

Kubuntu 12.04.3

I've checked all the same things as suggested in this post such as kbuildsycoca4 --noincremental, kmimetypefinder says application/x-dia-diagram (accuracy 100), checked the file associations from the properties then clicking on the spanner, manually checked /etc/mime.types, usr/share/applications/defaults.list and and mimeinfo.cache, ~/.local/share/applications/defaults.list and mimeapps.list, out of desperation I even tried deleting /usr/share/applications/google-chrome.desktop! Still frustratingly opens in Chrome.

Output of kde-open doesn't seem to shed much light on it:
kioclient(29630) ClientApp::kde_open: KUrl("file:///home/me/myfile.dia")
kioclient(29630)/kio (KRun) KRun::slotTimeout: KRun(0x84d9e48) slotTimeout called
kioclient(29630)/kio (KRun) KRun::init: INIT called
kioclient(29630)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-me/ksycoca4"
kioclient(29630)/kio (KRun) KRun::init: MIME TYPE is "application/x-dia-diagram"
kioclient(29630)/kfile (kdelibs) KRecentDocument::add: KRecentDocument::add for "file:///home/me/myfile.dia"
kioclient(29630)/kio (KRun) KRun::run: KRun::run "google-chrome.desktop"
kioclient(29630)/kio (KRun) KRun::run: First url "file:///home/me/myfile.dia"
kioclient(29630)/kio (KRun) supportedProtocols: supportedProtocols: ("http", "https", "ftp")
kioclient(29630)/kio (KRun) resolveURLs: Looking at url= KUrl("file:///home/me/myfile.dia") supported= true
kioclient(29630)/kio (KRun) KRun::run: startServiceByDesktopPath worked fine
kioclient(29630)/kio (KRun) KRun::slotTimeout: KRun(0x84d9e48) slotTimeout called
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Is anything associated with the mimetype application/x-dia-diagram in System Settings > File Associations?
If nothing is, does associating something help?

Also, can you check to see what the preferred browser is set to in System Settings > Default Applications > Web Browser?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed