maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Portrait mode support in control panel. (https://talk.maemo.org/showthread.php?t=63316)

MohammadAG 2010-10-03 19:21

[Announce] Portrait mode support in control panel.
 
As I've done with modest, I'm looking into adding portrait mode flags into most open source apps on Maemo 5.

This is based on the PR1.2 hildon-control-panel source.
Some applets don't work in portrait mode, such as the display one and the themes one (it kicks the window into landscape mode). most of the ones I use do.

http://i55.tinypic.com/34tbm8m.jpg

You need to have rootsh and wget installed.

Code:

root
wget http://mohammadag.xceleo.org/public/maemo/debfiles/portrait/hildon-control-panel/hildon-control-panel_2.2.27-2+0m5_armel.deb
dpkg -i hildon-control-panel_2.2.27-2+0m5_armel.deb

To pin the package:
Code:

echo "Package: hildon-control-panel
Pin: release a=unstable
Pin-Priority: 1001" >> /etc/apt/preferences

I really should make all these portrait patches into one thread...

moepda 2010-10-03 19:33

Re: [Announce] Portrait mode support in control panel.
 
Works well ! much appreciated :)

kolos 2010-10-03 21:36

Re: [Announce] Portrait mode support in control panel.
 
1 Attachment(s)
Great job MohammadAG, thanks!

Is it possible to fix the appearance of "Notification light" settings in portrait mode?

MohammadAG 2010-10-03 21:39

Re: [Announce] Portrait mode support in control panel.
 
Sadly, that's closed source, so nope :(

neboja 2010-10-03 21:45

Re: [Announce] Portrait mode support in control panel.
 
@MohammadAG
as i understood:
Quote:

As I've done with modest, I'm looking into adding portrait mode flags into most open source apps on Maemo 5
can i ask you to do one simple thing: when you finish with moding all apps that you want, put all of your codes in one post (or wiki) so they could be easy to find (this way, i think there would be a several threads about portrait mode)

great work, anyhow!

p.s. would be a blast if you could do that with media player.... (i now it's closed... but... ) ;)

CepiPerez 2010-10-04 00:18

Re: [Announce] Portrait mode support in control panel.
 
Is the notification light a binary file?
We can make a replacement for it...

Mentalist Traceur 2010-10-04 02:21

Re: [Announce] Portrait mode support in control panel.
 
CepiPerez - I was thinking about it, but as qwerty12 said back when he made his open source clone of the FMTX status menu applet, not all of the closed source blobs on the N900 are so easy to clone that you could easily replace it. That said, if you or someone else feel they can, more power to you, and that's certainly something I recommend aiming for.

MohammadAG: Any chance of seeing this in the official repos, instead of just as a download link? (Also, I can't seem to find wget in the repos? Do I have something set wrong? I have Axel [the command-line download-manager] installed. Could I just use that? If so, what additional complications would that bring? Would I have to specify a download path with axel and then a path to the file with dpkg -i?)

maxximuscool 2010-10-04 03:33

Re: [Announce] Portrait mode support in control panel.
 
Bluetooth, FM transmitter and everything else kicked back to landscape for me. May be I need a reboot.

MohammadAG 2010-10-04 03:35

Re: [Announce] Portrait mode support in control panel.
 
It doesn't seem to be very complex to replace, in fact, it may be easier than the FMTX applet.
Apparently it only sets gconf boolean:true/false in
/system/osso/dsm/leds
~ $ gconftool-2 -R /system/osso/dsm/leds
PatternCommunicationEmail = true
PatternBatteryCharging = true
PatternCommunicationCall = true
PatternDeviceOn = true
PatternCommunicationSMS = true
PatternCommonNotification = true
PatternBatteryFull = true
PatternCommunicationIM = true

F2thaK 2010-10-04 04:04

Re: [Announce] Portrait mode support in control panel.
 
I mean no disrespect MohammadAG, as you have done many great things for this community... but I find this kinda pointless. I hate having to turn my phone portrait > landscape > portrait... I think either full portrait support or none is best.

(I did install it though! :D)

I think we'll be waiting till the end of time for Nokia to make the N900 fully support portrait..


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

vBulletin® Version 3.8.8