stopping cinnamon-started apps at logout

Ed Greshko ed.greshko at greshko.com
Sun May 11 23:28:30 UTC 2014


On 05/12/14 07:16, Ed Greshko wrote:
> On 05/12/14 00:52, Wolfgang S. Rupprecht wrote:
>> Any ideas?  Do I have to keep track of the PID myself and find a logout
>> hook to hang a kill -HUP onto?  Does .bash_logout or .logout even get
>> called?
> FWIW, I know you're running cinnamon, I just had to go back and figure out what I did several fedora versions ago to kill off a program in a similar situation.  I knew that I did it....but my memory hadn't kicked yet.
>
> I use KDE and KDE has a directory called /etc/kde/shutdown where you can place scripts to run on logout.
>
>

I found this for gnome/gdm.   Maybe it will be useful for you if you use gdm?

http://www.linuxquestions.org/questions/linux-desktop-74/gnome-run-script-on-logout-724453/


-- 
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