Default viewer for unknown file type Topic is solved
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Default viewer for unknown file type
Hi,
opening files of type "unknown", the reader here is always the pdf reader by default. Selecting some other editor is lost the next time trying to open such a file. In the Preferences->Applications there is no type "unknown" in the list.
opening files of type "unknown", the reader here is always the pdf reader by default. Selecting some other editor is lost the next time trying to open such a file. In the Preferences->Applications there is no type "unknown" in the list.
Re: Default viewer for unknown file type
Probably you need to do this in your OS. Most likely you'll have xdg-utils installed. So, do the following.
Find current application to open "unknown" type:
Change it to something else:
Find current application to open "unknown" type:
Code: Select all
xdg-mime query default application/octet-scream
Code: Select all
xdg-mime default mpv.desktop application/octet-scream
Re: Default viewer for unknown file type
This is empty here.adesh wrote:Probably you need to do this in your OS. Most likely you'll have xdg-utils installed. So, do the following.
Find current application to open "unknown" type:Code: Select all
xdg-mime query default application/octet-scream
However I tried setting it, but Palemoon still opens the unknown file type with my pdf viewer:
Code: Select all
$ xdg-mime default gvim.desktop application/octet-scream
$ xdg-mime query default application/octet-scream
gvim.desktop
- stevenpusser
- Project Contributor
- Posts: 903
- Joined: 2015-08-01, 18:33
Re: Default viewer for unknown file type
Should be "octect-stream" instead of "-scream". Must be getting too close to Halloween!
Re: Default viewer for unknown file type
Indeed! Thanks steve for catching the typo.
Re: Default viewer for unknown file type
Works, thanks! btw. how do I delete that silly scream default now?
Why can't Palemoon set a viewer for the unknown filetype? It can do that for all other types as well. And even if I selected gvim manually by "Other.." then it did not remember for the next time or provided it in the listbox.
Why can't Palemoon set a viewer for the unknown filetype? It can do that for all other types as well. And even if I selected gvim manually by "Other.." then it did not remember for the next time or provided it in the listbox.
Re: Default viewer for unknown file type
Sorry for causing you trouble. Please delete the relevant line from ~/.config/mimeapps.listMassimo_B wrote:Works, thanks! btw. how do I delete that silly scream default now?
Cannot comment with with certainity, but. Beacuse unknown file type by definition is unknown and since we are unsure about the kind of data the file may have, there is less of a point to set a default viewer for that type. In other words, it is highly unlikely that a program which successfully opens an unknown file today will be able to handle all the other unknown files.Massimo_B wrote:Why can't Palemoon set a viewer for the unknown filetype?