OpenMandriva Lx version:
OM LX 4.0 (on VirtualBox machine)
Desktop environment (KDE, LXQT…):
Operating System: OpenMandriva Lx 4.0
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.58.0
Qt Version: 5.12.3
Kernel Version: 5.1.9-desktop-1omv4000
OS Type: 64-bit
Processor: 1 × Intel® Core™ i5-4460 CPU @ 3.20GHz
Memory: 2,9 GiB of RAM
Description of the issue (screenshots if relevant):
I can’t use in my python3 code the command " gio open mypdf.pdf ".
Here is my code :
subprocess.call([“gio”, “open”, “/tmp/test_pdf.pdf”])
print (“Can’t open the PDF with GIO command…”)
[root@OpenMandriva4 ~]# gio open /tmp/tmp6t
[root@OpenMandriva4 ~]# gio open /tmp/tmp6t_ozemp.pdf
gio: file:///tmp/tmp6t_ozemp.pdf: No application is registered as handling this file
Relevant informations (hardware involved, software version, logs or output…):
I have this very same python code working well on others Linux systems (OpenSuse, Debian, Mint, Ubuntu, Mageia, Fedora), but OM LX4.0 doesn’t like it …
I have a workaround with “xdg-open” command, but “gio” is planned to be the next best solution to make that.
gio should be the one who replace xdg-open in the future.
Any idea why “gio open” doesn’t work on my system ?
Is it a bug ?
Thank you for any reply