Blob Blame History Raw
diff --git a/electrum/qrscanner.py b/electrum/qrscanner.py
index 463d5ec6..e4358636 100644
--- a/electrum/qrscanner.py
+++ b/electrum/qrscanner.py
@@ -42,7 +42,7 @@ except BaseException:
 
 def scan_barcode(device='', timeout=-1, display=True, threaded=False, try_again=True):
     if libzbar is None:
-        raise RuntimeError("Cannot start QR scanner; zbar not available.")
+        raise RuntimeError("Cannot start QR scanner; zbar not available. Try 'sudo dnf install zbar-pygtk'")
     libzbar.zbar_symbol_get_data.restype = ctypes.c_char_p
     libzbar.zbar_processor_create.restype = ctypes.POINTER(ctypes.c_int)
     libzbar.zbar_processor_get_results.restype = ctypes.POINTER(ctypes.c_int)