📜 ⬆️ ⬇️

FlylinkDC ++ and Wine

In response to the Linux DC ++ article and multithreading, I decided to describe my experience with the FlylinkDC ++ client under Wine.
The author of the above article had several problems with this client, the solution of which I will demonstrate.
From the text I highlighted three problems:
From myself I will add one more point: the interception by the client of magnet links from the Opera browser.

File icons and missing information when highlighting

Everything is simple with this - there is simply no problem in newer versions of the client.
When writing this article, I used the version of r389 build 2353.
Search results window
File List Window
You can see that folders are displayed as folders, and files as files, which is in the search results, which is in the list of user files. Appearance of the client as it is after installation. In the first screenshot one of the lines is highlighted, it is clear that nothing disappears.

Very slow download of the latest blocks of large files

I have already described the reason for this phenomenon in the commentary, I will duplicate:
The reason that at the end of the flylink shakes slowly, is that the client is multithreaded, i.e. catches all available sources. For some sources, the speed is very small and it turns out that one unit can swing for a very long time. Thus, in the end there are slow sources, because with fast sources, all blocks are given away and only blocks that are occupied by slow ones remain.

This problem is cross-platform and has nothing to do with the launch under wine.
It is treated as follows:
File -> Settings -> Advanced -> Speed ​​Limits.
We turn on the checkbox “Disable slow sources” and adjust the settings that have become available at our discretion.
Settings window
It is worth noting that there is a bug with the size of some windows, but this is another story, therefore, to save the settings, press <Enter>.

Interception of magnet links by Opera browser

Immediately make a reservation that I describe only the opera for two reasons:
1) I actively use it myself.
2) By setting the FF already have an article .
And one more remark - for each magnet it is asked to launch a separate copy of the client. In principle, it is not difficult to press the "No" button in the appearing window, although it does. But I personally still have this problem with Windows, I have not found a solution yet.
')
And now directly setting:

The main problem may be that the opera in the parameters of the program-processor (our dc-client) cuts quotes. Therefore, FlylinkDC.exe should be in a directory where there are no gaps in the path.
Go to the settings of the opera: <Ctrl> + <F12> -> Programs -> Add.
In the “Protocol” field we write “magnet”, select the item “Open in another program”, set the program as “wine”, and in the parameter write the windows path to the file FlylinkDC.exe, for me this is “C: \ FlylinkDC ++ \ FlylinkDC. exe. " You can, of course, write the full linux path.
Create magnet handler window
After that, we save everything and you can safely poke on magnet-links.

Conclusion

In conclusion, I want to add the pros and cons of using FlylinkDC ++ under Linux in Linux.

pros
Minuses

Source: https://habr.com/ru/post/64888/


All Articles