this post was submitted on 07 Jul 2023
15 points (100.0% liked)

Free and Open Source Software

17930 readers
51 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] thingsiplay@beehaw.org 1 points 1 year ago

I recently removed my PDF reader and use Firefox to read PDFs. For that, I created a new Firefox user account, set it up accordingly (with a few dedicated addons, plus making manual CSS changes to the user interface). Then I created a script (in Linux) to run a file or url with this user account instead, associated the script as the default application for the .pdf file format.

Script: firefox-reader

#!/bin/sh
exec firefox --profile ~/.mozilla/firefox/xxxxx.reader -- "${@}"

To create a new profile, you can run Firefox with the commandline option firefox --ProfileManager. The rest is pretty much self explanatory in my opinion.