Fedora Linux Support Community & Resources Center
  #1  
Old 15th June 2011, 02:50 PM
remnil Offline
Registered User
 
Join Date: Jun 2011
Posts: 3
linuxchrome
Cannot change default applications or file associations

Hey everyone. I recently upgraded to Fedora 15 and am super-happy with it. Unfortunately, I have a minor issue that I haven't yet figured out how to fix: I can't change the default applications or the file type associations. For instance, I'd like to set Chromium as my default browser. When I first login, I tell it to set itself as default. But after I end my session and log back it, Firefox is back to being the default browser.

I have the same issues when trying to change what applications open filetypes. .rtf files have been opening in Wordpad in Wine. When I try to change it to Writer through the "Open with" dialog, it retains the change for that session but resets after I log out. I actually ended up having to uninstall Calibre because it was opening .odt files instead of LibreOffice and I couldn't change it permanently.

Any thoughts on how I can fix this issue? Any help would be much appreciated.
Reply With Quote
  #2  
Old 15th June 2011, 03:18 PM
Miikka Offline
Registered User
 
Join Date: Apr 2011
Location: Finland
Posts: 293
linuxfirefox
Re: Cannot change default applications or file associations

Chromium problem: System Settings -> System Info -> Default Applications
File type problem: Nautilus -> Right click file -> Properties -> Open With
Reply With Quote
  #3  
Old 15th June 2011, 03:22 PM
remnil Offline
Registered User
 
Join Date: Jun 2011
Posts: 3
linuxchrome
Re: Cannot change default applications or file associations

Hi Miikka. Thanks for responding. I've actually done both those things, several times. And they work for the current session. The problem is that the changes reset once I log out.
Reply With Quote
  #4  
Old 15th June 2011, 03:56 PM
nonamedotc Offline
Community Manager
 
Join Date: Mar 2011
Location: USA
Posts: 3,845
linuxchrome
Re: Cannot change default applications or file associations

Try editing the following files.

/home/yourusername/.local/share/applications/mimeapps.list

You can assign the default applications here.

Alternatively, you could also edit

/home/yourusername/.local/share/applications/defaults.list

-or-

/usr/share/applications/defaults.list.

I believe, if you edit the /usr/share ... it will change the default associations for all users while the one in your home folder will change only for you. I do not know why the same file or smaller versions of the file in /usr/share/... is found in home folder.

Hope this helps.

---------- Post added at 09:46 AM ---------- Previous post was at 09:46 AM ----------

EDIT:
Looking at your problem, I think you might have to edit the file under /usr/share ...

---------- Post added at 09:56 AM ---------- Previous post was at 09:46 AM ----------

Further edit:

Sorry for multiple edits ... Perhaps, this is what you might need to add
Code:
application/rtf=wine-extension-rtf.desktop
Reply With Quote
  #5  
Old 18th June 2011, 06:50 PM
remnil Offline
Registered User
 
Join Date: Jun 2011
Posts: 3
linuxchrome
Re: Cannot change default applications or file associations

Thanks! Editing the file under /usr/share did the trick. I changed all of the instances of "openoffice.org" to "libreoffice" and "mozilla-firefox" to "chromium-browser". I also added "application/rtf=libreoffice-writer.desktop". I still can't set Chromium as the default browser, but that's not a big deal. Thanks again!
Reply With Quote
  #6  
Old 18th June 2011, 07:35 PM
nonamedotc Offline
Community Manager
 
Join Date: Mar 2011
Location: USA
Posts: 3,845
linuxchrome
Re: Cannot change default applications or file associations

Glad that you were able to solve the problem. Could you please mark the thread as 'SOLVED'. Thanks.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] changing default file associations in gnome 3 namphcar22 Using Fedora 8 9th October 2014 07:22 AM
How to change file associations in KDE 4? SpectrumDT Using Fedora 2 20th July 2008 01:33 PM
where and how do I change file associations sweetrain Using Fedora 5 28th February 2008 06:35 PM
Default Filetype Associations - How Do You Change? LinuxBoi Using Fedora 4 23rd March 2005 06:36 PM


Current GMT-time: 18:12 (Saturday, 25-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Nowshera Cantonment - Cibinong Photos - Sa Pa Travel Photos on Instagram