maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [How to] "Portrait desktop" using QBW (https://talk.maemo.org/showthread.php?t=72229)

Keneraali 2011-04-16 15:19

[How to] "Portrait desktop" using QBW
 
1. Make two desktops. One with everything portrait and one with everything landscape. Note the number of each desktop. For example I used no. 1 desktop as landscape desktop and no. 2 as portrait desktop.

My landscape: http://dl.dropbox.com/u/11774787/Scr...416-174936.png
and portrait: http://dl.dropbox.com/u/11774787/Scr...416-174941.png

2. Make a new Queen beecon widget in the landscape desktop. Add new command:

Code:

if [ "`cat /sys/devices/platform/gpoi-switch/slide/state`" = "closed" ]; then
if [ "$QBW_ORIENTATION_MODE" = "portrait" ]; then
gconftool-2 -s /apps/osso/hildon-desktop/views/current -t int 2
fi
fi

where the bold 2 is the number of my portrait desktop. Change update policy to orientation only.
http://dl.dropbox.com/u/11774787/Scr...416-181743.png
Make the widget invisible if you wish so.
Now when you you tilt your phone when on landscape desktop it switches to portrait desktop.

3. Do the same on portrait desktop, but change the command to
Code:

if [ "$QBW_ORIENTATION_MODE" = "landscape" ]; then
gconftool-2 -s /apps/osso/hildon-desktop/views/current -t int 1
fi

where the bold 1 is the number of landscape desktop.

Now when tilting your phone between landscape and portrait it should also switch the desktops according to devices orientation.

EDIT: Edited the code, this is not so rude anymore! :)
EDIT2: Now it doesn't switch to portrait if the keyboard is open

Radicalz38 2011-04-16 15:22

Re: [How to] Rude portrait desktop using QBW
 
So how would we make the widgets portrait? Like the temperature and clock widget? Does it have auto rotate built in?

Keneraali 2011-04-16 15:25

Re: [How to] Rude portrait desktop using QBW
 
That's another issue. Every widget can't be flipped 90 degrees to portrait. For my portrait desktop I used the allmighty Queen Beecon widget that can be set to portrait mode. The clock is DigiClock widget that can also do this.

geekgirl74 2011-04-16 16:38

Re: [How to] Rude portrait desktop using QBW
 
one question: where to find that theme? It looks great :)

Keneraali 2011-04-16 18:25

Re: [How to] Rude portrait desktop using QBW
 
3 Attachment(s)
It's Array theme with my custom desktop icons.

azkay 2011-04-16 18:58

Re: [How to] Rude portrait desktop using QBW
 
Whats "rude"?

Aonsaithya 2011-04-16 19:32

Re: [How to] Rude portrait desktop using QBW
 
Quote:

Originally Posted by azkay (Post 990060)
Whats "rude"?

Rude, as in crude, rough, unfinished.

richwhite 2011-04-18 18:00

Re: [How to] Rude portrait desktop using QBW
 
I don't get it, does the widget change the desktop to the portrait screen, or does it actually rotate? And if it's rotating, why do you need to make a landscape and portrait screen?

cfh11 2011-04-18 18:10

Re: [How to] Rude portrait desktop using QBW
 
Quote:

Originally Posted by Aonsaithya (Post 990076)
Rude, as in crude, rough, unfinished.

Rude is also sometimes used in software terms to mean forced or without soliciting user/application input (see fMMS).

richwhite 2011-04-18 18:40

Re: [How to] Rude portrait desktop using QBW
 
Quote:

Originally Posted by Alfonso Bastos (Post 991269)
That's not portrait. You're just fooling yourself. Look at the task luncher its still in the original position. upper left corner if you're holding the phone at landscape.

If you want portrait so badly go buy a phone that is portrait. Such a whus

Kinda missed the point...
I have a portrait screen, and it's specifically for when i'm out and about and landscape is inconvenient. At such times, the task launcher isn't necessary because i don't open the menu or other apps. My portrait screen just has the date/time, and QBW to open phone and conversations. If i'm in need of the menu or other apps, i won't be needing the portrait screen.


All times are GMT. The time now is 11:51.

vBulletin® Version 3.8.8