maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   Controlling Default Behaviour of Apps (https://talk.maemo.org/showthread.php?t=81591)

maacruz 2012-01-14 20:05

Re: Controlling Default Behaviour of Apps
 
Quote:

Originally Posted by Johnnie Price (Post 1150601)
Oh well.

Since I have you all here, I remember seeing somewhere that copies of all installed .debs are stored locally on the device but a search turns up nothing. Is this true? If so, where are they located?

Thanks in advance.

@shawnjefferson - I have Diablo5 as well and love it. I also run 90% or more of my apps in fullscreen and would love to skip that extra step in having to push the fullscreen key. But at least the N810 makes it easy.

apt-get keeps the debs temporarily in /var/cache/apt/archives

Addison 2012-01-14 20:11

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?

Addison 2012-01-14 20:49

Re: Controlling Default Behaviour of Apps
 
Quote:

Originally Posted by maacruz (Post 1150480)
There is already a deb with this patch. Just install it. Look in the CSSU thread, near the end.

No dice for me on this.


[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

maacruz 2012-01-14 21:00

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

maacruz 2012-01-14 21:01

Re: Controlling Default Behaviour of Apps
 
Quote:

Originally Posted by Addison (Post 1150634)
No dice for me on this.


[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

Er... why are you trying to install the debug package? Install the normal package instead.

Johnnie Price 2012-01-14 21:43

Re: Controlling Default Behaviour of Apps
 
Could I use wmctrl to automatically redraw the home screen every time it rotates?

auouymous 2012-01-14 21:49

Re: Controlling Default Behaviour of Apps
 
Quote:

Originally Posted by Johnnie Price (Post 1150605)
Addison- A button in Personal Menu or ASUI wouldn't be very useful on the N810

The command button in ASUI or personal menu is useful for apps that don't support fullscreen and ignore the hardware key.

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. ;)

Addison 2012-01-14 21:55

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.

auouymous 2012-01-14 22:12

Re: Controlling Default Behaviour of Apps
 
Quote:

Originally Posted by Addison (Post 1150655)
Consider yourself poked at.

I just finished up my cool web app that does what maemopad does but a lot better and am starting on an offline maemo app that does what the web app does and syncs with the web app when online. So notes written in the maemo app or web app are always accessible from either, after a sync.

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. ;)

Addison 2012-01-14 22:23

Re: Controlling Default Behaviour of Apps
 
Ooh!

Something new and shiny! http://www.christianforums.com/image...nion/love2.gif


All times are GMT. The time now is 23:29.

vBulletin® Version 3.8.8