How to execute some command on GDM Login and Logout?
Hi,
How we can configure a script to be executed automatically on GDM login, as well as on logout? Actually I want to synchronize two directoris on login and logout using unison ($unison ~/dir1 ~/dir2 -batch). The command works correctly from command line. I tried adding the command to following files, but no luck: 1- .bash_profile: Its not executed when logging in through GDM. 2- .gnomerc: Its executed on GDM Login 3- ?? :Which script executes on Logout? Any ideas? Jabran |
Put it in ~/.xinitrc - that's the file that X Window executes before it starts.
|
Quote:
Thanks for any further hint. |
All times are GMT -5. The time now is 09:28 PM. |