Xfce Forum

Sub domains
 

You are not logged in.

#26 2023-10-02 22:15:46

jprofesorek
Member
Registered: 2023-10-02
Posts: 3

Re: How to mass-trust .desktop files via shell?

ToZ wrote:

How about creating a small script and creating an /etc/xdg/autostart entry to execute it, that checks and sets the permissions if they are not set?

Hm... that's a reasonable workaround.
It still defeats the purpose of the trust check in Desktop dir, as every new session auto-trusts all .dekstop files there.
I'll test something alike (probably putting the code it in a 'onsessionopen' pam_script, for one that we use already checks whether it has to finish setting up a home directory that has just been created by pam_mkhomedir).
Thanks for the idea, I feel I should have seen that myself.

Offline

Board footer

Powered by FluxBB