LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-28-2012, 04:10 AM   #1
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
Mime type choosing wrong application, latest KDE 4.8


Finally got the latest updates and KDE 4.8 from Eric's courageous efforts (Thanks Eric) but having a problem with mime type/file associations. But only with LibreOffice spreadsheets with the .ods file extention.

Specifically, clicking on a spreadsheet with this extension launches FF instead of LO. Googled and tries all the advice I could find vis-a-vis deleting kde cache files etc both locally and in /var/tmp/kdecach-me.
Done the usual rename of /home/me/.kde, logged out and back in thus completely recreating kde's hidden directory to cure another problem, so I suspect something else is wrong.

Right clicking shows the prompt in the drop down menu to open with localc, and checking through system settings, the only entry for file associations for types ending with .ods is LibreOffice calc, but when just clicking on the file (either from the desktop or within dolphin) tries to open the file with FF.

Saving the file as (gasp!, shock, horror) a Microsoft .xls file allows LO to open it as one would expect.

I know it's not a big thing but it's really annoying.

Anyone any ideas.

TIA
 
Old 02-29-2012, 11:12 AM   #2
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
I have the same issue. It is also true of text files (odt).

Brian
 
Old 02-29-2012, 12:23 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I can not reproduce this.

I am running slackware64-current, enhanced with my KDE 4.8.0 and my Libreoffice 3.4.5 package.
I have a .ODS file somewhere below my homedirectory. When I open this directory in Dolphin and hover the mouse over the .ODS file, the status bar of Dolphin says "OpenDocument Spreadsheet". When I click the file, LibreOffice starts and the file opens in localc.

What version of LibreOffice and which kind of package do you have installed? The official binaries, or my package?

Eric
 
Old 02-29-2012, 12:38 PM   #4
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Original Poster
Rep: Reputation: 98
Hi Eric,

Currently using LibreOffice 3.3.1 compiled by your good self. Will try the upgrade to 3.4.5 and let you know the result.

Cheers

Vic
 
Old 02-29-2012, 12:42 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by vdemuth View Post
Hi Eric,

Currently using LibreOffice 3.3.1 compiled by your good self. Will try the upgrade to 3.4.5 and let you know the result.

Cheers

Vic
I started adding the mime type definition files to my LibreOffice packages with the start of the 3.4 series... I guess there's at least part of the cause of your issue.

Eric
 
Old 02-29-2012, 02:07 PM   #6
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Original Poster
Rep: Reputation: 98
Ok, I have upgraded to 3.4.5, and there is definitely some improvement. Now at least from within Dolphin, clicking on the file now launches LO calc, but strangely enough, creating a link to the desktop and clicking on it from there causes the previous behaviour of opening with FF.
One thing I forgot to mention is that previously, if I used Konqueror as a file manager there was no issue, just with Dolphin and desktop links. So the current state of play is that only files clicked on via the desktop, (just tried with both a link, and a directly stored file on the desktop), does the FF issue happen.

Vic
 
Old 02-29-2012, 02:29 PM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I cannot reproduce this either.
I opened Dolphin, and dragged the .ODS file to the desktop, thereby creating a "shortcut" to the file in my homedirectory.
When I click that shortcut, LibreOffice Calc opens as expected and shows me the content of the spreadsheet.

Eric
 
Old 02-29-2012, 04:35 PM   #8
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Upgrading to 3.4.5 solved the Dolphin issue for me too, but as with vdemuth the odts and odss are opened in firefox if launched from the desktop. Actually libreoffice does get launched as well, but the document only opens in firefox.

BTW, I also tested 3.5 from slackbuilds.org and it exhibits the same behavior.


Brian
 
Old 02-29-2012, 04:54 PM   #9
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Try removing the "libreoffice-mozplugin" package.

Eric
 
Old 02-29-2012, 05:43 PM   #10
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Actually I had not installed libreoffice-mozplugins at all. So I did install it and it did not change the behavior. (Well, it did slightly, because for the ods, but not the odt, when it started to open in firefox I got a dialog box saying I was trying to open a binary file and asking if I wanted to save it.) Subsequently deleting the package did not change the behavior (except the Save dialog box went away).

Brian
 
Old 02-29-2012, 07:41 PM   #11
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Have you tried selecting a .odt or .ods file in Dolphin, right clicking and selecting Open With -> Other... and choosing the LibreOffice option as well as selecting the remember this association check box?
 
Old 03-01-2012, 01:06 AM   #12
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Original Poster
Rep: Reputation: 98
Removing libreoffice-mozplugin did the trick for me at least. I'll leave this as unsolved for now though as Brian (BCarey) is having similar problems.

Thanks again to Eric for his hard work and assistance.

Vic
 
  


Reply



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
FC5 Reading wrong Mime Type Mathias Cervantes Fedora 2 04-25-2006 04:41 PM
could not find mime type application/octet-stream WhiteTornado Fedora 7 04-12-2006 12:52 PM
mime type application/octet-stream SLP SUSE / openSUSE 1 03-20-2006 05:29 PM
KDE error 'Could not find mime type application/octet-stream' true_atlantis Linux - Software 0 01-04-2006 07:29 PM
Wrong mime type (x-wav instead of mp3) markuzm Fedora 0 03-29-2005 12:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:59 PM.

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