ScreenInk
Multiplatform screen annotation software that allows drawing directly on the screen. (Fork of ScreenInk by Robert Susik, GPLv3.)
Description
Screen annotation software which allows drawing directly on the screen. It is an open source and multiplatform (all systems that support Python) alternative to tools such as Epic Pen. Supported shapes:
- line,
- arrow,
- rectangle,
- ellipse,
- chart (using matplotlib),
- ghost ink (strokes that fade away after a few seconds).
The behavior of the program depends on the Window System you use:
- if the system supports "live transparency then a transparent background is used (you can see a video playing in the background),
- if not then the screenshot is taken, and the user draws on the captured image (you see a static image of the screen),
- sometimes your WM may be detected as not supporting "live transparency". In that case try running with
-tparameter to force it._
Demo (video)
Note: The app is created ad-hoc only for my use case. It may contain bugs...
Usage
Installation and execution
Tu run the program you need to have Python installed and execute following:
pip install screenink
screenink # or python -m screenink
NOTE: Your WM may be detected as not supporting "live transparency". In that case try running with -t parameter:
screenink -t
Language / Dil
The interface is available in English and Turkish (Türkçe). By default the system language is used.
Change it with the globe button in the toolbar, with language = tr in the config file, or with screenink -l tr.
Arayüz İngilizce ve Türkçe desteklenir; araç çubuğundaki dünya simgesinden, yapılandırma dosyasındaki language = tr ayarından veya screenink -l tr komutuyla değiştirilebilir.
Ghost ink / Hayalet mürekkep
Toggle the ghost button in the toolbar (or press Ctrl+G). Strokes drawn in this mode are not kept:
they stay for ghost_seconds and then fade out over ghost_fade seconds. Handy for pointing at things while presenting.
Araç çubuğundaki hayalet düğmesi (veya Ctrl+G) açıkken çizilen çizgiler birkaç saniye sonra kendiliğinden silinir.
Controls
- Left mouse button - drawing.
- Right mouse button - quit.
- Keyboard shortcuts:
Ctrl+Z- undo,Ctrl+Y- redo,- hold
Shift- change mouse cursor icon to arrrow.
Configuration
There are a few configuration options that can be set using config file:
icon_size- size of the icons (default: 50)hidden_menus- to hide menus on start (default: False)ghost_seconds/ghost_fade- how long ghost ink stays and how long it fades (default: 3 / 1)language- interface language:auto(system language),enortr(default: auto)
The config should look like below:
[screenink]
; Interface language: auto (system language), en, tr
language = auto
; Possible values for areas: topToolBarArea, bottomToolBarArea, leftToolBarArea, rightToolBarArea
penbar_area = topToolBarArea
boardbar_area = topToolBarArea
actionbar_area = leftToolBarArea
hidden_menus = False
icon_size = 50
sc_undo = Ctrl+Z
sc_redo = Ctrl+Y
sc_toggle_menus = Ctrl+1
ghost_default = False
ghost_seconds = 3
ghost_fade = 1
sc_ghost = Ctrl+G
exit_mouse_button = right
exit_shortcut = Escape
drawing_history = 500
(more options will be added in the future...)
TODO
- Better Matplotlib charts support.
- Better wayland support.
- Add "paste image" feature.
- Add ellipse shape.
- Add arrow shape.
- Turkish translation.
- Keyboard shortcuts for changing colors.
Compatilibity notes
Screenpen (from 0.2 version) is compatible with PyQt5 and PyQt6, nevertheless the PyQt5 is currently in the requirements and recommended. It is possible to run it using PyQt6 by running:
pip install matplotlib>=3.2 numpy>=1.8 PyQt6
pip install screenink --no-deps
Wayland support
Screenpen works in some Wayland compositors, but it is not perfect.
There are issues with windows positioning and transparency.
In case the window opens on wrong monitor (which I noticed on Sway WM) you can move it using Win+Shift+Arrows (or Alt+Shift+Arrows) shortcuts to a desired monitor.
I have no plans to fix it in near future, but I will accept PRs.
Metadata
Release files for screenink 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| screenink-0.5.0.tar.gz | 69.2 kB | Without provenance | Details for screenink-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| screenink-0.5.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for screenink-0.5.0-py2.py3-none-any.whl |
Total release size: 113.4 kB
Release files / screenink-0.5.0.tar.gz
| Download URL | screenink-0.5.0.tar.gz |
|---|---|
| Size | 69.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba87b1f9a6ea3f0c177743be4c9aaca1e5e5c9faa70202f7206f4b3b15deffa9
|
|
BLAKE2b-256 checksum How to use checksums |
21f0125dbc4b7a09790d64a918cb30df010ed8cc7ea08849d6c892494e7f2804
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / screenink-0.5.0-py2.py3-none-any.whl
| Download URL | screenink-0.5.0-py2.py3-none-any.whl |
|---|---|
| Size | 44.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
048420919b4482b8fd5df22ccf347cbe9beff67d928c1663e36d330aac97d5b0
|
|
BLAKE2b-256 checksum How to use checksums |
7908cf5946afbe5bd47729a8188f86e47dfbd8b1481a2b408715766a54db2093
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for screenink 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.