Page 1 of 1

[solved] change size of connection manager

Posted: Fri Mar 11, 2022 2:43 pm
by BottleNeck
Hi all, bit of a stupid question perhaps.

I am the most lazy person i know. I have concluded this after realizing the connection manager bothers me greatly. What the problem is? Well, when i start deluge and get my the option to select the server i want to connect to (i have a few), i only get enough space to display like 0.5 lines of server. I would love to find a way to make this window permanantly bigger. It is rather anoying to have to change the size of the window EVERY SINGLE TIME so i can actually read a line and select a 2nd or 3rd one. But every time i start deluge over, i'm back to 0.5 lines (plus the rest of the ui.) I dont want to do this all the time, lazy lazy lazy :)

I'm running a linux OS as far as that is relevant. I dont seem to find any options to do this. Is there something i am missing? Of is this just some limitation on a standard full HD res? I can't imagine.

Alternatively, i could live with auto connect links. But "deluge-gtk --help" does not really show this possibility (or perhaps it's under config file)

Any help would be greatly apreciated!

Re: change size of connection manager

Posted: Fri Mar 11, 2022 5:28 pm
by mhertz
Nut dumb in slight, though however very humerous lol :D And I definitelly can relate to your lazyness :)

If wanting auto-connect, then need make different profiles with each own auto-connect and start each instance with deluge's '--config' switch to specify profile-dir.

Anyway, you need change the code for changing window size of connection-manager - it was actually recently changed in deluge develop branch from holding 1 to instead 3 hosts by default, so you can either download the changed file and replace, or change the file yourself, e.g also if wanting to make even bigger possibly.

Link to file here, and it's otherwise identical to the one of deluge 2.0.5(except said commit), and actually older, as otherwise unmodified since 2018: https://github.com/deluge-torrent/delug ... manager.ui

Here's the git commit, to see which place need changing specifically, and is just a simple number needing upping: https://github.com/deluge-torrent/delug ... e2c5de1027

I don't know what distro you have, but usually deluge is installed under '/usr/lib/python3(.x)/dist-packages/deluge' or '/usr/lib/python3(.x)/site-packages/deluge', and rest of path can be seen from above link.

Re: change size of connection manager

Posted: Fri Mar 11, 2022 7:57 pm
by BottleNeck
mhertz wrote: Fri Mar 11, 2022 5:28 pm I don't know what distro you have, but usually deluge is installed under '/usr/lib/python3(.x)/dist-packages/deluge' or '/usr/lib/python3(.x)/site-packages/deluge', and rest of path can be seen from above link.
You sir, have made my day! This issue annoyed me more than sticking my genitalia in a bees hive! Yes i know, but we all have been young and curious. Anyhow, I did not imagine it's only one edit! Super! Thanks for the help!

Re: [solved] change size of connection manager

Posted: Fri Mar 11, 2022 8:48 pm
by mhertz
Thanks for your post mate, appreciated, and you're very welcome :)