![]() |
Re: Controlling Default Behaviour of Apps
Quote:
|
Re: Controlling Default Behaviour of Apps
The problem is when to use wmctrl.
Some apps take awhile to launch like Rapier, others, not so much. I wonder how Yerga hacked the Control Panel to launch full screen? |
Re: Controlling Default Behaviour of Apps
Quote:
[1|root@Nokia-N800-43-7|/media/mmc1]dpkg -i hildon-control-panel-dbg_2.0.1-2_all.deb Selecting previously deselected package hildon-control-panel-dbg. (Reading database ... 22077 files and directories currently installed.) Unpacking hildon-control-panel-dbg (from hildon-control-panel-dbg_2.0.1-2_all.deb) ... dpkg: dependency problems prevent configuration of hildon-control-panel-dbg: hildon-control-panel-dbg depends on hildon-control-panel (= 1:2.0.1-2); however: Version of hildon-control-panel on system is 1:2.0.1-1. dpkg: error processing hildon-control-panel-dbg (--install): dependency problems - leaving unconfigured Errors were encountered while processing: hildon-control-panel-dbg |
Re: Controlling Default Behaviour of Apps
You can have a conditional loop running "wmctrl -l" to detect when the window has opened. Add a timeout so the background process eventually exits if the launched program fails.
Something like: Code:
t=0;n=$(wmctrl -l|wc); while [ "$n" == "$(wmctrl -l|wc)" ]&&[ $t -le $timeout ]; do sleep 1; t=$((t+1)); done |
Re: Controlling Default Behaviour of Apps
Quote:
|
Re: Controlling Default Behaviour of Apps
Could I use wmctrl to automatically redraw the home screen every time it rotates?
|
Re: Controlling Default Behaviour of Apps
Quote:
It looks like matchbox uses gconf so maybe I can have it watch a gconf key to always use fullscreen for windows. Poke me if I forget. ;) |
Re: Controlling Default Behaviour of Apps
^ Consider yourself poked at. :)
But yeah, that was only for apps where the full screen key does not do anything such as Garnet VM, Personal Menu and Launcher, etc. |
Re: Controlling Default Behaviour of Apps
Quote:
There are also a bunch of untested fixes for ASUI that need attention soon but I'll try to patch up matchbox since it shouldn't be that much work. Just don't hold your breath cuz I'd had to be responsible for killing someone. ;) |
Re: Controlling Default Behaviour of Apps
|
All times are GMT. The time now is 23:29. |
vBulletin® Version 3.8.8