omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Killall backboardd in pythonista

    Pythonista
    4
    6
    4518
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • zSaaiq
      zSaaiq last edited by

      Can someone help me how do I kill springboard in pythonista ? I have jailbreak and want this feature :/

      1 Reply Last reply Reply Quote 1
      • scj643
        scj643 last edited by

        https://github.com/scj643/objc_tools/blob/master/objc_tools/apps.py and use openWithBundleID('com.apple.webapp') though that will result in the device going into substrate safe mode.

        zSaaiq 1 Reply Last reply Reply Quote 0
        • dgelessus
          dgelessus last edited by

          import subprocess
          subprocess.check_call(["killall", "backboardd"])
          

          Assuming that is the command you want to execute, and assuming that the jailbreak allows Pythonista to do that.

          1 Reply Last reply Reply Quote 0
          • zSaaiq
            zSaaiq last edited by

            Operation not permitted :/ so pythonista doesn't allow me that :/

            1 Reply Last reply Reply Quote 0
            • zSaaiq
              zSaaiq @scj643 last edited by

              @scj643 "no module named objc_tools" :/

              1 Reply Last reply Reply Quote 0
              • ccc
                ccc last edited by

                @zSaaiq ... You could try changing line 5 from:

                from objc_tools.objc_json import objc_to_dict
                # to
                from objc_json import objc_to_dict
                

                In general, I think that __init__.py files are needed in the directories of objc_tools as described in: https://docs.python.org/3/tutorial/modules.html#packages and http://mikegrouchy.com/blog/2012/05/be-pythonic-__init__py.html

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB Forums | Contributors