I want to control windows via Window manager controls (wmctrl).

I am able to successfully switch between qml application windows using wmctrl commands on the Ubuntu Desktop.

But I am running same applications on Ubuntu Touch Nexus tablet. It results in an error as shown

"Cannot open display".

Does Ubuntu Touch supports the window management? How to achieve this?

share|improve this question
    
Anyone has info on this? – harisha Nov 21 '13 at 5:14

wmctrl is a UNIX/Linux command line tool to interact with an EWMH/NetWM compatible X Window Manager.

Ubuntu Desktop still uses compiz as its compositing window manager, which talks to X server. so wmctl is applicable.

while Ubuntu Touch is moving towards a new graphics infrastructure based on mir, which is a replacement for X server. So there's no X11 stuff on Ubuntu Touch, no DISPLAY environment variable.

wmctl expects the X11 DISPLAY environment variable and it complains "Cannot open display" when it's not there.

share|improve this answer
    
Thanks for your input. Reading on Mir, I found something called Shell which provides application window management. But I could not find much info on API or commands available. Is Mir available ? – harisha Jan 26 '14 at 11:41
    
Unity8 is going to be the 'Shell'. it's currently only available on Ubuntu Touch. Ubuntu's Mir convergence won't happen before Ubuntu 14.10. – sgx1 Jan 26 '14 at 13:34

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.