Skip to content
OandONEPublic

About

Privacy indicator dot for Linux desktop. Shows when apps use your microphone or camera - just like Android 12

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

Β 

History

82 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🟒 Dot - Privacy Indicator for Linux

Take back control of your privacy.
A sleek system tray indicator that shows you exactly when apps are spying through your microphone, camera, screen share.

Dot in system tray


✨ Features

Feature Description
🟒 Green Dot A single app is using your device
🟠 Orange Dot Multiple apps are accessing your device simultaneously
βšͺ Gray Dot All clear β€” no activity detected
πŸ“Š History Log SQLite database with timestamps, app names, and duration
βš™οΈ Settings GUI Enable/disable monitoring per device
🎨 Color Picker Built-in color chooser for each indicator state
⏱️ Configurable Check Interval Adjust how often Dot checks for device access (0.1s - 5s)
πŸš€ Auto-start Toggle Enable/disable run on boot from Settings
πŸ” App Menu Entry Search "dot" in Activities to launch
πŸ”’ Single Instance Only one Dot runs at a time
🐧 Linux Desktop Integration Modular desktop integration with desktop-specific startup handling
πŸ›‘οΈ Secure Installation install.sh with systemd service and anti-tamper protection (chattr)
πŸ”„ Auto-Restart Automatically restarts if killed or crashed
πŸ”” Desktop Notifications Get notified when apps access your devices
πŸ”§ CLI Commands Block devices, kill apps, check status from terminal
🌐 Web Panel Monitor devices from browser at localhost:8080
🚫 Kill Switch Ctrl+Shift+K β€” instantly block all devices
πŸͺŸ All desktop environment GNOME, KDE Plasma, Cinnamon, LXQt, Xfce

🎯 Why Dot?

Android 12 introduced the famous green dot indicator. iOS has it. Windows has it.
Linux desktop didn't β€” until now.

Dot monitors PipeWire/PulseAudio streams and video devices in real-time. If any app accesses your microphone or camera, you'll know immediately.


πŸ“Έ Screenshots

Tray (Active) Menu
Active Menu
History Settings Web Panel Notification
History Settings Web Notify

πŸ› οΈ Tech Stack

  • Python 3 β€” Core logic
  • GTK3 + AppIndicator3 β€” Native Linux UI
  • SQLite3 β€” Lightweight local logging
  • PipeWire / D-Bus β€” Audio/video stream monitoring
  • psutil β€” Process information
  • JSON β€” User configuration
  • Cairo β€” Color preview rendering

πŸ“¦ Installation

Prerequisites

sudo apt install gir1.2-appindicator3-0.1 python3-pip python3-venv xdotool python3-gi python3-gi-cairo -y

Method 1: Quick Install (Recommended) πŸ›‘οΈ

Installs with systemd service and anti-tamper protection.

git clone https://github.com/OandONE/dot.git && cd dot/dot
bash install.sh

