Anti-AFK application specifically designed for Sober (Roblox on Linux). Currently focused on Hyprland environment (using "Swapper" mode).
- π§ Smart window management: The program switches focus, performs an action, and returns the cursor to its original position.
- β° AFK Actions: Jump (Space), Walk (W/S), or Camera Zoom (I/O).
- β―οΈ Auto-Start/Stop: Automatically enables when Sober is detected and disables once the game is closed.
- π‘οΈ User-Safe: Pauses actions if user activity (mouse movement or key presses) is detected.
- π― FPS Capper: Limits CPU resource consumption of background game processes via
systemd CPUQuota. [BETA] - π Auto Reconnect: Automatically clicks the "Reconnect" button on disconnect (uses
grimfor pixel analysis). [BETA] - π₯· Stealth Mode: Ability to run the game in "hidden" mode (Special Workspace in Hyprland) during action execution.
- π₯ Tray: Convenient control and status indication via the tray (powered by
ksni).
- AppImage: Download the latest version from the Releases page. (run
chmod +x AntiAFK-RBX-Sober-vX.Y.Z.AppImageand then./AntiAFK-RBX-Sober-vX.Y.Z.AppImageand see Usage)
- AUR:
yay -S antiafk-rbx-soberor
paru -S antiafk-rbx-sober The program requires write access to /dev/uinput to simulate input. The application includes a "FIX" button in the Compatibility section that sets this up automatically (requires sudo password).
But you can unlock it manually using (resets after reboot):
sudo chmod 666 /dev/uinputOr create a udev rule (recommended, will be applied after reboot):
echo 'KERNEL=="uinput", MODE="0666"' | sudo tee /etc/udev/rules.d/99-uinput-antiafk.rules
sudo udevadm control --reload-rules && sudo udevadm triggerdon't need if you install via AUR
To add the application to your system menu, run the binary with the --install flag:
./AntiAFK-RBX-Sober --installThis will automatically:
- Create a
.desktopentry in~/.local/share/applications/. - Install the application icon to
~/.local/share/icons/.
- General:
pgrep,systemd(for FPS Capper). - Hyprland:
grim(for "Auto Reconnect"). - KDE Plasma:
spectacle(for "Auto Reconnect") andqdbus/qdbus6(for focus management, basically pre-installed on KDE).
You will need Rust, GTK4, and libdbus development libraries installed on your system.
-
Install Rust.
-
Install build-time dependencies:
- Ubuntu/Debian:
sudo apt install build-essential libgtk-4-dev libdbus-1-dev pkg-config - Arch Linux:
sudo pacman -S --needed base-devel gtk4 pkg-config - Fedora:
sudo dnf install gtk4-devel dbus-devel gcc pkg-config
- Ubuntu/Debian:
-
Clone the repository:
git clone https://github.com/Agzes/AntiAFK-RBX-Sober.git cd AntiAFK-RBX-Sober -
Build the project:
cargo build --release
-
Run the binary:
./target/release/AntiAFK-RBX-Sober
The compiled binary will be located at target/release/AntiAFK-RBX-Sober.
- Remove
~/.local/share/applications/dev.agzes.antiafk-rbx-sober.desktop - Remove the AppImage file.
- Run
yay -Rns antiafk-rbx-soberorparu -Rns antiafk-rbx-sober
Currently program support only Hyprland and KDE Plasma 6 (with AntiAFK-RBX-Sober v.0.2.0). Support for other environments (GNOME, NIRI, X11) is planning.
With β€οΈ by Agzes
pls β project!






