Page 1 of 1

KDE I/O Error: The torrent file '%U' does not exist

Posted: Sat Oct 15, 2016 8:06 am
by palasso
Hello,

I'm using archlinux with KDE and qBittorrent v3.3.7

I have set on KDE System Settings for qBittorrent to start on startup:
Image

Every time I boot I get this error message while qBittorrent starts normally:
Image

Does anyone know what could be wrong?

Also what's the difference between running

Code: Select all

qbittorrent
and

Code: Select all

qbittorrent %U
?

Thank you very much :)

Re: KDE I/O Error: The torrent file '%U' does not exist

Posted: Mon Oct 17, 2016 7:20 am
by KitKat
Running "qbittorent" should start it.
Running "qbittorent <parameter>" will attempt to launch qbt and add the named torrent found at <parameter>

Re: KDE I/O Error: The torrent file '%U' does not exist

Posted: Sat Oct 29, 2016 7:49 am
by palasso
After searching a bit more I found out that the %U parameter is part of the Desktop Entry Specification for .desktop files.
Recognized field codes:
%U A list of URLs. Each URL is passed as a separate argument to the executable program. Local files may either be passed as file: URLs or as file path.
It seems that the system settings program in KDE for creating startup entries from .desktop files doesn't take into account that desktop files could contain recognized field codes. Seems to be a KDE issue and have nothing to do with qbittorrent.