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

Allow drop-in browser profile in {/etc,$XDG_CONFIG_HOME}/psd/browsers/ #360

Open
Freso opened this issue May 31, 2023 · 1 comment
Open

Comments

@Freso
Copy link

Freso commented May 31, 2023

I note that the response to several requests of support for new browsers is to copy an existing profile and modify it for the browser in question (or symlink one from the contrib/ directory). AFAICT the only way for psd to pick up this profile is if it’s located in /usr/share/psd/browsers/.

Since people shouldn’t put local configuration in /usr it would be nice if psd would either look in /etc/psd/browsers and/or $XDG_CONFIG_HOME/psd/browsers/ for additional browser definitions – maybe the latter if it continues to be a user-service, but maybe the former if you want to go the path of starting as root and then dropping to an unprivileged user as you have discussed in some of the security oriented issues.

A bonus would be if a file exists in $ETC/psd/browsers/ that shares the name of one in /usr/share/psd/browsers/ it would then override the /usr one (similar to how e.g. pacman hooks and systemd service files work).

@graysky2
Copy link
Owner

graysky2 commented Jun 3, 2023

PRs are welcome

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