A slim GTK quick-note app for Linux and Windows — type and save to your Obsidian vault, with a screen-edge overlay where supported.
- Quick notes across desktops: a slide-in overlay on layer-shell Wayland, an experimental X11 overlay, or a normal window on GNOME and Windows
- Obsidian Markdown workflows: save dated notes, append to existing files, choose vault folders, or leave the date off
- History browser: search the latest 500 vault notes and read their formatted contents without leaving the overlay
- Markdown editing and preview: format headings, bold, italic, and underline; preview lists, quotes, links, code, and other supported syntax
- Appearance editor: follow KDE or Pywal colors, choose built-in palettes, edit colors and fonts, or add a local image backdrop
- Keyboard and display controls: desktop-configured global shortcuts, size, and monitor, position, and stacking options where supported
- Updates and recovery: check or install fast-forward updates, opt into automatic updates, and restore the overlay after suspend/resume
Port in progress: the existing Plasma Wayland integration is preserved. GNOME now has a normal-window integration on Wayland and X11; Windows has an experimental native GTK integration. User feedback confirms GNOME behavior and Fedora Wayland sessions with Sway and Niri. Windows testing and fixes remain in progress. The interface uses GTK 3; the Qt port remains planned. See the compatibility matrix.
- A Linux desktop or window manager running X11 or Wayland, or Windows with the MSYS2 UCRT64 runtime described below
- Python 3.10 or newer, PyGObject, GTK 3, and Cairo
- Optional gtk-layer-shell for overlays on Wayland compositors that expose the layer-shell protocol
- An Obsidian vault writable by your user
install.sh detects APT, DNF, Pacman, or Zypper and installs missing system
dependencies with that package manager (using sudo when needed). On systems
with other package managers, install the equivalent packages manually first.
To install the core dependencies manually on Fedora:
sudo dnf install python3 python3-gobject python3-cairo gtk3For the Wayland overlay, also install gtk-layer-shell. The Linux installer
tries to install it on Wayland desktops using overlays, but an unavailable
optional package does not block a normal window. GNOME and Windows use normal
windows and do not need gtk-layer-shell.
GNOME uses a managed normal window on both Wayland and X11; Windows uses the native GTK Win32 backend with a normal window. Other Linux sessions select an overlay or normal window from the actual display and layer-shell capabilities. Unknown window managers can use the available backend. Budgie keeps overlay behavior, including older sessions with a GNOME compatibility token.
| Desktop / window manager | Display and backend | Behavior | Verification status |
|---|---|---|---|
| GNOME | Normal window; Wayland and X11 integrations implemented | App-menu/shortcut launch, standard window controls, draft-preserving hide | User reports expected behavior; session type and version unspecified |
| KDE Plasma 5.x / 6.x with KWin | Wayland, layer-shell | Existing edge overlay, monitor selection, stacking, and hover controls | Previously supported integration; preserved by regression tests |
| Sway on Fedora | Wayland | Existing installation works in this session | User-confirmed; same installation as Niri |
| Niri on Fedora | Wayland | Existing installation works in this session | User-confirmed; same installation as Sway |
| Hyprland and other layer-shell compositors | Wayland, layer-shell | Same overlay requests; compositor policies can differ | Implemented; native session testing pending |
| Other X11 desktops and WMs, including Xfce, MATE, Cinnamon, LXQt, Budgie, i3, and Openbox | X11 | Experimental edge overlay using window-manager placement and stacking hints | Implemented; native session testing pending |
| Other Wayland desktops and WMs without layer-shell or its GTK binding | Wayland, normal window | App-menu/shortcut launch; compositor manages the window | Implemented; native session testing pending |
| Windows with MSYS2 UCRT64 | Win32, normal window | Start-menu launch, native user paths, local command transport | Experimental; reported CI failures addressed in source, native rerun and manual test pending |
The new paths have automated policy, geometry, and fake-window API coverage, plus isolated GTK widget tests on Broadway or Xvfb. These checks do not verify real compositor protocols, panel stacking, focus policy, or every desktop in the table. The table records implementation targets, not a claim that all Linux desktops have been tested.
Sway and Niri were confirmed on Fedora Wayland using the same existing installation. GNOME was reported to behave as expected, with its session type and version unrecorded. The reported Windows CI failures have source fixes; a native CI rerun and manual testing remain pending. Contributor manual checks cover further launch, focus, draft-preservation, and desktop-specific checks.
Run the Linux installer, then open CornerNote from
the app menu or run corner-note launch. Launch starts the daemon if needed
and shows the note; launching an already-open note keeps it visible. Closing
the window hides it and preserves its draft. corner-note toggle remains
available to switch between visible and hidden states while the daemon runs.
Use the header's Quit button to exit the daemon. A nonempty draft prompts
for confirmation; cancelling keeps the draft and the app open.
For a global shortcut, open Settings → Keyboard → View and Customize
Shortcuts → Custom Shortcuts, add CornerNote, and set its command to
corner-note launch. Choose an unused key combination. The launch command
also works when the daemon is stopped. These settings follow the
GNOME shortcut guide.
GNOME's integration uses a decorated normal window on both display protocols. It has no hover tab or slide animation; placement, monitor, and stacking controls are disabled, with saved values retained. The installer accepts GNOME and skips the optional layer-shell dependency.
The X11 backend requests an undecorated utility window, fixed screen position,
all-workspace visibility, and above/below stacking hints. The window manager
can override these requests. With a tiling WM, add a floating rule for the
CornerNote window if its utility-window handling does not float it already.
Use the title CornerNote to identify it when configuring a rule.
Monitor positions with negative coordinates are supported. Collapsing moves the window partly beyond the selected monitor, so the hidden area can appear on an adjacent output. Use an outer edge of the entire desktop for a clean collapsed tab. Layer-shell surfaces remain tied to their selected output.
On X11 the Stacking choices request below-window hints for bottom,
above-window hints only while expanded for auto, and above-window hints
throughout for overlay. Their relationship to panels, fullscreen windows,
and workspace rules depends on the WM.
GNOME, Windows, and Wayland sessions without layer-shell use normal windows.
A daemon started at login stays hidden until opened. Use the app menu or
corner-note launch to start and show CornerNote. corner-note show presents
an existing daemon's window, and corner-note toggle switches its visibility.
Closing the window hides it, preserves the current draft, and keeps the
daemon running. The header's Quit button exits the daemon, with an inline
discard confirmation when the draft is nonempty. Cancelling preserves it.
Normal windows have no hover tab or slide animation. The desktop controls position, monitor selection, and stacking, so the corresponding settings are disabled; existing values are preserved for a later overlay session. Note editing, History, appearance, settings, and saving remain available. Moving the pointer away does not hide a normal window.
On KWin, the layer-shell top layer can share its stacking layer with
Plasma panels. The bottom layer stays below panels and regular windows;
there is no layer-shell level that is guaranteed to sit above app windows but
below panels. The Stacking setting ("layer" in the config) picks the
behavior:
| Setting | Config value | Open note | Collapsed tab |
|---|---|---|---|
| Below panels and windows (default) | bottom |
behind panels and windows | behind panels and windows |
| Above panels while open | auto |
above panels and windows | behind panels and windows |
| Always above panels | overlay |
above panels and windows | above panels and windows |
If a panel sits on the same screen edge as the note, the collapsed tab is
hidden behind it with the default setting. Either set Y offset to the
panel's thickness (for example 44 for a top panel, -44 for a bottom one)
so the tab peeks out just past the panel, or choose Always above panels.
The default also puts the note behind regular app windows. Choose Above
panels while open to keep it above app windows while expanded.
KWin's wlr-layer-shell implementation has known quirks, and behavior may
differ between Plasma 5.x and 6.x. Check the KDE bug tracker query for
wlr-layer-shell
for the current status.
Krohnkite workaround: Set CornerNote's Stacking mode to Always above
panels (overlay).
git clone --depth 1 https://github.com/ChecksMc/Cornernote-for-KDE-Plasma.git
cd Cornernote-for-KDE-Plasma
./install.shA shallow clone (--depth 1) skips old revisions of the README demo GIF and
still works with the built-in updater.
The installer installs missing dependencies when it recognizes your package
manager, creates a user-level launcher, and preserves existing settings. It
copies config.example.json to ~/.config/cornernote/config.json only if no
config exists.
When login startup is enabled, it uses a systemd user service when graphical-session.target is active
and the user manager has the current display environment, including an
explicit XAUTHORITY on X11. Otherwise it creates an XDG login-autostart entry.
Follow the printed start command:
systemctl --user start cornernote for the service, or
~/.local/bin/cornernote-daemon for autostart. With a standalone WM that does
not process XDG autostart, add the latter command to its startup configuration.
Installation never restarts a running daemon or discards its draft. The daemon
uses the current checkout, so keep this repository in place after installing.
To install without login startup, run ./install.sh --no-autostart. Use
./install.sh --autostart to enable it explicitly. Both choices are saved;
a normal reinstall respects the saved preference. A fresh Linux installation
keeps the existing startup-enabled default.
Remove the service and launchers with ./uninstall.sh. This preserves your
settings by default; use ./uninstall.sh --purge-config to delete them too.
Open CornerNote from your app menu, or use corner-note launch to start
and show it. Bind corner-note launch in your desktop's global-shortcut
settings to open it even while stopped. Bind corner-note toggle instead if
you want a running daemon to alternate between open and closed. On KDE, open
System Settings → Shortcuts → Add New → Command or URL. CornerNote does
not register or replace global keybindings automatically.
Download CornerNote-Setup.exe and its .sha256 file from the Windows
installer artifact or a release. Verify the checksum, then run the executable.
The setup is per-user, needs no administrator access, installs CornerNote under
%LOCALAPPDATA%\Programs\CornerNote, and registers a normal entry in
Settings → Apps → Installed apps.
The executable currently packages CornerNote itself, but not the GTK runtime.
Install MSYS2, open its UCRT64 terminal, and
update with pacman -Syu (reopen the terminal and repeat if requested). Then
install the GTK 3 Python runtime:
pacman -S --needed mingw-w64-ucrt-x86_64-python \
mingw-w64-ucrt-x86_64-python-gobject \
mingw-w64-ucrt-x86_64-python-cairo mingw-w64-ucrt-x86_64-gtk3This uses the official GTK Windows setup and PyGObject Windows setup with CornerNote's GTK 3 dependency.
Setup asks for the MSYS2 root, normally C:\msys64, and validates
ucrt64\bin\python.exe and pythonw.exe. It also asks whether to preserve,
enable, or disable login startup. The default preserves an earlier choice and
keeps startup disabled on a fresh Windows installation.
The installer checks the existing runtime, preserves settings, and creates a
CornerNote Start-menu shortcut. It also creates command wrappers under
%LOCALAPPDATA%\CornerNote\bin without changing PATH. Open the Start-menu
shortcut to start and show the note, or use PowerShell:
& "$env:LOCALAPPDATA\CornerNote\bin\corner-note.cmd" launchThe shortcut uses pythonw.exe through a bootstrap that sets the GTK runtime
environment. Installation never starts or restarts the daemon. Keep the MSYS2
runtime in place. Reinstallation preserves settings and the saved login-startup
choice unless you explicitly change it in setup.
The executable is currently unsigned, so Windows SmartScreen may show an unrecognized-app warning. The accompanying SHA-256 file detects a corrupted or replaced download. Executable installations contain no Git metadata, so the built-in Git updater is unavailable; install a newer setup executable over the existing version instead.
For development checkouts, install-windows.ps1 remains the underlying setup
helper and can still be run directly with -Msys2Root, -Autostart, or
-NoAutostart.
Settings are in %APPDATA%\CornerNote\config.json; local command endpoint
metadata is in %LOCALAPPDATA%\CornerNote\cornernote.sock. Windows IPC uses
authenticated loopback TCP on a dynamically assigned port, with its token in
a file restricted to the current Windows user. The .sock file holds
metadata, rather than a Unix socket.
To uninstall, save your draft, choose Quit, then remove CornerNote from
Settings → Apps → Installed apps. The uninstaller preserves settings and
vault notes and does not stop a running daemon. A development checkout can
still use .\uninstall-windows.ps1; add -PurgeConfig only when default
settings should also be removed.
Open the Startup settings section, select or clear Start at login, and choose Apply startup. This updates the installed login integration and saves the preference independently of Save settings. The current daemon and draft stay open; the change affects future logins. The section reads the actual installed startup status when opened.
The same control is available without a running daemon:
corner-note autostart status
corner-note autostart enable
corner-note autostart disableOn Windows, use the installed corner-note.cmd wrapper from the path above.
The control manages CornerNote's systemd user service, XDG autostart entry,
or Windows Startup shortcut. If you separately added a daemon command to a
Sway, Niri, i3, or other WM configuration, remove that command manually when
disabling startup. Switching between the confirmed Sway/Niri sessions used
the same CornerNote installation.
Open settings and expand Updates. Choose Check for updates, then Install update when a newer revision is available. Checks and installation run in the background so the editor stays responsive.
To enable automatic installation, select Install updates automatically and
click Save settings. This saves "auto_update": true in the config and
checks immediately, on subsequent daemon starts, and every six hours while
the daemon runs. Available updates are installed automatically. The setting is
off by default; no background network checks run while it is disabled. Manual
checks remain available.
The command-line client can also check and install updates while the daemon is stopped:
corner-note check-update
corner-note updateUpdates require Git and a CornerNote Git checkout on a branch with a configured
upstream. The updater fetches that branch's upstream and installs only a
fast-forward update. Installation refuses local changes, untracked files,
local commits ahead of upstream, divergent history, or an unfinished Git
operation. It never forces a reset and does not edit settings or vault files
outside the checkout. ZIP installations cannot use the built-in updater;
download the latest source and rerun install.sh, or switch to a Git clone.
After installing an update, CornerNote keeps running with your current draft. To use the new version, save your note, then restart the daemon. On Linux with systemd:
systemctl --user restart cornernoteFor login-autostart installations, save your note, then log out and back in. On Windows, save your draft, choose Quit, and reopen CornerNote from Start. Updates never restart the daemon automatically; restarting clears any unsaved in-memory draft.
- With an overlay backend, hover the exposed paper tab to open it. Moving the pointer away collapses it. In the normal-window fallback, use your shortcut.
- Use the app menu or your configured shortcut to open and focus the note.
launchstarts it if needed and always shows it;togglealternates the forced-open state of a running daemon. - Enter in the title field moves focus to the note body.
- Submit normally to append a dated heading and draft to the configured
quick-notes file. To append to another Markdown file, enter its path as the
title or enable Append mode. A title ending in
.mdautomatically selects append mode. Relative append paths resolve inside the configured vault; absolute.mdpaths are also accepted. - Choose No date to omit the date from the saved heading. Typing
nonein the date field does the same. Custom dates such astomorrowor14.10are still supported. - Ctrl+Enter submits using the active mode.
- Ctrl+D toggles between a date and no date. Ctrl+Shift+D opens the date menu.
- Ctrl+Shift+A toggles append mode. Ctrl+Shift+F opens a Markdown-only picker to search for and append to an existing note in the vault.
- Ctrl+S toggles settings. The gear button also closes settings and returns to the editor. Settings collapse when the pointer leaves an overlay; normal windows stay open.
- History (Ctrl+H) browses the vault's latest 500 Markdown files, newest first. Search by filename or relative path, then select a file to read its formatted contents, including all appended entries. Refresh rescans the vault. Escape returns from a file to the list, then to your draft; the Draft button or Ctrl+H also returns to the editor. Browsing preserves unfinished text and submission options, and works across restarts.
- In the note body, Ctrl+1 inserts a level-one heading, Ctrl+B wraps text in bold markers, Ctrl+I wraps text in italic markers, and Ctrl+U wraps text in an HTML underline tag. The H1/B/I/U toolbar applies the same formatting. Headings, bold, italic, and underline appear styled while editing. Choose Preview (Ctrl+P) for a rendered view with the Markdown markers hidden; toggle it again to keep editing. Saving always preserves the Markdown. Preview also renders lists, quotes, links, strikethrough, and fenced/inline code. Other HTML and unsupported Markdown stay as text.
- Escape opens an inline discard confirmation. Confirm with Y/Yes or cancel with N/No/Escape.
- The gear button toggles between the editor and settings for the vault, filename/date format, timing, tab peek, appearance, and updates. Appearance changes are saved with Apply style; Save settings saves the other settings and returns to the editor.
Collapsing an overlay or hiding the window never clears a draft. A draft is cleared only after a successful write or a confirmed discard. Write failures remain visible in the app and preserve the text for retry.
Open CornerNote and press the gear button for the settings page. On Linux,
the config is ${XDG_CONFIG_HOME:-~/.config}/cornernote/config.json (normally
~/.config/cornernote/config.json); on Windows it is
%APPDATA%\CornerNote\config.json. CORNERNOTE_CONFIG overrides either
location. Settings are written atomically. The full template and
defaults are in config.example.json. note_filename supports
{date} and {title} substitutions, for example QuickNotes.md or
{date}.md. Date tags accept today, tomorrow, weekday names, in N days,
and common numeric date forms. Position uses position_horizontal and
position_vertical (left/center/right and top/center/bottom);
offset_x and offset_y tune that reference point in pixels. Positive X
moves right and positive Y moves down. For top and bottom positions, the
outward Y offset is limited by the idle tab size so at least one pixel remains
visible when the note is collapsed. monitor selects primary or a
connected screen by its zero-based GDK display index; the settings page labels
each screen with its manufacturer, model, resolution, and desktop position,
truncating long labels with an ellipsis to keep the overlay width fixed.
Position, monitor, stacking, and animation controls require an overlay backend;
unavailable controls preserve their saved values in normal-window sessions.
The settings page also includes a folder chooser; under Plasma, GTK uses the
available KDE file chooser portal.
The default vault path is ~/Documents. Change it in settings to the root of
your own Obsidian vault before saving notes.
Settings are grouped into display and position, vault and files, animation,
appearance, and updates sections. Expand Appearance and style to open the
embedded editor. It previews the style and offers Plasma colors, Pywal colors, ten
built-in palettes, editable custom colors (paper, text, accent, borders, editor
surface, buttons, and button text), installed font families and font size, a
local image backdrop, and rounded paper corners. With Plasma colors, buttons
follow the color scheme's button colors; built-in palettes use the editor
surface color. The Submit and Save buttons always use the accent
color. Configs saved before button colors existed keep their custom palette and
gain matching button colors automatically. The selected style is
saved to config.json and applied to the overlay. By default, colors follow
Plasma's kdeglobals palette, which CornerNote watches for changes. When that
palette is unavailable, CornerNote tries Pywal, then the configured built-in
fallback palette. Choose a built-in or custom palette to set colors
independently of Plasma. Text contrast is corrected when a selected palette
would make note text hard to read. Settings also include independent note
width and height controls. The configured dimensions stay fixed when fonts
change; smaller notes scroll to
keep oversized controls accessible. Applying a style or saving dimensions
resizes the current overlay immediately, without restarting the daemon.
The hide delay and slide duration are adjustable; defaults are 700 ms and 320 ms.
src/main.py— GTK frontend and application assemblysrc/runtime.py,src/launcher.py— host services and start-or-show launchsrc/autostart.py,src/autostart_view.py— installed login-startup management and independent settings controlsrc/desktop.py— layer-shell, X11, and normal-window GTK integrationssrc/desktop_contract.py— window backend interface and capability datasrc/desktop_policy.py— display capability selection and placement geometrysrc/session_policy.py— GNOME session identification for managed windowssrc/host_contract.py,src/linux_glib.py— lifecycle interfaces and Linux logind/signal adapters with explicit cleanupsrc/state.py— draft buffer and note interaction state machinesrc/note_service.py— shared draft submission and successful-write resetsrc/config.py— defaults, validation, migrations, and atomic configurationsrc/paths.py— injectable Linux and Windows path providerssrc/palette.py— built-in/custom palettes and optional Plasma/Pywal readerssrc/style.py— GTK CSS and compatibility exports for older importssrc/settings_view.py— settings controls, monitor choices, and vault folder pickersrc/style_editor.py— standalone appearance editor and live previewsrc/ipc_protocol.py— shared command dispatch and transport interfacesrc/ipc.py— Unix socket transport and CLI clientsrc/ipc_glib.py— GLib watch adapter with owned transport cleanupsrc/windows_ipc.py,src/windows_glib.py— authenticated local Windows transport, GTK command dispatch, and lifecycle adapterssrc/obsidian.py— safe Markdown path selection and append writersrc/markdown_render.py— Markdown text and formatting rangessrc/markdown_view.py— GTK formatting for the editor and rendered viewssrc/history.py— saved vault note discovery and bounded read-only loadingsrc/windows_files.py— Windows History reads verified against native file handlessrc/history_view.py— searchable saved-note browser and formatted viewersrc/updater.py— Git upstream checks and fast-forward-only source updatessrc/update_view.py— manual update controls and opt-in automatic installationcorner-note— IPC command-line client and standalone update commandsinstall.sh— multi-distro dependency and user installationuninstall.sh— removes startup entries and launchers, optionally configinstall-windows.ps1,uninstall-windows.ps1— per-user Windows setup/removalpackaging/bundle.py— builds a distributableCornerNote.zip(sources only; no docs media)
Configuration, note submission, window management, paths, local commands, and session lifecycle have separate modules or interfaces. GNOME and Windows use these boundaries to share the note core with the existing overlays. Future frontends can supply their own adapters. See the architecture guide.
Run python3 src/main.py from the checkout to see errors in a terminal. In a
second terminal use ./corner-note toggle. Inspect service logs with
journalctl --user -u cornernote -f on Linux. Its Unix socket defaults to
$XDG_RUNTIME_DIR/cornernote.sock, private to the login session. launch
startup diagnostics go to daemon.log beside the chosen config file. On
Windows this is normally %APPDATA%\CornerNote\daemon.log; the windowless
bootstrap also writes %LOCALAPPDATA%\CornerNote\cornernote.log.
With the layer-shell backend and Above panels while open (auto) stacking,
the note moves to the overlay layer after it finishes sliding open and back
to the bottom layer as soon as it starts to collapse. The default Below
panels and windows mode stays below both throughout. See
Plasma panels and stacking. Fullscreen handling
depends on the compositor's layer-shell policy; the app does not poll KWin
state.
CornerNote listens for systemd-logind sleep and wake notifications. On resume, the layer-shell backend recreates its surface and the X11 backend reapplies placement, keeping the in-memory draft intact. The normal-window backend leaves window management to the desktop. If the Linux system bus is unavailable, the app continues to run but cannot perform this resume recovery. Windows currently has no power-event subscription; its managed window does not require layer-surface recreation.
GTK 3 is in maintenance mode. The full roadmap moves CornerNote to Qt and grows desktop support through tested platform integrations. The first v2.0.0 increment separates window management from the GTK interface, adds the experimental X11 backend and managed Wayland fallback, and broadens installation beyond KDE. A second increment separates configuration, note submission, transport, path policy, and lifecycle adapters from their consumers. GNOME now has a managed-window integration, and Windows has experimental paths, local IPC, and installation. GNOME and Fedora Wayland Sway/Niri have user confirmation; Windows fixes and manual testing remain.
The next planned checkpoint is experimental v2.0.0rc1, after the Windows fixes and testing. It will still use GTK 3; the Qt goal remains open. Draft autosave and recovery are the next priority after that checkpoint.
- v2.0.0 — Qt and cross-desktop foundations: port the current KDE interface to Qt, separate desktop/compositor-specific behavior from the core app, and publish a support matrix for tested desktop and window-manager combinations. Add combinations incrementally; a Qt port by itself does not guarantee that every compositor supports CornerNote's overlay behavior.
- v2.1.0 — Draft tabs and recovery: keep multiple independent drafts open and switch between them. Add local autosave and recovery so drafts survive restarts and crashes without silently writing unfinished text into the vault.
- v3.0.0 — Edit saved files from History: turn the read-only history view into an editor for existing Markdown files, with explicit saves and safeguards for files changed outside CornerNote.
- v3.1.0 — Autosave edited files: extend autosave to edits of saved vault notes, building on the file-editing workflow introduced in v3.0.0.
- v4.0.0 — Optional Focus mode: add a focus timer in the top bar, a lightweight to-do list, and a compact calendar view for dated tasks.
- v4.1.0 — Focus integrations and polish: add optional IPC controls and platform-supported keep-awake behavior, then refine the Focus workflow.
Overlay disappears after suspend/resume On some systems the layer-shell surface is not automatically recreated after waking from suspend. The service continues running normally but the overlay is no longer visible. Workaround until this is resolved:
systemctl --user restart cornernoteThis is a Wayland compositor surface lifecycle issue and may affect other layer-shell applications on the same setup. Multi-monitor and hybrid GPU configurations appear more likely to trigger it.
