Live data from Hacker News

Ask HN: How to make my macOS less distracting?

news.ycombinator.com

21–30 of 64 posts

Re: Ask HN: How to make my macOS less distracting?

#21
I think every computer should have a paper and pencil mode. Where it reduces all its functionality instantly to that of a piece of paper and pen (well maybe a keyboard instead of a pen.) Once it that mode it should stay there for at least 30mins or x mins without a way to force it out of that mode (well at least not without a serious amount of work.)

Re: Ask HN: How to make my macOS less distracting?

#24
I have a macOS-specific script to help me focus. I had it in mind for years, finally went and implemented it and coudldn't be happier these days, as far as productivity goes.

You might find some interesting ideas and links in the README which is quite generously verbose.

https://github.com/reducecombine/work.sh

Re: Ask HN: How to make my macOS less distracting?

#25
post #11
post #5

I was thinking to install Ubuntu, to get rid of addictive stuff, make it harder to go beyond bare bones writing, coding and reading.

Yes, spend your time maintaining a Linux distro on the desktop instead. Everytime it breaks, you won't have time to surf any toxic forums.

There's a lot of things to pick at desktop Linux for, but maintenance is not one of them, especially not on a mainstream fixed-release distro like Ubuntu. Once you're set up, you're good to go, and you have full control over what you want to change.

Re: Ask HN: How to make my macOS less distracting?

#27
I use hammerspoon (https://www.hammerspoon.org/) and have a section in my ~/.hammerspoon/init.lua that puts things into "focus mode" where it centers my current focussed window and minimizes everything else. If I used notifications (I turn them all off all the time) I would put it into do not disurb mode during this time also. Here's a snippet that does this:

    focusTimer = nil        -- A timer for when we are in "Focus Mode"
    function focusModeOff()
        all = hs.window.allWindows()
        for _, w in pairs(all) do
            if(w:isMinimized()) then
                w:unminimize()
            end
        end
        applyStandardLayout()
        if(focusTimer ~= nil) then
            focusTimer:stop()
            focusTimer = nil
        end
    end

    -- Focus mode
    function focusMode()
        if(focusTimer == nil) then
            hs.alert("Setting focus for 25mins.")
            local focused = hs.window.focusedWindow()
            if(focused ~= nil) then
                focused:centerOnScreen()
            end
            all = hs.window.allWindows()
            for _, w in pairs(all) do
                if(focused ~= nil and w:id() ~= focused:id()) then
                    w:minimize()
                end
            end
            focusTimer = hs.timer.doAfter(25 * 60, function()
                focusModeOff()
                hs.alert("Take a 5min break. Record what you just did.")
                --TODO: Make a pomodoro recording thing
            end)
        else
            local remaining = focusTimer:nextTrigger()
            local remainingSec = math.floor(remaining % 60)
            local remainingMin = math.floor(remaining / 60)
            hs.alert("Focus timer expires in " .. remainingMin .. "m " .. remainingSec .. "s.")
        end
    end

    --focus mode
    hs.hotkey.bind({"cmd", "ctrl"}, "Return", focusMode)

Re: Ask HN: How to make my macOS less distracting?

#28
post #11

Earlier quoted context omitted.

Yes, spend your time maintaining a Linux distro on the desktop instead. Everytime it breaks, you won't have time to surf any toxic forums.

There's a lot of things to pick at desktop Linux for, but maintenance is not one of them, especially not on a mainstream fixed-release distro like Ubuntu. Once you're set up, you're good to go, and you have full control over what you want to change.

Until what you seek is not in the package manager or there is an old version that is not solving your specific issue. I use Arch btw.

Re: Ask HN: How to make my macOS less distracting?

#29
A lot of solutions here involves diving deeper into tech. I don’t think this is a good idea since you will start going down a similar rabbit hole.

This is a focus problem. Everyone have a different way of solving this. For me, the best way is to write what I want to achieve on paper and start doing it right away. I don’t do anything else until I cross out all of them.

Re: Ask HN: How to make my macOS less distracting?

#30
• Option click in the top right corner of the screen to enable do not disturb.

• use Spaces and put all the chattery apps in one Space (right click in Dock > only this space)

• Hide the Dock

• Set cmd-lower right corner of screen (in screensaver prefs) to turn off screen, so you can easily create a void when you need to think

• Turn off all extra toolbars in programs, reduce visual clutter as much as possible

• Hide Desktop icons (simple Terminal command, Google it)

• Use Sticky Notes App to jot down quick thoughts — you can get in and out instantly

• Launch apps w/ Spotlight (cmd space) so you don't see cluttered Dock or Launchpad or Apps folder

• Solid color dark gray desktop so it's not a distraction

• Mute the computer

• Accessibility > display > reduce transparency makes the system more bland

• prefs > general set graphite accent color

Post reply on HN