-
Notifications
You must be signed in to change notification settings - Fork 0
Building from Source
TaintedAngel edited this page Mar 16, 2026
·
1 revision
git clone https://github.com/TaintedAngel/linuxshot.git
cd linuxshotpip install -e .This lets you edit the source and see changes immediately without reinstalling.
pip install build
python -m buildOutput goes to dist/.
linuxshot/
├── linuxshot/
│ ├── __init__.py # version info
│ ├── __main__.py # CLI entry point and command routing
│ ├── app.py # main app logic (capture + upload pipeline)
│ ├── capture.py # screenshot capture backends (spectacle, grim, maim)
│ ├── config.py # config management (JSON)
│ ├── history.py # capture history tracking
│ ├── imgur_auth.py # Imgur OAuth2 PKCE authentication
│ ├── shortcuts.py # KDE global shortcut registration via DBus
│ ├── tray.py # PySide6 system tray + settings dialog
│ ├── upload.py # upload to catbox/0x0/imgur
│ ├── utils.py # helpers (display server detection, paths, deps)
│ └── ui/
│ └── main_window.py # GTK3 main window (legacy GUI)
├── resources/
│ ├── linuxshot.desktop
│ └── icons/
│ └── linuxshot.svg
├── aur/
│ ├── PKGBUILD
│ └── .SRCINFO
├── setup.sh # automated installer
├── uninstall.sh
├── pyproject.toml
└── README.md
No test suite yet. Contributions welcome.
- Fork the repo
- Create a branch (
git checkout -b my-feature) - Make your changes
- Test locally with
linuxshot trayandlinuxshot check - Open a PR