Choose language

Portal Home > Knowledgebase > How-to > Hosting > rTorrent and ruTorrent > Ratiocolor plugin - installation


Ratiocolor plugin - installation




This plugin changes the ratio column color, based on our ratio on torrent.

ratio color ruTorrent plugin


Installation via SSH with the following commands:
cd ~/www/$(whoami).$(hostname)/$(whoami)/rutorrent/plugins
svn co https://github.com/Gyran/rutorrent-ratiocolor.git/trunk ratiocolor

The plugin has been installed, now just log in again into your ruTorrent or just refresh the web browser with ruTorrent URL.


Reconfiguration.
With default configuration the whole ratio column background color is changed. However, we can change only the font color, like on the screen below

ratio color ruTorrent plugin2

It can be changed with the command:
sed -i "s:changeWhat = \"cell-background\";:changeWhat = \"font\";:g" ~/www/$(whoami).$(hostname)/$(whoami)/rutorrent/plugins/ratiocolor/init.js


To change it back to default config:
sed -i "s:changeWhat = \"font\";:changeWhat = \"cell-background\";:g" ~/www/$(whoami).$(hostname)/$(whoami)/rutorrent/plugins/ratiocolor/init.js


Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Powered by WHMCompleteSolution