Re: [MeeGo-dev] MeeGo app model in 2012: Rethinking the MeeGo app model to be more platform agnostic

2011-05-31 Thread Pei Lin
2011/6/1 Akkana Peck akk...@shallowsky.com:
 Wichmann, Mats D writes:
 switch to html5 :)

 I know you used a smiley, but:

 Is there a way to package an html+javascript app on meego so
 that it has a desktop icon and shows up in the apps menu without
 needing an architecture-specific C++ Qt wrapper? Also without
 requiring packages like qml-viewer or python-webkit, which may
 or may not be installed.
Yes, just use one uniform web browser even not the same browser just
same protocol/interface as html5, all apps can be download and plug-in
instead of installed. Make app to be one online/offline service.
For end users, no one concerns the platform is arm, x86 or
somethingelse or app is written by C/C++ QT/python/qml, only concerns
the app whether works for him/her.


        ...Akkana
 ___
 MeeGo-dev mailing list
 MeeGo-dev@meego.com
 http://lists.meego.com/listinfo/meego-dev
 http://wiki.meego.com/Mailing_list_guidelines




-- 
Best Regards
Lin
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] about uxlaunch support a command line option with enable/disable xsession-errors feature

2011-05-30 Thread Pei Lin
2011/5/30 steven liu...@neusoft.com:

 On Mon, 2011-05-30 at 10:15 +0200, Andre Klapper wrote:
 On Mon, 2011-05-30 at 16:05 +0800, steven wrote:
  currently when uxlauncher start a new user session, it will redirect
  stderr/stdout to file xsession-errors, and all x client will write their
  log messages to this file, and this file will get too big in one
  power-up cycle

 Please define too big by providing numbers, and why you think it is
 actually too big...


 400M

I think first should check where and why so huge errors coming from
and not only redirect errors to /dev/null.
Finding the reason is more important that workaround something.
One trick method can be as that ln -s /dev/null ~/.xsession-errors



  Confidentiality Notice: The information contained in this e-mail and any 
  accompanying attachment(s)
  is intended only for the use of the intended recipient and may be 
  confidential and/or privileged of
  Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader 
  of this communication is
  not the intended recipient, unauthorized use, forwarding, printing,  
  storing, disclosure or copying
  is strictly prohibited

 You want me to answer your emails and provide help, right?
 So why are you threating me? How can a reader of this communication
 not be an intended recipient if you yourself sent it to a *public*
 mailing list that is even archived?

 andre
 I'm some idea on this, I just want to know weather this can be support
 or not.
 I'm not threat you, my company's mail server added this automatically.


 ---
 Confidentiality Notice: The information contained in this e-mail and any 
 accompanying attachment(s)
 is intended only for the use of the intended recipient and may be 
 confidential and/or privileged of
 Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
 this communication is
 not the intended recipient, unauthorized use, forwarding, printing,  storing, 
 disclosure or copying
 is strictly prohibited, and may be unlawful.If you have received this 
 communication in error,please
 immediately notify the sender by return e-mail, and delete the original 
 message and all copies from
 your system. Thank you.
 ---
 __

Don't use or attach such legal messages on OPEN maillist, Pls. You can
use gmail or whatever. :-)


_
 MeeGo-dev mailing list
 MeeGo-dev@meego.com
 http://lists.meego.com/listinfo/meego-dev
 http://wiki.meego.com/Mailing_list_guidelines




-- 
Best Regards
Lin
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] MeeGo graphics benchmark

2011-04-13 Thread Pei Lin
2011/4/13 Zhang, Zheng zheng.zh...@intel.com:
 Hi Gnus,



  Is there any tools to get the OpenGL ES benchmark on Meego?

3Dmark mobile benchmark, futuremark company.
imagination official test tools and utilities


 Thanks

 zheng

 ___
 MeeGo-dev mailing list
 MeeGo-dev@meego.com
 http://lists.meego.com/listinfo/meego-dev
 http://wiki.meego.com/Mailing_list_guidelines




-- 
Best Regards
Lin
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] Window Manager Issues (Handset and Tablet)