What this does:

  • Copies files to /opt/dot
  • Locks critical files with chattr +i (even root can't delete without unlock)
  • Creates a systemd service that auto-restarts Dot if killed
  • Configures automatic startup through the user's desktop session
  • Integrates with desktop environments that do not activate graphical-session.target

Method 2: Manual Install

git clone https://github.com/OandONE/dot.git && cd dot/dot
python3 -m venv .venv --system-site-packages
source .venv/bin/activate
pip install -r ../requirements.txt
python3 main.py

After Installation

  • Dot appears in your system tray (top-right corner)
  • Search "Dot" in Activities to launch
  • Enable Run on startup from Settings

Uninstall

# Remove systemd service
systemctl --user stop dot.service
systemctl --user disable dot.service
rm -f ~/.config/systemd/user/dot.service

# Unlock and remove files
sudo chattr -i /opt/dot/main.py /opt/dot/core/*.py 2>/dev/null
sudo rm -rf /opt/dot

# Remove autostart
rm -f ~/.config/autostart/dot.desktop

# Remove desktop entry
rm -f ~/.local/share/applications/dot.desktop

# Clean temp files
rm -f /tmp/dot.pid /tmp/dot_*.png

πŸ”§ CLI Commands

Dot comes with a powerful command-line interface:

Command Description
dot help Show all commands
dot start Launch the GUI
dot status Show current device status
dot kill Kill all apps using devices
dot kill mic Kill apps using microphone only
dot kill cam Kill apps using camera only
dot block cam Disable camera (unload driver)
dot unblock cam Re-enable camera
dot block mic Mute microphone
dot unblock mic Unmute microphone
dot history Show access history in terminal
dot settings Open Settings window

πŸ’‘ After install, run source ~/.bashrc to activate the dot command.

🎨 Configuration

Edit config.json or use the built-in Settings GUI:

{
    "devices": {
        "camera": true,
        "microphone": true,
        "location": true,
        "screenshare": true
    },
    "settings": {
        "auto_delete_logs": 30,
        "check_interval": 0.8,
        "startup_check_interval": 0.5,
        "auto_start": false
    },
    "notifications": {
        "camera": false,
        "microphone": false,
        "screenshare": false
    }
}

🚧 Roadmap

v2.0

  • πŸ“ Location monitoring (GPS / GeoClue)
  • πŸ“ˆ Statistics dashboard
  • πŸ“· Fake Camera (v4l2loopback)
  • 🎨 Custom themes
  • πŸ“¦ Debian/Flatpak/Snap packages
  • πŸ”’ Improve security
  • 🧩 Plugin/Extension
  • ☁️ CD/CI
  • πŸͺŸ Improve desktop environment integration and expand compatibility testing
  • βš™οΈ Add a filtering layer to ignore the desired processes

πŸ“ Project Structure

β”œβ”€β”€ dot
β”‚   β”œβ”€β”€ assets
β”‚   β”‚   β”œβ”€β”€ dot-cam.svg
β”‚   β”‚   β”œβ”€β”€ dot-idle.svg
β”‚   β”‚   β”œβ”€β”€ dot-mic.svg
β”‚   β”‚   β”œβ”€β”€ dot-multiple.svg
β”‚   β”‚   └── dot-screen.svg
β”‚   β”œβ”€β”€ cli.py
β”‚   β”œβ”€β”€ config.json
β”‚   β”œβ”€β”€ core
β”‚   β”‚   β”œβ”€β”€ config.py
β”‚   β”‚   β”œβ”€β”€ logger.py
β”‚   β”‚   β”œβ”€β”€ notifier.py
β”‚   β”‚   β”œβ”€β”€ utils.py
β”‚   β”‚   └── watcher.py
β”‚   β”œβ”€β”€ desktop
β”‚   β”‚   β”œβ”€β”€ base.py
β”‚   β”‚   β”œβ”€β”€ gnome.py
β”‚   β”‚   └── __init__.py
β”‚   β”œβ”€β”€ install.sh
β”‚   β”œβ”€β”€ main.py
β”‚   β”œβ”€β”€ show_window.py
β”‚   β”œβ”€β”€ startup_watchdog.py
β”‚   β”œβ”€β”€ ui
β”‚   β”‚   β”œβ”€β”€ indicator.py
β”‚   β”‚   └── windows.py
β”‚   └── web
β”‚       β”œβ”€β”€ app.py
β”‚       └── requirements-web.txt
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ screenshots
β”‚   β”œβ”€β”€ history.png
β”‚   β”œβ”€β”€ menu.png
β”‚   β”œβ”€β”€ notification.png
β”‚   β”œβ”€β”€ settings.png
β”‚   β”œβ”€β”€ tray-active.png
β”‚   └── web-panel.png
└── tests
    β”œβ”€β”€ test_config.py
    β”œβ”€β”€ test_desktop.py
    └── test_watcher.py

🀝 Contributing

Pull requests are welcome!
Found a bug? Open an issue.

Development

git clone https://github.com/OandONE/dot.git
cd dot/dot
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python3 main.py

πŸ“„ License

MIT Β© [OandONE] (2026)


πŸ™ Acknowledgments

  • Inspired by Android 12 Privacy Indicators
  • Built for the Linux community with ❀️
  • Thanks to PipeWire, GTK, and the open-source community

If this project helped you, consider giving it a ⭐

About

Privacy indicator dot for Linux desktop. Shows when apps use your microphone or camera - just like Android 12

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages