简体中文
Documentation Menu▾
Core Guides

Long Screenshots

Stitch vertically or horizontally scrolling content into a single seamless image with a live side preview panel and corruption-proof frame matching.

Long screenshots (Ctrl+L) capture tall web pages, chat logs, terminal scrollback, wide tables, and documentation panes that extend beyond a single viewport.

Why Manual Scrolling?

Wayland compositors coalesce or rate-limit synthetic scroll events differently per client toolkit, making blind auto-scroll brittle across apps. With Shotori, you scroll naturally with your mouse wheel, touchpad, or scrollbar — and Shotori polls and stitches frames at ~35 fps in real time. You can even pan canvas viewers that don’t respond to wheel events at all.

Taking a Long Screenshot

  1. Run shotori and frame only the scrolling viewport (exclude outer browser tab bars or OS docks when possible, though Shotori automatically handles edge-anchored sticky bars and stationary side columns).
  2. Click the Long Screenshot icon or press Ctrl+L.
  3. A 254 logical-px live preview panel docks beside your selection (or onto a secondary monitor if the selection fills the screen width so wlr-screencopy never captures the preview over your content).
  4. Scroll steadily downward (or rightward after toggling the Horizontal axis). Watch the stitched sheet grow live in the preview strip!
  5. Finish with Copy (Enter / Ctrl+C), Save (Ctrl+S), or Pin (Ctrl+P).

Live Preview Panel Controls

  • Axis Switch (Vertical / Horizontal): Captures tall pages top-to-bottom or wide timelines/tables left-to-right (set default via scroll.default_axis).
  • Pause / Resume: Temporarily pause frame ingestion (for example while switching tabs or dismissing a popup) without ending the session.
  • Minimap Scrubbing: Drag or scroll along the preview panel’s global scrollbar to inspect earlier sections of the stitched sheet; live-follow resumes automatically when you return to the leading edge.
  • Non-Occluding Header: Displays real-time stitched pixel length and session phase (Waiting, Capturing, Paused, MaxLength).

Stitching Integrity Guarantees

Shotori’s scroll matcher (scroll_sheet) enforces strict invariants so a glitchy frame never ruins what you already captured:

  • Refused frames write nothing: If you flick past the overlap window at extreme speed, Shotori pauses and holds the exact prefix canvas byte-for-byte — simply nudge back slightly into the last seen area and stitching resumes seamlessly.
  • Fixed-backdrop & sticky-chrome resilience: Textured fixed wallpapers behind scrolling cards, sticky top/bottom headers, and stationary split-pane sidebars are detected and isolated rather than breaking alignment.
  • Safe MaxLength hold: Up to scroll.max_length logical pixels (default 20000, configurable 2000..=100000, bounded by a 512 MiB sheet ceiling). Hitting the limit pauses at Max length for confirmation instead of silently truncating.

Tips for Clean Results

  • Frame the inner scrolling area rather than unrelated video players or animated carousels.
  • Scroll at a comfortable, steady pace so consecutive frames retain visual overlap.