{"id":19789572,"url":"https://github.com/webfreak001/linux-screenshot-utils","last_synced_at":"2026-02-18T09:01:55.691Z","repository":{"id":146627128,"uuid":"169598758","full_name":"WebFreak001/linux-screenshot-utils","owner":"WebFreak001","description":"Mirror of https://gitlab.com/WebFreak001/linux-screenshot-utils","archived":false,"fork":false,"pushed_at":"2019-03-17T14:56:53.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T14:05:47.380Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"D","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebFreak001.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-07T16:00:34.000Z","updated_at":"2019-07-17T08:22:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d586dfa-669c-4ce5-b8c1-d66f3ff33ebc","html_url":"https://github.com/WebFreak001/linux-screenshot-utils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WebFreak001/linux-screenshot-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2Flinux-screenshot-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2Flinux-screenshot-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2Flinux-screenshot-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2Flinux-screenshot-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebFreak001","download_url":"https://codeload.github.com/WebFreak001/linux-screenshot-utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebFreak001%2Flinux-screenshot-utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29574065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T08:38:15.585Z","status":"ssl_error","status_checked_at":"2026-02-18T08:38:14.917Z","response_time":162,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T06:33:57.483Z","updated_at":"2026-02-18T09:01:55.653Z","avatar_url":"https://github.com/WebFreak001.png","language":"D","funding_links":[],"categories":[],"sub_categories":[],"readme":"# linux-screenshot-utils\n\nBetter screenshot selector to use in shell scripts.\n\n## Installation:\n\nInstall dub, gtk dev, x11 dev\nOptionally also install xclip, paplay or other utilities you might want to use in your workflows.\n\n## Selector utility\n\nrun `dub build --root=capture` to create the screenshot capture utility.\n\nTo create a minimal size utility run `dub build --root=capture --compiler=ldc2 --build=release \u0026\u0026 strip capture/capture`\n\nYou can use the selector utility with the \"fullscreen\" argument to make a fullscreen screenshot like xwd with direct conversion to a file format. For further conversion the BMP format is recommended as it is the fastest to encode and decode.\n\nYou can also use \"region\" or \"objects\" to have a selection GUI open. It will freeze what is currently on the screen when the command is run so screenshotting is easy.\n\nYou can also make links to the selector utility or rename it to force a specific selection mode. If the executable name ends with `-region`, `-objects`, `-fullscreen` or `-window`, their respective modes will be used as argument automatically.\n\nTo make screenshots:\n```bash\n#!/bin/bash\ncapture-objects png \u003e /tmp/screenshot.png || exit 1\nfile=`image-history push /tmp/screenshot.png`\nthumbnail=\"/tmp/screenshot-thumbnail-$$.bmp\"\n# gimp $file\nurl=`image-upload $file`\necho -n $url | xclip -sel clip\nconvert $file -resize \"400x150\u003e\" $thumbnail\n# kdialog --title \"Successfully uploaded\" --passivepopup \"\u003cimg src='file://$thumbnail'\u003e\"\nnotify-send \"Screenshot Uploaded\" \"\u003cimg src=\\\"file://$thumbnail\\\" alt=\\\"$url\\\"/\u003e\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebfreak001%2Flinux-screenshot-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebfreak001%2Flinux-screenshot-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebfreak001%2Flinux-screenshot-utils/lists"}