[solved] change size of connection manager

General support for problems installing or using Deluge
Post Reply
BottleNeck
Member
Member
Posts: 13
Joined: Fri Mar 11, 2022 2:37 pm

[solved] change size of connection manager

Post 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!
Last edited by BottleNeck on Fri Mar 11, 2022 7:58 pm, edited 1 time in total.
mhertz
Moderator
Moderator
Posts: 2331
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: change size of connection manager

Post 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.
BottleNeck
Member
Member
Posts: 13
Joined: Fri Mar 11, 2022 2:37 pm

Re: change size of connection manager

Post 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!
mhertz
Moderator
Moderator
Posts: 2331
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: [solved] change size of connection manager

Post by mhertz »

Thanks for your post mate, appreciated, and you're very welcome :)
Post Reply