Run Script on GDM Logout?
OS: Ubuntu 7.10
Hello, I am looking for a way to run an rsync backup script when a user logs out of gnome. Is it possible? I've searched the web and found some suggestions like: put it in ".bash_logout", which unfortunately only works if you are using a shell and log out of the shell. Also, I've seen something about K scripts in init.d but I can't make heads or tails of that. Is there an EASY way to run a simple shell script every time someone logs out of Gnome or shuts down the computer? Thanks LP |
Could run a /etc/X11/gdm/PostSession/* script. See http://www.linuxquestions.org/questi...rsions-631968/ (different question, same solution).
|
Quote:
Thanks! |
Quote:
--------------------- Steve Stites |
Quote:
Thanks very much for the help! I'll give it a try. LP |
All times are GMT -5. The time now is 12:49 PM. |