Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'd like to get some of the functional of xmonad in gnome. Is it possible to write a shell script that will resize and position the windows that are open on the Gnome desktop?

share|improve this question
    
Devil's pie comes to mind. See here: askubuntu.com/questions/53935/… –  con-f-use Aug 6 '11 at 17:46
add comment

2 Answers 2

up vote 0 down vote accepted

You can do scripts using xdotool.

"What is xdotool?
This tool lets you simulate keyboard input and mouse activity, move and resize windows, etc. It does this using X11's XTEST extension and other Xlib functions."

share|improve this answer
add comment

Another option is wmctrl, that works with any EWMH/NetWM compatible window manager

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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