'xdg-utils' package should be requirement on Debian
This is from using Gajim through an X session forwarded over ssh, with the host computer being a Debian box with some minimal set of packages required to open Gajim and Firefox. (no desktop environment or window manager)
Versions
- OS: Linux
- GTK+ Version: 3.24.5
- PyGObject Version: 3.30.4
- python-nbxmpp Version: 0.6.10
- Gajim Version: 1.1.2
Traceback
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/gtk/dialogs.py", line 56, in on_response
self.possible_responses[response_id](dialog)
File "/usr/lib/python3/dist-packages/gajim/gtk/dialogs.py", line 264, in on_response_yes
*self.user_response_yes[1:])
File "/usr/lib/python3/dist-packages/gajim/./data/plugins/omemo/file_crypto.py", line 163, in open_file
subprocess.Popen(["xdg-open", path])
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'xdg-open': 'xdg-open'
Steps to reproduce the problem
Try to open an image received (aesgcm://upload.blabber.im/blahblahblah link) on a Debian system with no desktop/window manager.
Solution
apt install xdg-utils
Also requires some kind of image viewer installed (I used feh).