https://github.com/splitbrain/clipscreen Skip to content Navigation Menu Toggle navigation Sign in * Product + GitHub Copilot Write better code with AI + Security Find and fix vulnerabilities + Actions Automate any workflow + Codespaces Instant dev environments + Issues Plan and track work + Code Review Manage code changes + Discussions Collaborate outside of code + Code Search Find more, search less Explore + All features + Documentation + GitHub Skills + Blog * Solutions By size + Enterprise + Teams + Startups By industry + Healthcare + Financial services + Manufacturing By use case + CI/CD & Automation + DevOps + DevSecOps * Resources Topics + AI + DevOps + Security + Software Development + View all Explore + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Enterprise + Enterprise platform AI-powered developer platform Available add-ons + Advanced Security Enterprise-grade security features + GitHub Copilot Enterprise-grade AI features + Premium Support Enterprise-grade 24/7 support * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up Reseting focus You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} splitbrain / clipscreen Public * Notifications You must be signed in to change notification settings * Fork 6 * Star 193 Mirror a portion of your screen to a virtual monitor for easier screen sharing. www.splitbrain.org/blog/2024-10/11-introducing_clipscreen 193 stars 6 forks Branches Tags Activity Star Notifications You must be signed in to change notification settings * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Security * Insights splitbrain/clipscreen This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master BranchesTags Go to file Code Folders and files Name Name Last commit message Last commit date Latest commit History 18 Commits .clang-format .clang-format .gitignore .gitignore Makefile Makefile README.md README.md clipscreen.cpp clipscreen.cpp View all files Repository files navigation * README clipscreen clipscreen is a simple application that creates a virtual monitor that mirrors a portion of your screen. A green rectangle highlights the specified area. Why's this useful? You can use any screen sharing tool (Google Meet, Microsoft Teams, Jitsi Meet, etc.) to share the virtual monitor instead of your entire screen. No need to share individual windows and having to switch between them, just move any window you want to share into the green border. Compile Ensure you have the following installed on your system: * X11 development libraries * Cairo graphics library * A C++ compiler (e.g., g++) Then simply run the following command to compile the application: make Note: The application has only been tested on Linux and xorg. I doubt it will work on any other system. Usage Run the compiled executable with the following command: ./clipscreen * : The width of the overlay and virtual monitor. * : The height of the overlay and virtual monitor. * : The x-coordinate of the top-left corner of the overlay and virtual monitor. * : The y-coordinate of the top-left corner of the overlay and virtual monitor. For example: ./clipscreen 800 600 100 100 This command will create an 800x600 overlay window starting at position (100, 100) on your screen. Termination To terminate the application, press Ctrl+C in the terminal where the application is running. License Copyright 2024 Andreas Gohr andi@splitbrain.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. About Mirror a portion of your screen to a virtual monitor for easier screen sharing. www.splitbrain.org/blog/2024-10/11-introducing_clipscreen Topics xorg x11 xrandr screensharing virtual-monitor Resources Readme Activity Stars 193 stars Watchers 4 watching Forks 6 forks Report repository Contributors 2 * @splitbrain splitbrain Andreas Gohr * @nick-w-nick nick-w-nick nick-w-nick Languages * C++ 94.1% * Makefile 5.9% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.