Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting Default Applications #44

Open
MohamedaliS opened this issue Jul 1, 2022 · 1 comment
Open

Setting Default Applications #44

MohamedaliS opened this issue Jul 1, 2022 · 1 comment

Comments

@MohamedaliS
Copy link

How to set default application for PDF files? Is there any short key to right click a file and choose "open with" a specific application?
The system settings for default applications have options only for Web, mail, calendar, music, video and photos. Of course, the pdf file gets opened in browser. I don't want the file to be opened by browser. I want it to be opened by Document viewer. Suggestions on how to set up the default application for PDF, document and apk (The apk files are opened by archive manager. I am clueless on how to open it with Waydroid) will be greatly helpful.

@dasoe
Copy link

dasoe commented Apr 20, 2023

Dear MohamedaliS,

I have the same question and did not find an answer using the system and GUI. But the question about pdfs (and other files) you can solve the Linux way.

You should find a file
~/.config/mimeapps.list
which holds Default applications for mime types.

In this file you should change or add the line for pdf like this:
application/pdf=org.gnome.Evince.desktop

You can find a lot more information on this here.

org.gnome.Evince.desktop should be standard Document viewer in phosh, but you might double check the correct name of the desktop file of the application in
/usr/share/applications/

hope this helps
(This does probably not answer your question about waydroid, I do not use it, so don't know about that, sorry).

have a great day!
oe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants