Sure enough, there is. Here is the original homepage of SelfControl for Ubuntu (found thanks to the excellent OMG! Ubuntu page).
However, the package that can be found there is quite old, and has a very annoying bug when you run it on Ubuntu 12.10: You can't see the list of hosts that you are blocking. Other than that, it works as described.
Since this is open source software, I decided to try to fix things myself, to fail utterly due to my total lack of knowledge of Perl and GTK. But! GitHub to the rescue! I couldn't be the only one to notice this, right?
There were actually at least two possible sources: zengargoyle and serch.
I picked the later one, downloaded the UI.pm file from his repository, replaced /usr/share/perl5/SelfControl/UI.pm with this updated version, and...
Now back to work! :)
Looks like more detailed instructions could be useful.
- Install the package found in the OMG Ubuntu article.
- Open a terminal by pressing Ctrl-Alt-T or looking for it in the Applications list.
- In the terminal, enter exactly this line (it's all one line):
sudo wget http://goo.gl/wVk3k -O /usr/share/perl5/SelfControl/UI.pm
- You will need to enter your user password. This line will, in one go, download the "raw" code of UI.pm and overwrite the original UI.pm that came in the package. I shortened the link to try to get it as clear as possible. The actual link to the "raw" code of UI.pm is this:
Let me know if you run into more issues!