2011-04-10 Thread Pei Lin
2011/4/10 Rusty Lynch rusty.ly...@intel.com:
 On 04/09/2011 06:52 AM, Gabriel M. Beddingfield wrote:
 So... with this approach, no applications should waste screen space on a
 home button or a close button.  Everyone runs edge to edge, direct rendered
 (except perhaps when we are doing window to window transitions or
 compositing a system level overlay like the task switcher on top of the
 app), all the time.

 Yes, this does present a problem when you take some existing device,
 designed for something like Windows 7, and run a meego-ux based image on it.

 I'm open to ideas, but I think it would be a mistake to compromise the
 ability to make competitive devices where from day one the device
 manufacture is targeting the specific design approach taken in the meego-ux.

 One example that came up on an IRC discussion is to extend the basic
 Window{} implementation add things like a home button when the device theme
 ask for it (without the application developer needing to do anything.)

In my view, application developers also need inherit the window
methods as function button handle from UX, they can override the
default action implementation to customize their apps' functionality.


   3. In the Tablet UX there's currently no way to close apps
      like chrome except to reboot.



 The idea is that for the most part we do like android and iphone, where
 users shouldn't need to 'close' an app, but a thirdparty utility could be
 create that closes apps and then the task switcher also presents a view
 for closing active applications (but this isn't a display of all
 processes just what we want to expose to the user.)


Yes, but why not give more choice to end users if they wanna close
everything to save power? I think it is Meego, not another Android
or IOS.



   4. These established MeeGo UI guidelines are now broken:
      http://meego.com/developers/ui-design-guidelines/handset/meego-basics
      (specifically the switcher and comments on fullscreen)



 A different design philosophy.  I am hopeful we can find a way to make
 mcompositor serve both needs.  If not then perhaps we have to have two
 versions of the package (with different patches) or just fork mcompositor
 (which i really don't want to do.)

I am just curious if have to have different WMs for different UX,
whether can keep the compatibility for the same APP.
Any CE product companies want their apps can run on the same OS
between different device, smart phone, tablet, touch, netbook.
One generation CE products only have a six month to one year lifetime.
The manufacturers can't wait, and they need pick their GUN to shot
quickly. The latter have the guns, the earlier face the dead, that's
the war. If app develops have to submit different versions for
different UX to APP store, it is a disaster.

-- 
Best Regards
Lin
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] running the meego tablet UX image on Medfield

2011-04-07 Thread Pei Lin
2011/4/7 Rusty Lynch rusty.ly...@intel.com:
 On 04/07/2011 08:27 AM, Stylianou, Costas wrote:

 Is there a home or back button mapped on the Medfield iCDK, I have no way
 coming out of the app that I’m in?



 The last I heard somebody (firmware??) was mapping one of the existing
 buttons to be a home key.  Note that with this UI you only need a home
 button.   Press-n-hold on that key will trigger the task switcher as long
 has the hardware enables press-n-hold (unlike the exopc).
Home key is win key in the keyboard, it will put all active apps in
to background.
There is another Menu key in the keyboad which can pop-up the task
switcher, press-n-hold on the app icon can give select menu to
open/close.

Back button behavior as android, i didn't find meego support this UI
pattern. apps don't save the window stack themselves, so can't
response hardware back button and come back previous window/page.
android has the concept of Heavyweight and Lightweight window.
Heavyweight windows are associated with an Android Activity and get
pushed onto the task stack so that when the ‘back button’ is pressed
they get popped off and return to the previous one. Lightweight
windows, as you may have guessed at this point, are not associated
directly with the activity task stack, and thus will not respond to
the back button.




     --rusty


 ___
 MeeGo-dev mailing list
 MeeGo-dev@meego.com
 http://lists.meego.com/listinfo/meego-dev
 http://wiki.meego.com/Mailing_list_guidelines




-- 
Best Regards
Lin
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] running the meego tablet UX image on Medfield

2011-04-07 Thread Pei Lin
2011/4/8 Rusty Lynch rusty.ly...@intel.com:
 On 04/07/2011 06:23 PM, Pei Lin wrote:

 2011/4/7 Rusty Lynchrusty.ly...@intel.com:


 On 04/07/2011 08:27 AM, Stylianou, Costas wrote:

 Is there a home or back button mapped on the Medfield iCDK, I have no way
 coming out of the app that I’m in?



 The last I heard somebody (firmware??) was mapping one of the existing
 buttons to be a home key.  Note that with this UI you only need a home
 button.   Press-n-hold on that key will trigger the task switcher as long
 has the hardware enables press-n-hold (unlike the exopc).


 Home key is win key in the keyboard, it will put all active apps in
 to background.
 There is another Menu key in the keyboad which can pop-up the task
 switcher, press-n-hold on the app icon can give select menu to
 open/close.



 Note that we only listen to the menu key as a developer convenience feature.
  Device makers should have a home key that supports both press and
 press-n-hold so that our UI can map press to 'go home' and press-n-hold to
 'open task switcher'.
