-
Notifications
You must be signed in to change notification settings - Fork 569
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
firecfg: Only use fix_desktop_files automatically when run through sudo #3382
Conversation
Why? A loot user will end with unfixed .desktop files. IMHO it would be better to make it conditional either add
|
Right. I see what you mean. |
What went wrong exactly?
I think the choice for ${HOME}/.local/share/applications is to ensure desktop integration works (more) reliable due to it having precedence over /usr/local/share/applications. E.g. a non-firecfg'ed firefox.desktop under ${HOME} would be executed rather than what firecfg would drop under /usr/local. That would onlt create confusion and/or a false sense of security IMO. |
When I run
I say "error" because everything went fine in the end. It's just reported as such. It's mainly due to @rusty-snake's fix is a good solution to this issue IMHO.
That makes sense, but don't you think it would be even better to make the package manager take care of everything, like putting desktop files in |
@backspac do you want do add this conditional fix? |
There you go. |
You can, but ATM there is one who fix firecfg bugs. That's why I started firecfg.py, I plan to suport also /etc/xdg/autostart. |
Merged, Thanks. |
It also fixes this error when running
firecfg
as root: