Is there any way to run a pre-set command everytime any window goes fullscreen? I want to run unclutter whenever an application goes fullscreen and close it when the app leaves fullscreen. I tried devilspie, but it can't match properties like size.

Edit: Or, is there any other way to auto-hide the cursor for every fullscreen window, regardless of the application?


I am not sure exactly want you are trying to achieve but do you manually make the window full screen? like with the F11 key?
If so, you could map a shortcut for that key to execute a small script, so every time you press it it makes the window full screen and also runs a command you want.

| improve this answer | |
  • No, that doesn't do it. I want to hide the cursor regardless of what triggered the fullscreen window or which application it belongs to. – Donarsson Sep 12 '13 at 9:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.