Hi, rusty
   There are many hardware vendors to implement the hardware button
with different key code/value from driver. Is there any interface or
API to map the key codes in the tablet UX? using X11 Xmodkey? or meego
has its own key layout map file which can customize it.
Does meego have any documentation about enabling hardware function keys?
As android, there is the documentation about
it.http://source.android.com/porting/keymaps_keyboard_input.html
I think many vendors don't know how to map their key codes to UX and
make UX response.


-- 
Best Regards
Lin
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] About to Disable S3 mode

2011-04-06 Thread Pei Lin
在 2011年4月6日 下午5:35,Zhang, Linghe linghe.zh...@intel.com 写道:
 Hi All,

   I want to disable the function that system auto turn into S3 mode. My
 tablet is working on MeeGo 1.1.90.8 oaktrail version.

I am looking forward to your feedback to help me. Thank you very much!


Try to re-config your kernel compilation option or if acpi as your PM,
add acpi=off on grub boot kernel command line, but this may effect all
the functionality with acpi.

http://www.gentoo.org/doc/en/power-management-guide.xml
Sleep States: sleep, standby, and suspend to disk

ACPI defines different sleep states. The more important ones are

*S1 aka Standby
*S3 aka Suspend to RAM aka Sleep
*S4 aka Suspend to Disk aka Hibernate
They can be called whenever the system is not in use, but a shutdown
is not wanted due to the long boot time.

Sleep (S3)

The ACPI support for these sleep states is marked experimental for
good reason. APM sleep states seem to be more stable, however you
can't use APM and ACPI together.

Code Listing 7.1: Kernel configuration for the various suspend types

  Power Management Options ---
[*]  Power Management support
[*]  Suspend to RAM and standby



 Regards,

 Steven ,Zhang  张凌鹤

 PRC DRD Atom Platform Enabling Team

 Tel: 86-755-25830868 - 1116

 INET: 8754 - 1116

 Cell Phone: 13798361680



 ___
 MeeGo-dev mailing list
 MeeGo-dev@meego.com
 http://lists.meego.com/listinfo/meego-dev
 http://wiki.meego.com/Mailing_list_guidelines




-- 
Best Regards
Lin
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

[MeeGo-dev] [Q]How to prevent to pop-up annoying message window in Meego Netbook UI

2011-04-02 Thread Pei Lin
Hi,
   When our QT app hide and show on different windows, find system
always pop-up one message dialog, [APP name] is asking for your
attention and two buttons-Dismiss, Activate in the message dialog.
How to prevent annoying system message windows pop up?
Or is there something wrong in the QT app? Could you give some
suggestion on it? Thank you.

-- 
Best Regards
Lin
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] [Q]How to prevent to pop-up annoying message window in Meego Netbook UI

2011-04-02 Thread Pei Lin
2011/4/2 Pei Lin telent...@gmail.com:
 Hi,
   When our QT app hide and show on different windows, find system
 always pop-up one message dialog, [APP name] is asking for your
 attention and two buttons-Dismiss, Activate in the message dialog.
 How to prevent annoying system message windows pop up?
 Or is there something wrong in the QT app? Could you give some
 suggestion on it? Thank you.

After check the meego window manager code mutter-meego, and find the
messages born from notification manager.
http://meego.gitorious.org/meego-netbook-ux/mutter-meego/blobs/master/src/notifications/ntf-wm.c
Why the notification is default bound to the QT app?
Is there any method to disable the notification for our QT app? OR Is
there any documentation for it?

 --
 Best Regards
 Lin




--
Best Regards
Lin
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] MeeGo Systray

2011-03-30 Thread Pei Lin
2011/3/26 Fernando Muñoz munozfe...@gmail.com:
 On Wed, Mar 23, 2011 at 3:45 PM, Leonardo Luiz Padovani da Mata
 leonar...@syst.com.br wrote:
 Hello,

 Is there plans to change matchbox-panel to a different systray? Do the
 netbook image support standrt behavior of system tray like icons on
 botton left on kde or windows.

 I'm wondering how to deal with a java application that runs a system
 tray icon and pop-up messages to users.


 What are the plans for the Future of System Tray on MeeGo?

 I remember that MeeGo netbook UX included an option to view the system
 tray icons, a new floating bar appeared showing the tray icons, it did
 not look well integrated.
