
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
conkytransmission
(Aug 23 2010 - You can now find this project on launchpad.net: http://launchpad.net/conkytransmission.
post bugs, follow development, ask questions, submit code...)
Most transmission plugins/scripts for conky I could find were in bash code, and all of them seem really slow and cause conky to flicker when I had > 10 torrents. I decided to try to do better in python. Enjoy!
As of version 0.5, you can change the output via templates. You can even set a custom template path.
Also new in version 0.5 is the addition of command line arguments, which let you gain additional control over conkytransmission, (like sort methods, unit names, and custom template paths). (run ~/.conkytransmission/conkytransmission.py -h" for details)
To install and run:
You will need to install conky.
Also, you will need to install transmission-cli and turn on the transmission web client (web tab in the gui options).
Unzip conkytransmission.tar.gz.
Please read Instructions.txt before running install.sh to install conkytransmission.
I should note:
If conky is loaded before your window manager, when you add torrents or the window size of conky changes in length, conky will cut output off where the window originally ended on all window types besides override. I do not know a fix for this. Conky does NOT behave this way if started after your gnome-session has finished loading and your window manager takes over. If anyone has information about this, I'd really really like to know, as I'm pretty baffled. I don't know if it's a bug, or what.
10 years ago
v0.5 - Aug 21 2010:
* Has an installation script now!
* Added template engine
* Added command line arguments (run "~/.conkytransmission/conkytransmission.py -h" for details)
* Uses lua_bar instead of execbar by default so that the progress bar can be varied in size easily, instead of having to rely on your default_bar_size param
v0.1 - Aug 19 2010:
* Built it. Code is probably not the best, but it seems to work pretty well.
10 years ago
v0.5 - Aug 21 2010:
* Has an installation script now!
* Added template engine
* Added command line arguments (run "~/.conkytransmission/conkytransmission.py -h" for details)
* Uses lua_bar instead of execbar by default so that the progress bar can be varied in size easily, instead of having to rely on your default_bar_size param
v0.1 - Aug 19 2010:
* Built it. Code is probably not the best, but it seems to work pretty well.
McLovin
9 years ago
What am I doing wrong?
This is the line im using:
Quote:${execpi 3 ~/.conkytransmission/conkytransmission.py --templatespath=/home/mclovin/2-conky/transmission.template}
Report
xrdim
9 years ago
text_buffer_size 600
Report
christo91
10 years ago
Report
lienmeat
10 years ago
${font Droid Sans:style=Bold:size=8}Some text or something${font}
Or more generally, in the format of:
${font <font name>(:style=<style stuff>)} output in desired font ${font}
If you don't get it, read the conky documentation on their website (I think they have it there) or the man page.
Report
leodelacruz
10 years ago
Report
brand0ng
10 years ago
max=100,
alarm=90,
bg_colour={0xFFFFFF,0.25},
fg_colour={0xfff0ff,1},
alarm_colour={0x00FF00,1},
x=119,y=56,
blocks=20,
space=1,
height=6,width=10,
angle=90,
smooth=true,
mid_colour={{0.5,0x0000FF,1}}
anyone know?
Report
lienmeat
10 years ago
Report
lienmeat
10 years ago
A common cause for errors when using conkytransmission is a couple conky settings in particular:
text_buffer_size bytes : this basically tells conky the max amount in bytes to process. If you are getting "unknown variable" errors with the default templates, this is likely the cause. Increase this value and you should be fine.
max_specials : this defaults to 512. It determines the max number of fonts, offsets, aligns, etc. If you get a "too many special things" error, increase this number.
conky can be annoying to troubleshoot, as there is so much that can go wrong. Just thought I'd let people know what I've found to help...
Report
jeddycakes
10 years ago
Is there a way to select which torrents are showing?
Report
lienmeat
10 years ago
Report
jeddycakes
10 years ago
lmao
Report
lienmeat
10 years ago
Report
jeddycakes
10 years ago
TY
Report
dwsalo
10 years ago
I don't know, maybe I do something wrong, but the script doesn't work for me.
I have an error:
Conky: unknown variable
Conky: too many special things in text
I use conkycolors generated .conkyrc config and without conkytransmission all works fine.
Do you know where can be a problem?
Thanks in advance.
Report
lienmeat
10 years ago
I know I have the conky-all package installed...which has all compile options enabled.
As long as you have transmission-cli installed, and can see the web interface, and have the line I posted to add to your conkyrc, it should work i'd think
I'd be willing to look and test your .conkyrc on my system if you would like. However, I'm no conky expert, so I'm not gonna guarantee I can figure it out.
BTW...I've got a new version I'll be putting up soon that has templates, cli options...and all kinds of goodies. It's a huge improvement over the version you have.
Report
dwsalo
10 years ago
Report
lienmeat
10 years ago
I know for a fact that the "special things" error can be prevented by setting the max_specials variable higher, as I got the same error when I set that to a low value to see if I was giving you good advice.
Report
dwsalo
10 years ago
But I had to install it manually, since install script isn't work for me. It couldn't cope the .conkytransmission folder to my home folder since the .conkytransmission foldre didn't exists. I suppose I run install.sh from an unexpected location. But this wasn't a problem, because you gave a good explanation and examples how it should be configured in order to work.
Thanks :)
Report
lienmeat
10 years ago
Report
dwsalo
10 years ago
It has this line:
cp -R .conkytransmission ~/
It means that I run the install.sh file from other than install.sh and .conkytransmission folder (e.g. I could run bash ~/downloads/install.sh).
So, It's my fault :)
Report
lienmeat
10 years ago
max_specials
Maximum number of special things, e.g. fonts, offsets, aligns, etc. (default is 512)
I'm guessing you need to change this setting in your ~/.conkyrc file. The other error I'm guessing/hoping is because of this as well...but I don't know for sure. I just ran across this info today. Hope it helps
Report
dwsalo
10 years ago
I'll look if I have conky-all installed too. I think it is no need to test my .conkyrc on your environment, because a new version of conkytransmission script coming soon. All other requirements are presented on my machine.
Look forward to your new version of this script.
Report
dwsalo
10 years ago
Report