Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Announce] N900 qtedger (N9 Swipe to N900!)

    Reply
    Page 21 of 27 | Prev | 11   19     20   21   22     23   | Next | Last
    bill_klpd | # 201 | 2013-08-29, 12:31 | Report

    I am not sure what I can do with this app, but if I will edit the main.qml I will be able to make the app to have different behaviour in different places?
    I thought that by changing the target etc. I will be able to have it, but I am not sure... Can you give me some suggestion on what to do to help you with this??

    Edit | Forward | Quote | Quick Reply | Thanks

     
    elros34 | # 202 | 2013-08-29, 13:04 | Report

    First clear bahavior in qtedger-settings and then in main.qml after onSignalEdge: {
    Code:
    if (edge == "right3") //bottom right swipe
                {
                    if (activeWindow == "BatteryGraph")
                {
                    utils.runProgram("phone-control --ledon PatternError")
                }
                else {
                     utils.runProgram("phone-control --ledoff PatternError")
                }
                }

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to elros34 For This Useful Post:
    bill_klpd

     
    bill_klpd | # 203 | 2013-08-29, 13:38 | Report

    I have wrote this:
    Code:
            onSignalEdge: {
                if (edge === "right3") //bottom right swipe
                            {
                                if (activeWindow === "Calculator")
                            {
                                utils.runProgram("WebOS Games")
                            }
    But it doesn't open the WebOS Games... Is this how it should be written?

    Even with your script I don't see any led or any behavior on BatteryGraph....

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by bill_klpd; 2013-08-29 at 13:46.

     
    elros34 | # 204 | 2013-08-29, 13:46 | Report

    "WebOS Games" ?? rather "/usr/bin/wgames"

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to elros34 For This Useful Post:
    bill_klpd

     
    bill_klpd | # 205 | 2013-08-29, 13:48 | Report

    Originally Posted by elros34 View Post
    "WebOS Games" ?? rather "/usr/bin/wgames"
    the "Calculator" is ok??

    Edit | Forward | Quote | Quick Reply | Thanks

     
    bill_klpd | # 206 | 2013-08-29, 13:56 | Report

    Yeap it works
    Can I use dbus signals as well?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    elros34 | # 207 | 2013-08-29, 13:57 | Report

    I didn't test but I think you can.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to elros34 For This Useful Post:
    bill_klpd

     
    bill_klpd | # 208 | 2013-08-29, 13:57 | Report

    Originally Posted by elros34 View Post
    I don't know check yourself I have "Kalkulator" but it depends on language
    I worked with "Calculator"

    Edit | Forward | Quote | Quick Reply | Thanks

     
    bill_klpd | # 209 | 2013-08-29, 14:01 | Report

    I will try to write what I think as a nice behavior and I will upload the file to see it and tell me what you think (maybe not now...)
    Thanks for this ;D
    P.S: Dbus works as well

    Edit | Forward | Quote | Quick Reply | Thanks

     
    enne30 | # 210 | 2013-08-29, 17:54 | Report

    Originally Posted by elros34 View Post
    Check /usr/share/icons/hicolor/80x80/apps/ and /usr/share/applications/hildon/qtedger.desktop

    - use it and you'll see
    - yes
    - wmctrl -c :ACTIVE:
    ok, I could not figure out the wmctrl (though I could imagine ), 'cause on non-thumb is not working (neither the -c command)

    I tried with microB window and qtedger-settings one (also multimedia)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 21 of 27 | Prev | 11   19     20   21   22     23   | Next | Last
vBulletin® Version 3.8.8
Normal Logout