Go Back   maemo.org - Talk > Software > Applications
 
Register FAQ Community Calendar Today's Posts Search

Notices

Reply
 
Thread Tools
  #1  
Old 2010-10-03, 19:21
MohammadAG's Avatar
MohammadAG MohammadAG is offline
 
Join Date: Oct 2009
Location: Jerusalem, PS/IL
Posts: 2,473
Thanks!: 1,091
Thanked 12,265 Times in 1,478 Posts
Send a message via MSN to MohammadAG Send a message via Skype™ to MohammadAG
Default [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.



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...
Reply With Quote
  #2  
Old 2010-10-03, 19:33
moepda's Avatar
moepda moepda is offline
 
Join Date: Apr 2010
Location: United Kingdom
Posts: 334
Thanks!: 2,360
Thanked 118 Times in 90 Posts
Default Re: [Announce] Portrait mode support in control panel.

Works well ! much appreciated
Reply With Quote
  #3  
Old 2010-10-03, 21:36
kolos kolos is offline
 
Join Date: Jan 2010
Posts: 434
Thanks!: 308
Thanked 245 Times in 123 Posts
Default Re: [Announce] Portrait mode support in control panel.

Great job MohammadAG, thanks!

Is it possible to fix the appearance of "Notification light" settings in portrait mode?
Attached Images
 
Reply With Quote
  #4  
Old 2010-10-03, 21:39
MohammadAG's Avatar
MohammadAG MohammadAG is offline
 
Join Date: Oct 2009
Location: Jerusalem, PS/IL
Posts: 2,473
Thanks!: 1,091
Thanked 12,265 Times in 1,478 Posts
Send a message via MSN to MohammadAG Send a message via Skype™ to MohammadAG
Default Re: [Announce] Portrait mode support in control panel.

Sadly, that's closed source, so nope
Reply With Quote
The Following User Says Thank You to MohammadAG For This Useful Post:
  #5  
Old 2010-10-03, 21:45
neboja's Avatar
neboja neboja is offline
 
Join Date: Jan 2010
Location: Belgrade
Posts: 277
Thanks!: 261
Thanked 93 Times in 55 Posts
Default 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... )
Reply With Quote
  #6  
Old 2010-10-04, 00:18
CepiPerez's Avatar
CepiPerez CepiPerez is offline
 
Join Date: Feb 2010
Location: Argentina
Posts: 1,023
Thanks!: 698
Thanked 4,421 Times in 641 Posts
Default Re: [Announce] Portrait mode support in control panel.

Is the notification light a binary file?
We can make a replacement for it...
Reply With Quote
The Following User Says Thank You to CepiPerez For This Useful Post:
  #7  
Old 2010-10-04, 02:21
Mentalist Traceur Mentalist Traceur is offline
 
Join Date: Jun 2010
Location: Florida
Posts: 2,225
Thanks!: 5,582
Thanked 3,821 Times in 1,273 Posts
Default 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?)
Reply With Quote
  #8  
Old 2010-10-04, 03:33
maxximuscool maxximuscool is offline
 
Join Date: Sep 2009
Location: Hamilton, New Zealand
Posts: 3,664
Thanks!: 188
Thanked 1,530 Times in 783 Posts
Default 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.
Reply With Quote
  #9  
Old 2010-10-04, 03:35
MohammadAG's Avatar
MohammadAG MohammadAG is offline
 
Join Date: Oct 2009
Location: Jerusalem, PS/IL
Posts: 2,473
Thanks!: 1,091
Thanked 12,265 Times in 1,478 Posts
Send a message via MSN to MohammadAG Send a message via Skype™ to MohammadAG
Default 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
Reply With Quote
The Following 4 Users Say Thank You to MohammadAG For This Useful Post:
  #10  
Old 2010-10-04, 04:04
F2thaK's Avatar
F2thaK F2thaK is offline
 
Join Date: Jan 2010
Location: Australia Mate
Posts: 4,365
Thanks!: 2,643
Thanked 2,467 Times in 1,106 Posts
Default 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! )

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 21:40.