Voltar ao blog
Guide

How to Keep Slack Active on Linux

On Linux the away flip comes from two places: Slack's 10-minute idle timer and your desktop's idle-blank-suspend chain. The GNOME and KDE settings that stop sleep-away, what systemd-inhibit and Caffeine cannot do, and the xdotool route with its Wayland limit.

Slack Green Team
September 7, 2026
September 7, 2026
5 min read
Share:
slack
linux
remote work

Linux gets the same Slack desktop app as Mac and Windows, the same 10-minute idle timer, and one extra layer of variety: every desktop environment ships its own idle, blank, and suspend chain, and any link in that chain marks you away in seconds. This page covers the Linux specifics: the GNOME and KDE settings that stop sleep-away, the inhibit tools that solve only half the problem, and the scripted-input route with its Wayland catch. One option in the lineup is Slack Green, the server-side tool we build; it appears in the comparison with the same honesty as the free methods. The full cross-platform method comparison is in how to keep Slack active.

The two clocks that turn a Slack dot gray on Linux

The two clocks on Linux

Slack's idle timer. Ten minutes without typing, clicking, or scrolling inside the Slack window, on any distro and any package format: deb, rpm, snap, or flatpak all behave the same. Input to other windows does not count, because Slack cannot see input outside its own surface, and no setting changes the 10 minutes.

The desktop's idle chain. GNOME blanks the screen after 5 minutes of stillness by default and suspends on battery after 20; KDE and others ship their own numbers. A blanked-then-locked or suspended session reports nothing, so the dot dies long before Slack's timer would have fired. On most setups this chain, not Slack, is what marks you away first.

Stop the desktop from cutting you off

On GNOME, two settings and one command cover it:

  • Screen Blank. Settings, Power, Screen Blank: set it longer than your longest stretch away, or Never.
  • Automatic Suspend. Same panel, turn it off while you need the dot, at least on AC power.
  • One command instead. gsettings set org.gnome.desktop.session idle-delay 0 disables idle blanking; on X11, xset s off -dpms does the same at the display level.
  • On KDE, the equivalents live in Energy Saving; on anything else, look for idle, blank, and suspend timers. The generic tool that works everywhere systemd runs:

    
    systemd-inhibit --what=idle:sleep sleep infinity
    

    It holds idle and sleep inhibited until you stop it. The GNOME Caffeine extension does the same from the top bar.

    Now the limit, and it is the same limit as on every platform: all of this stops only the sleep clock. A wide-awake Linux box still shows you away 10 minutes after your last input in the Slack window. Inhibitors create no input; the same-family test for keep-awake tools is in does Caffeine keep Slack active.

    What each Linux option fixes: sleep-away, the 10-minute timer, machine off

    What resets Slack's timer on Linux

Nunca mais apareça como "ausente" no Slack

Na nuvem. Sem downloads. Funciona 24/7 mesmo com seu notebook desligado.

  • Touch Slack between tasks. Free, works, interrupts focus all day.
  • A hardware jiggler. Moves the real cursor; counts when it lands over the Slack window. Distro-independent, visible on screen shares.
  • xdotool, the Linux classic. A one-line loop can nudge the cursor or send a key to the Slack window on a schedule. The catch that fills forum threads: xdotool speaks X11. On a Wayland session, which is the default on modern GNOME and KDE, it cannot inject input; ydotool works there but needs root-level setup for its daemon. Check with echo $XDG_SESSION_TYPE before you build the script.
  • A second signed-in device. A phone with the Slack app on screen holds the dot regardless of what the Linux box does; limits in keep Slack active on mobile.
  • Server-side presence. Slack Green holds your session from a cloud server on your schedule, so the desktop environment, the session type, and the 10-minute timer all stop mattering. It is paid, and there is a self-hosted CLI that runs on your own box, which tends to fit how Linux users want tools to work: your hardware, your tokens.
  • If the dot goes gray while you are typing in Slack itself, that is not a timer problem: Slack keeps showing away while working.

    The xdotool route and its Wayland catch

    Does systemd-inhibit keep Slack active? No. It stops idle and sleep, which prevents the instant sleep-away, and leaves the 10-minute idle timer running.

    Does the Caffeine GNOME extension keep Slack green? Same class: it inhibits the idle chain and creates no Slack input.

    Why does my xdotool script do nothing? You are probably on Wayland. echo $XDG_SESSION_TYPE answers it; on Wayland use ydotool or a hardware jiggler, or move the problem off the machine entirely with a server-side session.

    Is the snap or flatpak Slack different for presence? No. Sandboxing changes file access, not the idle timer. All package formats report presence the same way.

    Can I keep Slack active with the machine suspended? Not from the machine. A suspended box reports nothing. A second device or a server-side session are the options that survive suspend, compared in how to keep Slack active.

    The short version

    Fix the desktop chain first: Screen Blank and Automatic Suspend in GNOME, Energy Saving in KDE, or systemd-inhibit --what=idle:sleep, because default idle settings mark you away minutes before Slack's own timer. Then feed the 10-minute timer: by hand, with a jiggler, with xdotool on X11 or ydotool on Wayland, from a phone, or from a server with Slack Green, self-hosted if you prefer your tokens on your own hardware.

    Always Active

    Pare de Mexer o Mouse.

    Centenas de trabalhadores remotos não se preocupam mais com o status do Slack. Configure uma vez, fique verde para sempre.

    Related Articles

    Guide

    Funny Slack Status Ideas That Survive a Work Channel

    Copy-paste funny Slack statuses sorted by situation: deep work, meetings, lunch, Friday, and out of office. The two rules that keep a joke work-safe, and why the status never touches your green dot.

    Slack Green Team5 min read
    Guide

    5 ferramentas para manter o Slack verde, julgadas por duas perguntas

    Toda ferramenta que promete um ponto verde no Slack responde a duas perguntas. Ela cria entrada dentro do Slack? E sobrevive ao notebook fechado? Classifique as cinco opções populares por essas duas perguntas e os vereditos se escrevem sozinhos.

    Slack Green Team5 min read
    Guide

    How to Keep Teams and Slack Active at the Same Time

    Slack counts input inside its own window on a 10-minute timer. Teams reads keyboard and mouse anywhere, on 5. One trick rarely covers both, and the setups that do are specific.

    Slack Green Team5 min read
      Keep Slack Active on Linux: Idle, Sleep, and Script Fixes