Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Firefox open pdfs with openoffice rather than okular
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Decha
n00b
n00b


Joined: 12 Jul 2003
Posts: 47
Location: Saint-Petersburg

PostPosted: Thu Mar 11, 2010 12:12 pm    Post subject: [SOLVED]Firefox open pdfs with openoffice rather than okular Reply with quote

Hello All,


Every time I download pdf with Firefox and doubleclick on it in Download window, I am getting it opened with OpenOffice. I would like to have Okular instead. Unfortunately I am not able to track where it gets this association from.

I am using KDE4.3.5 and Firefox 3.5.8. I have okular specified for pdf in Firefox->Edit->Preferences->Applications, and I have okular associated in KDE (when I doubleclick on pdf doc in Dolphin, it starts okular). But still, download window launches OO.

That is very annoying...

Any ideas?

Thank you.


-Decha.
_________________
When It's Done - It's Done!


Last edited by Decha on Fri Mar 12, 2010 7:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 12849
Location: Ste-Foy,Canada

PostPosted: Thu Mar 11, 2010 1:20 pm    Post subject: Reply with quote

I think that you should associate all your .pdf to okular.

Right click on a file using dolphin or konqueror and I think that you can change that directly inside KDE.
_________________
Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec
Back to top
View user's profile Send private message
Decha
n00b
n00b


Joined: 12 Jul 2003
Posts: 47
Location: Saint-Petersburg

PostPosted: Fri Mar 12, 2010 9:05 am    Post subject: Reply with quote

Hello d2_racing,


As I mentioned in my initial post this is done. Dolphin has .pdf associated with okular and starts it properly. This is only mozilla-specific.
BTW, also if I click on pdf link in firefox and choose "open with..." it opens with okular by default. But if I save and double-click in download window - open office starts. Weird.

Could this be some gtk association? I don't have gnome installed and honestly have no idea how this is defined.

Thanks.


-Decha.
_________________
When It's Done - It's Done!
Back to top
View user's profile Send private message
Ahenobarbi
Developer
Developer


Joined: 02 Apr 2009
Posts: 320
Location: Warsaw, PL

PostPosted: Fri Mar 12, 2010 9:19 am    Post subject: Reply with quote

Maybe Reseting download actions will help ( remember
that you can move configs when you are told to remove them).
_________________
My printer has strange colors
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 12849
Location: Ste-Foy,Canada

PostPosted: Fri Mar 12, 2010 1:26 pm    Post subject: Reply with quote

Do you have a .mozilla or something similar inside your home directory ?

If so, maybe you could try to reset the settings :P
_________________
Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec
Back to top
View user's profile Send private message
Decha
n00b
n00b


Joined: 12 Jul 2003
Posts: 47
Location: Saint-Petersburg

PostPosted: Fri Mar 12, 2010 7:03 pm    Post subject: Reply with quote

Thanks, guys, I was able to figure this out with your help ;)

My mistake was to trust firefox displays settings that are used - but there are no mime types in preferences...
Finally what I did was to move out ~/.mozilla directory, start with a blank config (issue didn't happen on blank config) and then I copied over mimeTypes.rdf from the new config to the old one and moved it back. Works like a charm!

Thank again, this is solved.


-Decha.
_________________
When It's Done - It's Done!
Back to top
View user's profile Send private message
d2_racing
Moderator
Moderator


Joined: 25 Apr 2005
Posts: 12849
Location: Ste-Foy,Canada

PostPosted: Sat Mar 13, 2010 3:52 am    Post subject: Reply with quote

Nice :P
_________________
Sysadmin of Funtoo-Québec.org
Wiki
Signature
IRC on Freenode : #funtoo-quebec
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum