def METHOD_NAME(self):
    # angr.desktop
    angr_desktop_path = self._angr_desktop_path()
    if not os.path.isfile(angr_desktop_path):
        return False, None
    # is xdg-mime available
    retcode = subprocess.call(["xdg-mime"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    if retcode != 1:
        return False, None
    # xdg-mine query
    proc = subprocess.Popen(
        ["xdg-mime", "query", "default", f"x-scheme-handler/{self.URL_SCHEME}"],
        stdin=subprocess.PIPE,
        stdout=subprocess.PIPE,
        stderr=subprocess.PIPE,
    )
    stdout, _ = proc.communicate()
    if not stdout:
        return False, None
    # Load Exec=
    with open(angr_desktop_path) as f:
        data = f.read()
    lines = data.split("\n")
    cmdline = None
    for line in lines:
        if line.startswith("Exec="):
            cmdline = line[5:]
            break
    if cmdline is None:
        return False, None
    return True, cmdline