Comments (3)
If you save the blocklist in the app is the resulting file identical to the plist
file?
from selfcontrol.
A bit of research on this: it appears that the file stored at ~/Library/Preferences/org.eyebeam.SelfControl.plist
and the .selfcontrol
file exported by the program are not the same, which would explain why SelfControl's CLI doesn't read the former as a valid blocklist:
Copy of the blocklist from ~/Library/Preferences/org.eyebeam.SelfControl.plist
:
bplist00���������
�
�������MNOPQ�_�0NSWindow Frame NSSpellCheckerSubstitutionsPanel2_�'MASPreferences Selected Identifier View_��SUHasLaunchedBefore_��SULastCheckTime_��WhitelistAlertSuppress_��GetStartedShownYBlocklist_�%NSWindow Frame NSNavPanelAutosaveName_��BlockAsWhitelist_��NSNavLastRootDirectory_��SULastProfileSubmissionDate_�!NSNavPanelExpandedSizeForOpenMode_��FirstBlockStarted_��692 407 425 137 0 0 1728 1079 _��GeneralPreferences 3A���V��� ��8����������� !"#$%&'()*+,-./0123456789:;<=>[email protected][nytimes.com[bluesky.app[twitter.com\linkedin.com_��forever.utah.eduXbsky.app]inoreader.com^abcnews.go.com[ground.newsWcnn.com_��huffingtonpost.com[foxnews.comWbbc.comYbbc.co.uk_��telegraph.co.uk_��news.google.com\buzzfeed.comXvice.comZgawker.comZtumblr.comZforbes.com]gothamist.com[jezebel.com\usatoday.com\theonion.com^news.yahoo.com_��washingtonpost.comWwsj.com_��theguardian.com[latimes.com_��nydailynews.comYsalon.comYmsnbc.comVrt.com]bloomberg.comWaol.com_��drudgereport.com_��nationalgeographic.comZnypost.com_��chicagotribune.comWmsn.comZusnews.com\facebook.comX9gag.com[netflix.comXhulu.com_��dailymotion.com_��collegehumor.com^funnyordie.comWvine.co]pinterest.com_��stumbleupon.com]instagram.com_��mail.google.com_��blog.chaoticgood.computer_��464 473 800 448 0 0 1728 1079 �Q~3A�Ȃ�'�Z{800, 448} ���#�V�����������������1�O�s���������������������&�2�?�R�[�i�x���������������������������(�4�A�N�]�r�z�����������������������'�/�:�G�P�\�e�w���������������������!�*�5���������������S���������������6
Exported file containing the same blocklist:
bplist00�����_��BlockAsWhitelist]HostBlacklist���8����
�
������������������ !"#$%&'()*+,-./0123456789:;<Ygmail.com[nytimes.com[bluesky.app[twitter.com\linkedin.com_��forever.utah.eduXbsky.app]inoreader.com^abcnews.go.com[ground.newsWcnn.com_��huffingtonpost.com[foxnews.comWbbc.comYbbc.co.uk_��telegraph.co.uk_��news.google.com\buzzfeed.comXvice.comZgawker.comZtumblr.comZforbes.com]gothamist.com[jezebel.com\usatoday.com\theonion.com^news.yahoo.com_��washingtonpost.comWwsj.com_��theguardian.com[latimes.com_��nydailynews.comYsalon.comYmsnbc.comVrt.com]bloomberg.comWaol.com_��drudgereport.com_��nationalgeographic.comZnypost.com_��chicagotribune.comWmsn.comZusnews.com\facebook.comX9gag.com[netflix.comXhulu.com_��dailymotion.com_��collegehumor.com^funnyordie.comWvine.co]pinterest.com_��stumbleupon.com]instagram.com_��mail.google.com_��blog.chaoticgood.computer���
� �.�/�j�t���������������������������%�7�I�V�_�j�u�������������������������$�+�9�A�T�m�x�������������������������'�5�G���������������=���������������c
It appears they contain very similar information, but are definitely not the same.
from selfcontrol.
After doing a search for files with the same MD5 hash as the exported blocklist, it appears none exist in either ~/Applications or ~/Library/Preferences, which leads me to believe that the blocklist recognized by the SelfControl frontend application and the CLI are using two different formats for blocklists. Pure speculation, but I'd imagine the copy in ~/Library/Preferences
is the format recognized by the GUI, and the exported copy is the format recognized by the CLI.
Being able to access the blocklist defined by the user in the GUI would be enormously helpful - I am currently building out a SelfControl Raycast extension for my own (and others) use, and being able to use the GUI-defined blocklist rather than having to re-export changes to a specific file location in the user's home directory would be awesome.
from selfcontrol.
Related Issues (20)
- Prevent disabling by changing date and time HOT 1
- Add self control to PC HOT 1
- I was doing some drive cleanup .. now I am getting error.. How to reinstall selfcontrol helper tool ?
- Add long, random string input as a means to end blocking
- **problem - some compulsive actions I'd like to control can be done by huge amount of sites, like playing card games or watching series. I can't possibly list all the websites.** HOT 1
- problem - some compulsive actions I want to control can be done by huge amount of sites, like playing card games or watching tv series. but I can't possibly list all the websites. would be great if it was possible to block by keywords, I've seen it in other apps, but those apps are easily bypassed, so selfcontrol is great for addicts, but still not restrictive enough. HOT 1
- Selfcontrol permanently breaks iCloud Private relay, even when uninstalled. HOT 2
- Build for Debian/Linux HOT 3
- Blocks a bookkeeping website and Shopify add to cart HOT 5
- Accidentally Started too long a block timer HOT 1
- CLI uses time value from app instead of `--enddate`
- Site on blocked list, yet still allows me to visit. All other websites on block list work fine. HOT 3
- The Self Control App does not block sites when I use Safari HOT 2
- First item on list is not blocked on Safari
- SelfControl does not work with TorGuard's Proxy extension for Mozilla firefox
- Add Timed Blocks
- Block specific URL subpages
- Urgent - restarted computer while on a timer and now ALL internet traffic is blocked
- starting app and installing helper app, breaks private relay HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selfcontrol.