One Focus Logo One Focus
守护您的专注力

强制屏幕时间,重获高效专注。

一款防篡改、跨平台的设备使用限制工具,在休息时间让你远离电脑。支持 Windows、macOS、Linux 和 Android 系统。

bash - one-focus config

专为助您“断网拔线”而设计

系统级权限控制与防篡改机制,为您雷打不动地执行生产力提升与作息计划。

每日时间限制

为工作日和周末设置独立的使用时长限制,完美契合您的工作与休息节奏。

夜间强制锁定

在设定的熄灯休眠时间段(例如 20:00 到 07:00)锁定系统,彻底根治深夜报复性熬夜。

番茄钟强制休息

强制执行小时级的间歇休息。在每小时设定的特定分钟自动挂起或警告,催促您活动身体。

全屏警告遮罩

可选用温和的全屏警告覆盖,代替生硬的直接关机或休眠,给您留出保存紧急工作的时间。

NTP 时间防作弊

严防时间篡改。系统启动时强制通过 NTP 网络时间协议验证真实世界时间,无法通过改系统表作弊。

高强度防卸载防修改

将配置文件和使用计数数据库权限锁死为 Root/管理员专用,增加自我妥协的破解门槛。

选择您的系统平台

在您常用的设备上部署。纯净无广告、超轻量原生运行。

Windows

One Focus

Windows 10 / 11 (64位)

安全下载 (.exe)

Windows 安装步骤

1
运行下载好的安装程序文件 (.exe)。
2
在系统提示时,授予管理员(Administrator)权限。
3
按照屏幕提示进行安装,后台监控服务将自动注册并启动。

更新

↻
在 PowerShell 中运行最新安装程序覆盖当前版本,设置会保留:
$f = "$env:TEMP\one-focus-setup.exe" Invoke-WebRequest https://assets.onefoc.us/one-focus_latest.exe -OutFile $f Start-Process $f -Verb RunAs -Wait
macOS

One Focus

macOS 11+(Apple 芯片)

安全下载 (.pkg)

macOS 安装步骤

1
双击运行下载好的 `.pkg` 安装包进行安装。
2
打开终端运行初始化配置:
sudo /opt/one-focus/one-focus config
3
launchd 守护进程会自动启动,可用以下命令确认:
sudo launchctl list | grep us.foc.one.monitor

更新

↻
安装最新的软件包覆盖当前版本,设置会保留:
curl -fsSL -o /tmp/one-focus.pkg https://assets.onefoc.us/one-focus_latest_darwin.pkg sudo installer -pkg /tmp/one-focus.pkg -target /
Ubuntu

One Focus

Ubuntu 22.04 / 24.04 / 25.04 / 25.10 / 26.04 (x86_64)

浏览软件包

Ubuntu 安装步骤

1
添加 OBS 仓库并使用 apt 安装:
source /etc/os-release REPO=https://download.opensuse.org/repositories/home:/toddyi/xUbuntu_${VERSION_ID} curl -fsSL "$REPO/Release.key" | sudo gpg --dearmor -o /usr/share/keyrings/one-focus.gpg echo "deb [signed-by=/usr/share/keyrings/one-focus.gpg] $REPO/ /" | sudo tee /etc/apt/sources.list.d/one-focus.list sudo apt update sudo apt install one-focus
2
运行交互式配置命令:
sudo one-focus config
3
服务会自动启动,可用以下命令确认:
systemctl status one-focus

更新

↻
更新会随系统常规更新一起到来。仅更新 One Focus:
sudo apt update && sudo apt install --only-upgrade one-focus
Debian

One Focus

Debian 12 / 13 (x86_64)

浏览软件包

Debian 安装步骤

1
添加 OBS 仓库并使用 apt 安装:
source /etc/os-release REPO=https://download.opensuse.org/repositories/home:/toddyi/Debian_${VERSION_ID} curl -fsSL "$REPO/Release.key" | sudo gpg --dearmor -o /usr/share/keyrings/one-focus.gpg echo "deb [signed-by=/usr/share/keyrings/one-focus.gpg] $REPO/ /" | sudo tee /etc/apt/sources.list.d/one-focus.list sudo apt update sudo apt install one-focus
2
运行交互式配置命令:
sudo one-focus config
3
服务会自动启动,可用以下命令确认:
systemctl status one-focus

更新

↻
更新会随系统常规更新一起到来。仅更新 One Focus:
sudo apt update && sudo apt install --only-upgrade one-focus
Fedora

One Focus

Fedora 43 / 44 (x86_64)

浏览软件包

Fedora 安装步骤

1
添加 OBS 仓库并使用 dnf 安装:
source /etc/os-release curl -fsSL "https://download.opensuse.org/repositories/home:/toddyi/Fedora_${VERSION_ID}/home:toddyi.repo" | sudo tee /etc/yum.repos.d/one-focus.repo sudo dnf install one-focus
2
运行交互式配置命令:
sudo one-focus config
3
服务会自动启动,可用以下命令确认:
systemctl status one-focus

更新

↻
更新会随系统常规更新一起到来。仅更新 One Focus:
sudo dnf upgrade --refresh one-focus
openSUSE

One Focus

openSUSE Tumbleweed / Leap 15.6 / 16.0 (x86_64)

浏览软件包

openSUSE 安装步骤

1
添加 OBS 仓库并使用 zypper 安装(Leap 请将 openSUSE_Tumbleweed 替换为 15.6 或 16.0):
sudo zypper addrepo --refresh https://download.opensuse.org/repositories/home:/toddyi/openSUSE_Tumbleweed/ one-focus sudo zypper --gpg-auto-import-keys refresh one-focus sudo zypper install one-focus
2
运行交互式配置命令:
sudo one-focus config
3
服务会自动启动,可用以下命令确认:
systemctl status one-focus

更新

↻
更新会随系统常规更新一起到来。仅更新 One Focus:
sudo zypper refresh one-focus && sudo zypper update one-focus
Arch Linux

One Focus

Arch Linux (x86_64)

浏览软件包

Arch Linux 安装步骤

1
添加 OBS 仓库并使用 pacman 安装:
sudo tee -a /etc/pacman.conf <<'REPO' [home_LoveKapibarasan_Arch] SigLevel = Never Server = https://download.opensuse.org/repositories/home:/toddyi/Arch/$arch REPO sudo pacman -Sy one-focus
2
运行交互式配置命令:
sudo one-focus config
3
服务会自动启动,可用以下命令确认:
systemctl status one-focus

更新

↻
更新随完整系统升级一起到来(Arch 不支持部分升级):
sudo pacman -Syu
Android

One Focus

Android 8.0+ 移动端

安全下载 (.apk)

Android 安装步骤

1
将 `.apk` 安装文件下载到您的安卓设备。
2
在系统设置中启用“允许安装未知来源应用”权限。
3
打开文件并按照屏幕提示完成安装和权限授予。

更新

↻
从上方下载最新的 .apk,覆盖安装到当前应用上,设置会保留。

赞助支持项目

One Focus 是一款免费、开源且无广告的工具。如果它成功帮您克制了拖延、改善了睡眠,欢迎考虑请开发者喝杯咖啡支持后续开发!

请我喝杯咖啡