stopping cinnamon-started apps at logout

Ed Greshko ed.greshko at greshko.com
Thu May 15 03:39:40 UTC 2014


On 05/15/14 11:27, Garry T. Williams wrote:
> On 5-12-14 11:21:51 Ahmad Samir wrote:
>> On 11/05/14 18:52, Wolfgang S. Rupprecht wrote:
>>> I'd assumed that the apps started by cinnamon when I logged in
>>> would also be killed when I logged out.  That doesn't seem to be
>>> the case for non-X11 programs that hang around forever and watch
>>> files.
>> I am not sure but it could be systemd-logind; try editing
>> /etc/systemd/logind.conf and change:
>>
>> #KillUserProcesses=no
>>
>> to KillUserProcesses=yes
>>
>> then reboot the system or restart systemd-logind.service.
>>
>> (Check the logind.conf manual page for more details).
> Although this may very well be the solution that Wolfgang is looking
> for, I suspect that there will be a more fine-grained option evolving
> sometime in the future.  The problem is, how do you kill the programs
> you want killed off upon logout without killing something like
> screen(1)?
>

Well, the 2 "display manager" specific options mentioned earlier, which run scripts that can be tailored to individual needs, would seem to fit that bill.

-- 
Do not condemn the judgment of another because it differs from your own. You may both be wrong. -- Dandemis


More information about the users mailing list