Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 1721  / 1 Year ago, tue, february 28, 2023, 4:35:46

I have the problem that when I open some programs/documents in Gnome, the wrong application is launched to open these.



I think I already narrowed the problem, that everything that is called with file:// will be launched with the wrong program (in my case keepassx). I remember that when everything starts, I wanted to start keepassx from my gnome-panel. Ubuntu asked me with what program it should be started. I wondered a little, since I used it already a lot, so I choosed keepassx from the list. But it seems that this has overriden the file-protocol handler.



Some situations where the wrong program is called: shortcuts in my gnome panel (personal folder - which should open nautilus, keepassx, some txt files), synapse (launcher like gnome-do) and firefox finished downloads.



How can I reset this setting to get everything back to normal?



Edit:



The only reliable way to open files currently is via nautilus.



To give an example, a shortcut in the gnome-panel has the following properties:
Name: myfile.txt, Location: file:///home/dag/myfile.txt, Comment: »/home/dag/myfile.txt« öffnen



I use Ubuntu 11.04 with "Gnome-classic" aka Gnome2 2.32.1


More From » gnome

 Answers
7

There are a few places I can think of looking. I'm not entirely sure how you got in this situation, so I'm not sure which is likeliest:




  1. ~/.local/share/applications/defaults.list (see if you have anything suspicious in there)

  2. ~/.local/share/applications/mimeapps.list (likewise)

  3. Run gconf-editor, navigate to /desktop/gnome/url-handlers, and see if you have a file subdirectory in there.



Do any of those help?


[#42716] Wednesday, March 1, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
aslity

Total Points: 336
Total Questions: 133
Total Answers: 98

Location: Zimbabwe
Member since Thu, Jul 21, 2022
2 Years ago
;