<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: netcrawlerr</title>
    <description>The latest articles on DEV Community by netcrawlerr (@netcrawlerr).</description>
    <link>https://dev.to/netcrawlerr</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3624593%2F4360614d-5880-41a1-b845-f8024a3beb7d.jpeg</url>
      <title>DEV Community: netcrawlerr</title>
      <link>https://dev.to/netcrawlerr</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/netcrawlerr"/>
    <language>en</language>
    <item>
      <title>Scrolling Screenshots on Linux: Why I Built CapScroll</title>
      <dc:creator>netcrawlerr</dc:creator>
      <pubDate>Fri, 04 Dec 2026 06:29:34 +0000</pubDate>
      <link>https://dev.to/netcrawlerr/scrolling-screenshots-on-linux-why-i-built-capscroll-4ekg</link>
      <guid>https://dev.to/netcrawlerr/scrolling-screenshots-on-linux-why-i-built-capscroll-4ekg</guid>
      <description>&lt;p&gt;Taking a screenshot on Linux is easy. Capturing an entire webpage, a long document, or a conversation that extends beyond your screen? That's a different story.&lt;/p&gt;

&lt;p&gt;If you've ever needed to capture something that doesn't fit on your screen, you've probably encountered this problem.&lt;/p&gt;

&lt;p&gt;A regular screenshot only captures what's currently visible. You can take multiple screenshots and stitch them together manually, but that's not exactly a convenient workflow.&lt;/p&gt;

&lt;p&gt;I wanted something that does it together.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem with scrolling screenshots on Linux
&lt;/h2&gt;

&lt;p&gt;Scrolling screenshots are surprisingly useful. They allow you to capture an entire webpage, long documentation, terminal output, or application content as one continuous image.&lt;/p&gt;

&lt;p&gt;Many applications on other platforms offer this functionality directly. On Linux, however, the experience is less straightforward.&lt;/p&gt;

&lt;p&gt;There are browser-specific solutions, desktop-specific screenshot utilities, and various manual workarounds. But finding a solution that works consistently across different Linux desktop environments can be challenging.&lt;/p&gt;

&lt;p&gt;The situation becomes even more interesting when Wayland enters the picture.&lt;/p&gt;

&lt;h2&gt;
  
  
  X11 vs. Wayland: Why things get complicated
&lt;/h2&gt;

&lt;p&gt;Linux desktop environments don't all handle screen capture and input in the same way.&lt;/p&gt;

&lt;p&gt;Under X11, applications generally have more direct access to screen contents and input events.&lt;/p&gt;

&lt;p&gt;Wayland takes a different approach. It introduces stronger isolation between applications, meaning screen capture and input simulation require explicit permissions and desktop compositor support.&lt;/p&gt;

&lt;p&gt;This is where technologies like XDG Desktop Portals become important.&lt;/p&gt;

&lt;p&gt;The portal system provides standardized interfaces for applications to request screen capture and remote desktop access without relying on desktop-specific screenshot utilities.&lt;/p&gt;

&lt;p&gt;It's a better security model, but it also means developers have to think carefully about compatibility across desktop environments.&lt;/p&gt;

&lt;h2&gt;
  
  
  So, I built CapScroll
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foz0l8stns84h9zf0v7iv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foz0l8stns84h9zf0v7iv.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgec6vqcapgtjmd3m5bza.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgec6vqcapgtjmd3m5bza.png" alt=" " width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmutoqay4bxdg5wrx1nx9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fmutoqay4bxdg5wrx1nx9.png" alt=" " width="800" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I originally started CapScroll because I wanted a proper scrolling screenshot tool on Linux and couldn't find one that worked the way I wanted.&lt;/p&gt;

&lt;p&gt;Instead of settling for manual screenshots and stitching, I decided to build my own.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/netcrawlerr/CapScroll" rel="noopener noreferrer"&gt;CapScroll&lt;/a&gt;&lt;/strong&gt; is an open-source Linux scrolling screenshot and region capture application built with C# and .NET 10, using Avalonia UI.&lt;/p&gt;

&lt;p&gt;Its main features include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Region capture:&lt;/strong&gt; Select and capture a specific area of your screen.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automatic scrolling:&lt;/strong&gt; Capture content while automatically scrolling through it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Long screenshot stitching:&lt;/strong&gt; Combine multiple captures into one continuous image.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multi-monitor support:&lt;/strong&gt; Capture content across different monitors.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Linux desktop integration:&lt;/strong&gt; Work across X11 and Wayland environments.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Building for Linux isn't always straightforward
&lt;/h2&gt;

&lt;p&gt;One of the most interesting parts of developing CapScroll has been dealing with Linux desktop compatibility.&lt;/p&gt;

&lt;p&gt;I wanted to avoid building an application that only worked on one desktop environment.&lt;/p&gt;

&lt;p&gt;For the Wayland implementation, I moved toward native C# integration with XDG Desktop Portals through D-Bus.&lt;/p&gt;

&lt;p&gt;CapScroll uses:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;org.freedesktop.portal.Screenshot&lt;/code&gt; for screenshot requests.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;org.freedesktop.portal.RemoteDesktop&lt;/code&gt; for remote input functionality.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;ydotool&lt;/code&gt; as an input fallback where needed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This also meant moving away from depending on multiple external screenshot utilities and their individual command-line interfaces.&lt;/p&gt;

&lt;p&gt;It has been a good learning experience working with D-Bus, desktop portals, input simulation, and the differences between Linux desktop environments.&lt;/p&gt;

&lt;h2&gt;
  
  
  Getting CapScroll
&lt;/h2&gt;

&lt;p&gt;CapScroll is open source and available on GitHub.&lt;/p&gt;

&lt;p&gt;You can find the source code, releases, installation packages, and documentation here:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/netcrawlerr/CapScroll" rel="noopener noreferrer"&gt;GitHub: netcrawlerr/CapScroll&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Available release formats include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;DEB&lt;/li&gt;
&lt;li&gt;RPM&lt;/li&gt;
&lt;li&gt;AppImage&lt;/li&gt;
&lt;li&gt;TAR.GZ&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you're using Linux and need to capture long, scrollable content, give it a try.&lt;/p&gt;

&lt;p&gt;Feedback, bug reports, and contributions are welcome.&lt;/p&gt;

&lt;p&gt;Thanks for reading!&lt;/p&gt;

</description>
      <category>linux</category>
      <category>opensource</category>
      <category>dotnet</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
