Thanks a lot Pat! Yes, this bug is really important for me. A hug!
On Friday, June 5, 2015, Pat McGowan <pat.mcgo...@canonical.com> wrote: > There is no supported way to do this today, and it has come up for various use cases on this list in the past. > I opened a bug to track it and hopefully get it onto the backlog. > Pat > https://bugs.launchpad.net/bugs/1462489 > > On Fri, Jun 5, 2015 at 1:28 PM, Costales <costa...@ubuntu.com> wrote: >> >> Thanks a lot XiaoGuo, but it's not working for me :( I tried with true & false, but the mobile is turning the screen off after 1 minute (in my case). >> >> >> On Fri, Jun 5, 2015 at 9:00 AM, XiaoGuo Liu <xiaoguo....@canonical.com> wrote: >>> >>> It surely works without doubt. I have personally tested it. The source code can be found at: >>> git clone https://gitcafe.com/ubuntu/sysinfo.git >>> >>> On Fri, Jun 5, 2015 at 1:57 PM, Costales <costa...@ubuntu.com> wrote: >>>> >>>> @Vincent: It's a QML app, then I think I can't send commands to the shell (?) >>>> >>>> @XiaoGuo: An example code is always welcome :) I'm supposing will be false and not true. I'll try it! >>>> >>>> Thanks a lot!! >>>> >>>> On Fri, Jun 5, 2015 at 3:02 AM, XiaoGuo Liu <xiaoguo....@canonical.com> wrote: >>>>> >>>>> The following code should work: >>>>> >>>>> import QtSystemInfo 5.0 >>>>> >>>>> ScreenSaver { >>>>> >>>>> id: screenSaver >>>>> >>>>> screenSaverEnabled: true >>>>> >>>>> } >>>>> >>>>> I have done an article in Chinese for it at: http://blog.csdn.net/ubuntutouch/article/details/45967623 >>>>> >>>>> cheers! >>>>> >>>>> On Fri, Jun 5, 2015 at 1:09 AM, costales <costa...@ubuntu.com> wrote: >>>>>> >>>>>> Hi! >>>>>> Can I force the screen always = ON in a QML app for Ubuntu Phone? >>>>>> Thanks in advance! >>>>>> Costales. >>>>>> >>>>>> -- >>>>>> Mailing list: https://launchpad.net/~ubuntu-phone >>>>>> Post to : ubuntu-phone@lists.launchpad.net >>>>>> Unsubscribe : https://launchpad.net/~ubuntu-phone >>>>>> More help : https://help.launchpad.net/ListHelp >>>>> >>>>> >>>>> >>>>> -- >>>>> XiaoGuo, Liu (刘晓国) >>>>> Mobile: +86-13911181302 >>> >>> >>> >>> -- >>> XiaoGuo, Liu (刘晓国) >>> Mobile: +86-13911181302 >> >> -- >> Mailing list: https://launchpad.net/~ubuntu-phone >> Post to : ubuntu-phone@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~ubuntu-phone >> More help : https://help.launchpad.net/ListHelp >> > >
-- Mailing list: https://launchpad.net/~ubuntu-phone Post to : ubuntu-phone@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-phone More help : https://help.launchpad.net/ListHelp