Portal Home > Knowledgebase > How-to > Hosting > rTorrent and ruTorrent > Ratiocolor plugin - installation
This plugin changes the ratio column color, based on our ratio on torrent.
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
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
Add to Favourites
Print this Article
Powered by WHMCompleteSolution