Skip to content

Commit

Permalink
use the package names
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Dec 24, 2023
1 parent 5f40e4c commit f35f001
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion xpra/client/mixins/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def nooptions(*_args) -> tuple[str,...]:
assert common
except ImportError:
self.may_notify_audio("No Audio",
"audio subsystem is not installed\n" +
"`xpra-audio` subsystem is not installed\n" +
" speaker and microphone forwarding are disabled")
self.speaker_allowed = False
self.microphone_allowed = False
Expand Down
8 changes: 4 additions & 4 deletions xpra/scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def check_gtk_client() -> None:
from xpra.client import gui, gtk3
assert gui, gtk3
except ImportError:
raise InitExit(ExitCode.FILE_NOT_FOUND, "`xpra-client-bindings` is not installed") from None
raise InitExit(ExitCode.FILE_NOT_FOUND, "`xpra-client-gtk3` is not installed") from None


def check_gtk() -> None:
Expand Down Expand Up @@ -1441,7 +1441,7 @@ def get_client_app(cmdline, error_cb, opts, extra_args, mode:str):
from xpra import client
assert client
except ImportError:
error_cb("Xpra client is not installed")
error_cb("`xpra-client` is not installed")

if opts.compression_level < 0 or opts.compression_level > 9:
error_cb("Compression level must be between 0 and 9 inclusive.")
Expand Down Expand Up @@ -1966,7 +1966,7 @@ def run_server(script_file, cmdline, error_cb, options, args, mode:str, defaults
assert server
from xpra.scripts.server import do_run_server
except ImportError:
error_cb("Xpra server is not installed")
error_cb("`xpra-server` is not installed")
sys.exit(1)
return do_run_server(script_file, cmdline, error_cb, options, args, mode, str(display or ""), defaults)

Expand All @@ -1986,7 +1986,7 @@ def start_server_via_proxy(script_file:str, cmdline, error_cb, options, args, mo
assert client
except ImportError:
if start_via_proxy is True:
error_cb("cannot start-via-proxy: xpra client is not installed")
error_cb("cannot start-via-proxy: `xpra-client` is not installed")
return None
################################################################################
try:
Expand Down

0 comments on commit f35f001

Please sign in to comment.