Yes, it really doesn't look well that only one or two tray icons
display on the blank bar. I think it can't be acceptable by 3rd party
ISVs.

Do you know any interfaces to put the app icon to the top tool bar on
Meego netbook UX as one tray icon?

Thank you.

-Lin


 - Fernando
 ___
 MeeGo-dev mailing list
 MeeGo-dev@meego.com
 http://lists.meego.com/listinfo/meego-dev
 http://wiki.meego.com/Mailing_list_guidelines




-- 
Best Regards
Lin
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] MeeGo Systray

2011-03-30 Thread Pei Lin
2011/3/30 Thiago Macieira thi...@kde.org:
 On Wednesday, 30 de March de 2011 11:20:35 Leonardo Luiz Padovani da Mata
 wrote:
 There is an QT API for that:
 http://doc.qt.nokia.com/latest/desktop-systray.html

 Using the new protocol for the system tray is preferable. It requires updating
 QSystemTray to support it, though.
THank you. Yes, QT have the api for systray, it is ok for KDE. But in
Meego netbook UX, display icons in bottom blank tray bar looks bad.
i want to put my application icon on the top toolbar in Meego as
http://help.meego.com/netbook/settings/customize-toolbar/customize-toolbar
But didn't find the API to handle it. Check the code and find meego
toolbar writed by GTK + Clutter.
Any idea to resovle it? Hope for suggestion.

Thanks,
-Lin


 --
 Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

 ___
 MeeGo-dev mailing list
 MeeGo-dev@meego.com
 http://lists.meego.com/listinfo/meego-dev
 http://wiki.meego.com/Mailing_list_guidelines




-- 
Best Regards
Lin
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


Re: [MeeGo-dev] MeeGo Systray

2011-03-30 Thread Pei Lin
2011/3/30 Leonardo Luiz Padovani da Mata leonar...@syst.com.br:
 On Wed, Mar 30, 2011 at 12:03 PM, Pei Lin telent...@gmail.com wrote:
 2011/3/30 Thiago Macieira thi...@kde.org:
 On Wednesday, 30 de March de 2011 11:20:35 Leonardo Luiz Padovani da Mata
 wrote:
 There is an QT API for that:
 http://doc.qt.nokia.com/latest/desktop-systray.html

 Using the new protocol for the system tray is preferable. It requires 
 updating
 QSystemTray to support it, though.
 THank you. Yes, QT have the api for systray, it is ok for KDE. But in
 Meego netbook UX, display icons in bottom blank tray bar looks bad.
 i want to put my application icon on the top toolbar in Meego as
 http://help.meego.com/netbook/settings/customize-toolbar/customize-toolbar
 But didn't find the API to handle it. Check the code and find meego
 toolbar writed by GTK + Clutter.

 I don't know about an API, maybe other people may help, but you can
 add a Menu on toolbar by adding it's .desktop and add X-Meego-Panel
 entries.

 Check the .desktop with this entries on /usr/share/mutter-meego/panels
 Also, you should add the service on dbus, check the contents of the
 package meego-panel-pasteboard, you will see the .desktop file and the
 dbus file that register the service.

Thank you. The information is very useful for me. I will try it. :-)

Thanks,
-Lin



 Any idea to resovle it? Hope for suggestion.

 Thanks,
 -Lin


 --
 Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

 ___
 MeeGo-dev mailing list
 MeeGo-dev@meego.com
 http://lists.meego.com/listinfo/meego-dev
 http://wiki.meego.com/Mailing_list_guidelines




 --
 Best Regards
 Lin
 ___
 MeeGo-dev mailing list
 MeeGo-dev@meego.com
 http://lists.meego.com/listinfo/meego-dev
 http://wiki.meego.com/Mailing_list_guidelines




 --
 Leonardo Luiz Padovani da Mata

 International Syst S/A
 Metasys Tecnologia
 Software Engineer Metasys MeeGo Team

 leonar...@metasys.com.br
 +55-31-3503-9040

 May the force be with you, always
 Nerd Pride... eu tenho. Voce tem?




-- 
Best Regards
Lin
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines


[MeeGo-dev] Howto get hardware backbutton support on meego UI

2011-03-25 Thread Pei Lin
Hi, all
Do all meego Apps support backbutton as Android platform? when
press hardware back button as phone,tablet, can close current app page
and go back to previous page.
If support, How could send the back button key value from EC to meego
app for handling?

-- 
Best Regards
Lin
___
MeeGo-dev mailing list
MeeGo-dev@meego.com
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines