On 01/09/2024 15:24, Dale wrote:
From that link, it looks like that is done manually. In other words,
when I start Firefox, I have to add the process to the cgroup by hand.
Shouldn't there be a way to do it automatically? Like add it to the
command that runs the program name in the application menu?
That was that bit about cgexec! I start a whole bunch of programs from
the terminal, including iirc thunderbird and firefox.
Or I start them by clicking on an icon which fires them up for me.
So just read up on cgexec (including where to find it - I've just tried
and it's not on my system), then edit the .desktop behind your icon to
start firefox *from* cgexec.
Then you (presuming you don't start it by typing firefox at the command
line) will just start as normal, the only change being the icon starts
cgexec and uses that to start firefox rather than starting firefox directly.
Cheers,
Wol