View Single Post
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#942
Originally Posted by Addison View Post
Do you think it might be possible somehow for ASUI to make the current background, running application in using the full screen using wmctrl?

There are several apps that don't respond to the full screen key for some reason.
The apps must be coded to accept the fullscreen key and then tell GTK to make the window fullscreen. Direct ports of desktop apps usually don't support fullscreen or other hildon features.

I just added this feature to ASUI but it is a special feature that doesn't require an update.

Run apt-get install wmctrl, might need qole's repo.

Create a new command button in asui-settings:
Name: Toggle;Full;Screen
Action: sleep 1;/usr/bin/wmctrl -r ":ACTIVE:" -b "toggle,fullscreen"
Root: [ ]
Unmap: [X]
Double tap: [X]

Enjoy!

Btw, I have fixed the issue with ASUI crashing when reloading its config but haven't tested and uploaded it yet. You will need to use asui-settings Services to restart ASUI if it locks up after adding the button.

Edit: The apps will resize to fullscreen or back to window mode but they don't internally know the new state. Apps that support fullscreen button will appear to ignore it after you use wmctrl, pressing it again will work properly. The app just needs to re-sync its internal state.

Last edited by auouymous; 2011-12-15 at 08:33.
 

The Following 2 Users Say Thank You to auouymous For This Useful Post: