Re: stopping cinnamon-started apps at logout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/12/14 06:42, Wolfgang S. Rupprecht wrote:
> Ed Greshko <ed.greshko@xxxxxxxxxxx> writes:
>> In your .bash_logout file you could place a "killall" statement and
>> name the process you want to kill off.  See the killall man page.
> Are you seeing .bash_logout called when you exit a desktop session?  I
> don't, but then our setups might differ a bit. (I'm using f20
> w. cinnamon)

Humm....  It has been a *long* time since I've tried that.   I could swear the last time I had it working....

> As an aside, doing it cleanly from .bash_logout would be a bit tricky
> because I wouldn't want it run when any ssh or tty based logout
> happened, only when the logout was from the GUI session that started the
> apps.

I was thinking of checking for the existence of a "DISPLAY" environment variable to avoid that. 

But, if .bash_logout isn't effective on GUI logout my idea is worthless.


-- 
Do not condemn the judgment of another because it differs from your own. You may both be wrong. -- Dandemis
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux