You are not logged in.
Hi,
When I save a session from "Sessions and Startup" it gets saved in .cache
When I delete the cache folder, the session is also gone, and I have to recreate and re-save it.
Please let me know if there is a way to save the session in a more permanent location. Thanks.
Last edited by manujchandra (2022-10-29 10:02:27)
Offline
Hello and welcome.
~/.cache is part of the freedesktop base directory spec. Xfce puts its session data into XDG_CACHE_HOME. You can define another $XDG_CACHE_HOME, but all apps will then use that location instead.
Why are you deleting the .cache directory?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Hi ToZ,
Hope you are well. I am trying to create a distro spin that uses XFCE. I will be using QTile as the tiling window manager. QTile once setup needs a session to be saved. If this session gets deleted, QTile no longer loads, and it reverts to xfce desktop.
https://www.youtube.com/watch?v=zdESlgVl0IU
If the user accidentally deletes the cache, or uses a cleaner that deletes it, or manually deletes it to reclaim space, the OS experience breaks.
I want to remove this dependency so Qtile always loads correctly even if cache is deleted.
Last edited by manujchandra (2022-10-16 05:12:04)
Offline
I want to remove this dependency so Qtile always loads correctly even if cache is deleted.
Have a read of this wiki document for an example of storing the new window manager entry in xfconf to avoid the sessions issue.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
I was able to achieve what I wanted by editing xfce4-session.xml and removing 3 entries for desktop, window manager and panel. Thanks.
Last edited by manujchandra (2022-10-29 10:01:44)
Offline
[ Generated in 0.013 seconds, 9 queries executed - Memory usage: 534.96 KiB (Peak: 535.8 KiB) ]