Compiz shutdown hook?

Posted by ??? on Super User See other posts from Super User or by ???
Published on 2011-01-09T17:29:25Z Indexed on 2011/01/11 1:56 UTC
Read the original article Hit count: 286

Filed under:
|
|
|

I want to check 10+ local Git repositories if they have any unpushed commit, before shutdown.

(I always forgot to push them, so later, the next morning I came office and back home again)

I think maybe the shutdown process can check some conditions to meet, if any condition is not met, then give the user the choice to continue to shutdown or just cancel.

Then, I can write something to hook the shutdown to check my Git repository to push.

EDIT

I have changed the title from Ubuntu shutdown hook to Compiz shutdown hook. I want to hook to the small lovely shutdown button, rather then click another ugly shortcut icon on the desktop.

© Super User or respective owner

Related posts about ubuntu

Related posts about shutdown