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)
-   -   Force Fullscreen for All Apps (https://talk.maemo.org/showthread.php?t=28291)

ARJWright 2009-04-15 18:32

Force Fullscreen for All Apps
 
Here's something that I've wondered...

Is it possible to force every application to launch (and stay launched even when a new window is opened) fullscreen?

Not that it would probably be something easily exposed, but that would be a neat feature to have (for Diablo) and many apps on my N800.

Texrat 2009-04-15 20:43

Re: Force Fullscreen for All Apps
 
Sounds like a potentially nice app to develop...

claesbas 2009-04-15 20:58

Re: Force Fullscreen for All Apps
 
I like that idea too... there is no need for "window mode" on tablet..

lm2 2009-04-15 21:20

Re: Force Fullscreen for All Apps
 
Quote:

Originally Posted by claesbas (Post 279906)
I like that idea too... there is no need for "window mode" on tablet..

There is if you want to be able to close windows without hitting a hardware button.

But I too would like to see this developed.

Nelson L. Squeeko 2009-04-15 21:52

Re: Force Fullscreen for All Apps
 
I'm not sure if this is for every application, but I'm pretty sure if you close Maemo Mapper when full screen, when you relaunch it, it opens full screen. I'd test right now, but my battery is about to die and I'm getting ready to leave work. I think I did that with the web browswer as well.

Or I'm just crazy...

BrentDC 2009-04-15 22:09

Re: Force Fullscreen for All Apps
 
Just tested it and MM remembers. It is really quite simple to implement (on an app-by-app basis). You just need to save off the current setting to the applications main settings file, then set the window to that setting at load time.

I think I'll add this behavior to my apps.

mobiledivide 2009-04-16 00:06

Re: Force Fullscreen for All Apps
 
Its a simple idea that would really be useful. Since you are using the tablet two handed most of the time anyway having to touch a hardware button to exit isn't too bad. I multitask most of my apps anyway so I always use the hardware button to switch between them.

qwerty12 2009-04-16 00:37

Re: Force Fullscreen for All Apps
 
Like:

#! /bin/sh

while true; do
wmctrl -r :ACTIVE: -b add,fullscreen
done


Way to kill a battery though :p

ARJWright 2009-04-16 01:31

Re: Force Fullscreen for All Apps
 
Quote:

Originally Posted by BrentDC (Post 279941)
Just tested it and MM remembers. It is really quite simple to implement (on an app-by-app basis). You just need to save off the current setting to the applications main settings file, then set the window to that setting at load time.

I think I'll add this behavior to my apps.

That's great that it can be added on an app-by-app basis. Something in my UI/UX side of thinking says that such a feature should probably have been a rule for apps on Diablo.

Now the money question: can that be set outside of the individual application to control applications that might not have that trigger for full-screen memory enabled or not.

My thinking is something like a new panel within Control Panel to do this or other global actions that would append any installed applications with such a trigger.

fast1 2009-04-16 02:32

Re: Force Fullscreen for All Apps
 
Quote:

Originally Posted by qwerty12 (Post 279978)
Like:

#! /bin/sh

while true; do
wmctrl -r :ACTIVE: -b add,fullscreen
done


Way to kill a battery though :p

what is this?

BrentDC 2009-04-16 02:38

Re: Force Fullscreen for All Apps
 
Quote:

Originally Posted by fast1 (Post 279994)
what is this?

An infinite while loop that uses wmctrl to force applications into fullscreen. I would seriously not recommend using that (is wmctrl even available for hildon?), because that should pretty much peg the cpu at 100%...A hack to hildon-desktop would be much better.

Anyone good at reverse engineering stuff? (hildon-desktop is closed source, isn't it?).

ARJWright 2009-04-16 02:57

Re: Force Fullscreen for All Apps
 
Quote:

Originally Posted by BrentDC (Post 279995)
An infinite while loop that uses wmctrl to force applications into fullscreen. I would seriously not recommend using that (is wmctrl even available for hildon?), because that should pretty much peg the cpu at 100%...A hack to hildon-desktop would be much better.

Anyone good at reverse engineering stuff? (hildon-desktop is closed source, isn't it?).

Weirdly enough, I understand all that you've said and I cannot develop a lick for this platform.

Question: would modifying hildon-desktop also get rid of the app sidebar on the homescreen, or would there be some specific applicaiton-window-control-mechanism that would control this for all applications? Sort of some kind of "full-screen on launch" bit that would be touched?

BrentDC 2009-04-16 03:24

Re: Force Fullscreen for All Apps
 
Quote:

Originally Posted by ARJWright (Post 279998)
Weirdly enough, I understand all that you've said and I cannot develop a lick for this platform.

Question: would modifying hildon-desktop also get rid of the app sidebar on the homescreen, or would there be some specific applicaiton-window-control-mechanism that would control this for all applications? Sort of some kind of "full-screen on launch" bit that would be touched?

I'm not familiar at all with hildon-desktop and what can be done with it. I think your best bet would be to ask one of the Mer guys (Stskeeps, etc.) because they've already been hacking it. In fact, Mer now completely got rid of the sidebar in its latest release.

pycage 2009-04-16 10:18

Re: Force Fullscreen for All Apps
 
devilspie is an application that could do that on a Linux desktop. I think it shouldn't be too hard to port it over to maemo. It doesn't require much.

qwerty12 2009-04-16 10:27

Re: Force Fullscreen for All Apps
 
Quote:

Originally Posted by BrentDC (Post 279995)
Anyone good at reverse engineering stuff? (hildon-desktop is closed source, isn't it?).

http://repository.maemo.org/pool/dia...ildon-desktop/

But considering that Matchbox is the window manager, you'd wanna hack http://repository.maemo.org/pool/dia...indow-manager/ instead.

Quote:

Originally Posted by BrentDC (Post 279995)
I would seriously not recommend using that (is wmctrl even available for hildon?)

Well, I didn't either with the "Way to kill a battery"... But, yes, wmctrl is available on Maemo.

Wow, devilspie is powerful stuff. "echo '(fullscreen)' > ~/.devilspie/fullscreen.ds" and every window was forced into submission! (On a desktop, libwnck is a little tricky to compile for diablo unless you opt for a really old version)

meizirkki 2009-04-16 14:02

Re: Force Fullscreen for All Apps
 
Pretty simple:

Add Ubuntu repository and install xbindkeys and wmctrl.

Then do like qole said here:

add
Code:

"wmctrl -r :ACTIVE: -b toggle,fullscreen"
  F6

to your /home/user/.xbindkeysrc

Then you can add Personal Menu item for xbindkeys or just run it from terminal. After running xbindkeys, either as user or as root, you will be able to fullscreen any app :)

ARJWright 2009-04-16 14:07

Re: Force Fullscreen for All Apps
 
Quote:

Originally Posted by meizirkki (Post 280080)
Pretty simple:

Add Ubuntu repository and install xbindkeys and wmctrl.

Then do like qole said here:

add
Code:

"wmctrl -r :ACTIVE: -b toggle,fullscreen"
  F6

to your /home/user/.xbindkeysrc

Then you can add Personal Menu item for xbindkeys or just run it from terminal. After running xbindkeys, either as user or as root, you will be able to fullscreen any app :)

Seems about right; but this seems like more of a "make any app full-screened" rather than a "by defualt make all apps full screen."

Unless there's something I'm missing in your instructions and Qole's post???

meizirkki 2009-04-16 14:11

Re: Force Fullscreen for All Apps
 
Quote:

Originally Posted by ARJWright (Post 280083)
Seems about right; but this seems like more of a "make any app full-screened" rather than a "by defualt make all apps full screen."

Unless there's something I'm missing in your instructions and Qole's post???

Whops, yes you are correct. :D I didn't read the first post good enogh :o

fredoll 2009-04-16 18:18

Re: Force Fullscreen for All Apps
 
Good Idea : implemented in phonelink 1.4.1

ARJWright 2009-04-30 14:34

Re: Force Fullscreen for All Apps
 
Am I to assume that this would be something that cannot be implemented on a global basis then?

Kinda sucks if that's the case; really would make using some apps a lot easier if they just remembered full-screen or not ya know.

timsamoff 2009-04-30 15:23

Re: Force Fullscreen for All Apps
 
Quote:

Originally Posted by ARJWright (Post 283325)
Am I to assume that this would be something that cannot be implemented on a global basis then?

Kinda sucks if that's the case; really would make using some apps a lot easier if they just remembered full-screen or not ya know.

This shouldn't be an issue in Fremantle.

Tim

Jaffa 2009-04-30 15:42

Re: Force Fullscreen for All Apps
 
Quote:

Originally Posted by timsamoff (Post 283341)
This shouldn't be an issue in Fremantle

...or Mer:

http://wiki.maemo.org/images/1/10/Me...orkManager.png

ARJWright 2009-04-30 15:55

Re: Force Fullscreen for All Apps
 
Yes, Fremantle and Mer are "all full screen" except for dialog boxes; but this is a Diablo request; guess I should have asked that one before Diablo was finalized - whoops.

Jaffa 2009-04-30 15:58

Re: Force Fullscreen for All Apps
 
Quote:

Originally Posted by ARJWright (Post 283351)
[...]but this is a Diablo request

Mer is intended to be the maintained-into-the-future OS for Diablo devices; so although it may not help in the short-term, there should be light at the end of the tunbel.

If you were really desperate for it, perhaps testing/fixing/documenting/helping on Mer might make it more suitable for you as a day-to-day OS for you.

ARJWright 2009-04-30 16:53

Re: Force Fullscreen for All Apps
 
Quote:

Originally Posted by Jaffa (Post 283353)
Mer is intended to be the maintained-into-the-future OS for Diablo devices; so although it may not help in the short-term, there should be light at the end of the tunbel.

If you were really desperate for it, perhaps testing/fixing/documenting/helping on Mer might make it more suitable for you as a day-to-day OS for you.

Got Mer running on a donated N810; testing/helping is totally in the plans :)


All times are GMT. The time now is 20:03.

vBulletin® Version 3.8.8