zengargoyle / selfcontrol Goto Github PK
View Code? Open in Web Editor NEWA port of the SelfControl (Mac OS X) application for Ubuntu, Debian, Linux.
Home Page: http://svn.jklmnop.net/projects/SelfControl.html
A port of the SelfControl (Mac OS X) application for Ubuntu, Debian, Linux.
Home Page: http://svn.jklmnop.net/projects/SelfControl.html
I haven't fully poked about the desktop install of 12.04 but Ubuntu has gone and screwed with the old rather plain DNS setup. Network Manager now starts up a dnsmasq (DNS proxy server) on localhost. I noticed when testing some virtual machines that once started changes to /etc/hosts file are ignored. This really sucks since you can't just add '10.0.1.1 myvm' to /etc/hosts and connect to your virtual machine anymore. It also means that adding '127.0.0.2 example.com' will no longer work as expected for SelfControl.
Not a terrible deal since SelfControl also uses iptables to block traffic, but now the fallback protection for domains having multiple IPs won't work. Plus the timed unblocks won't work. It looks like changes to /etc/hosts are only picked up on reboot or Network Manager restarts.
Sadly this takes SelfControl from something I would trust to work as decently well as possible into something that may or may not work as expected without futzing around with rebooting or restarting the network. It's unpredictable.
I'm not quite sure how to work around this problem as last I checked there was no method to actually configure the dnsmasq instance that Network Manager starts (options are hard coded in Network Manager somewhere).
Any ideas?
I get this error:
Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/Gtk2/SimpleList.pm line 206.
When running SelfControl from a Terminal.
It doesn't seem to work for Ubuntu 14.04
I'm the developer of Chomper, a new Internet blocker for Linux. Chomper allows users to create blacklists or whitelists of arbitrary sets of websites - either at the domain or URL level. You can define sets of websites to blacklist or whitelist according to particular "rules" in a YAML file. For example, you can put facebook.com, twitter.com, and instagram.com under a nosocial
rule in your YAML file, and then use a simple chomper nosocial 10
command to enforce your "nosocial" rule for 10 minutes. For exact usage and installation, look at the readme in the Github repo. I'm just making a comment here to direct people who are interested in SelfControl to also check out Chomper, since it seems like this port of SelfControl hasn't been actively developed in over 7 years.
When using Self Control on Ubuntu 11.10 the host list isn't viewable. It appears as if the size of that part of the window is dictated by the size of the scrollbar. With Ubuntu 11.10 introducing overlay scrollbars it has resulted in that section becoming very small. See the image below for an illustration of this problem
When I first made a package and put it up on my old website it somehow magically got added to the Ubuntu repositories and made available via apt-get / Software Center / etc.
I have no idea how this happened, and no idea how to eventually submit a v1.0 version.
I hope I can even remember how to make a .deb package. Must admit I mainly test using the standard Perl module install method:
perl Build.PL
./Build
sudo ./Build install
If I start the app and set it for say 20 minutes and then click start it closes.
If I open it again 3 minutes later it still shows the 20 minute value - and the 'start' button is still clickable.
Would it be possible to show that the process is still running - perhaps by greying out the start button, and adding a countdown?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.