Using the setsid() CLI command is exactly the right choice here. I have restarted the Plasma desktop after logging out and back in and the programs were still running attached to pid 1 (as desired)

What needs to happen now is to fix that annoying memory leak in plasmashell task

Thanks for the post, Kevin


On 11/13/22 20:55, Kevin Williams wrote:
setsid(1) looks like a good tool for detaching magma from bash. Then you could 
safely close bash and the konsole and restart plasma and the X server demons 
(systemd services) every now and then so that you can free up that 50% plus of 
your 32 gigs of ram.

Reply via email to