def spawn_terminal(workdir=None, screen=None): " Raises SpawnError " term = terminal.get_configured_terminal() notify = term["startup_notify"] app_id = term["desktopid"] argv = term["argv"] desktop_launch.spawn_app_id(app_id, argv, workdir, notify, screen)
def spawn_async_notify_as(app_id, argv): """ Spawn argument list @argv and startup-notify as if application @app_id is starting (if possible) raises SpawnError """ desktop_launch.spawn_app_id(app_id, argv , None, True)
def spawn_async_notify_as(app_id, argv): """ Spawn argument list @argv and startup-notify as if application @app_id is starting (if possible) raises SpawnError """ desktop_launch.spawn_app_id(app_id, argv, None, True)
def spawn_in_terminal(argv, workdir=None): term = terminal.get_configured_terminal() notify = term["startup_notify"] _argv = list(term["argv"]) if term["exearg"]: _argv.append(term["exearg"]) _argv.extend(argv) desktop_launch.spawn_app_id(term["desktopid"], _argv , workdir, notify)
def spawn_in_terminal(argv, workdir=None): " Raises SpawnError " term = terminal.get_configured_terminal() notify = term["startup_notify"] _argv = list(term["argv"]) if term["exearg"]: _argv.append(term["exearg"]) _argv.extend(argv) desktop_launch.spawn_app_id(term["desktopid"], _argv, workdir, notify)
def spawn_terminal(workdir=None): term = terminal.get_configured_terminal() notify = term["startup_notify"] app_id = term["desktopid"] argv = term["argv"] desktop_launch.spawn_app_id(app_id, argv, workdir, notify)