Prevent saving xfce cache data onto the disk#28
Conversation
|
Maybe better something based on |
Set XDG_CACHE_HOME to `/tmp/xfce-cache/$LOGNAME` to prevent forensic artifacts related to dispVMs from being saved onto the disk.
|
There is (at least) one issue with setting Maybe there is a way to set it only for xfwm4 process? Or alternative method to avoid saving this piece of data (some setting?) ? |
Time for an XFWM4 patch? |
If there is no other option, maybe. But I hope it won't be necessary. |
|
I don't think there's a way to set an environmental variable just for xfce as every process executed by xfce will also inherit that variable, but it should be possible to change the fallback directory in libxfce4util's makefile and not set the |
IMO it's worth exploring this option. If the change is simple, we can go this way. And hopefully the patch should be acceptable upstream, so we won't need to maintain it indefinitely. |
It turns out that getting rid of |
Upstream first. When it get accepted, it will probably be worth backporting in our repo to older version. |
|
for the record, upstream patch: https://gitlab.xfce.org/xfce/xfwm4/-/merge_requests/98 |
@mati7337 Upstream patch was not accepted yet, but there is a merge conflict. Can you fix it? It increases the chance of it every being accepted. |
|
The rebased version of that MR is at https://gitlab.xfce.org/xfce/xfwm4/-/merge_requests/181. There is some more discussion there, with final conclusion it's probably a correct change. But still not merged... |
|
And there is a separate PR to our xfwm4 package - QubesOS/qubes-desktop-linux-xfce4-xfwm4#23 |
Set XDG_CACHE_HOME to
/tmp/xfce-cache/$LOGNAMEto prevent forensic artifacts related to dispVMs from being saved onto the disk.