diff --git a/lib/solaar/cli/__init__.py b/lib/solaar/cli/__init__.py index 788b5adf..ace57f90 100644 --- a/lib/solaar/cli/__init__.py +++ b/lib/solaar/cli/__init__.py @@ -203,7 +203,9 @@ def run(cli_args=None, hidraw_path=None): else: c = list(_receivers(hidraw_path)) if not c: - raise Exception('No devices found') + raise Exception( + 'No supported device found. Use "lsusb" and "bluetoothctl devices Connected" to list connected devices.' + ) from importlib import import_module m = import_module('.' + action, package=__name__) m.run(c, args, _find_receiver, _find_device) diff --git a/lib/solaar/ui/tray.py b/lib/solaar/ui/tray.py index 0e43baf8..8e04dc4b 100644 --- a/lib/solaar/ui/tray.py +++ b/lib/solaar/ui/tray.py @@ -55,7 +55,7 @@ def _create_menu(quit_handler): # per-device menu entries will be generated as-needed - no_receiver = Gtk.MenuItem.new_with_label(_('No Logitech device found')) + no_receiver = Gtk.MenuItem.new_with_label(_('No supported device found')) no_receiver.set_sensitive(False) menu.append(no_receiver) menu.append(Gtk.SeparatorMenuItem.new())