New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how to take 16:9 screenshots of apps #218
Comments
|
Well, the easiest way is to crop the screenshot later, or pay attention to the window geometry and/or rectangle sizes of the screenshot tool. I think the ideal way here would be to take a screenshot and then pad the resulting window screenshot with the desktop environment's default background to be in the correct aspect ratio. In any case, this is not a hard requirement for screenshots, but merely a recommendation to make things look nice and consistent-ish. |
The screenshot extension has been built into gnome-shell iteself for several years. |
|
Does that extension allow to set an aspect ratio? |
|
Recommending specific methods or tools for a screenshot is just gonna get hairy, as it quickly becomes, "If you're on GNOME, do this, install this app from this place, use this specific function… if you're on KDE… if you're on elementary OS…" I think it's better to focus on the requirements themselves than try to dictate specific workflows for achieving the requirements. Just my two cents! |
|
@cassidyjames In the specification: Absolutely. On the explanatory document however, if we can give any specific recommendation, we might as well do so. |
|
it's |
|
Maybe I can just add that information in an "If you use GNOME" infobox to the quickstart guide. |
gnome-shell screenshot feature has the Shift+Prt Scrn shortcut to take a screenshot of an area you select. The extension mentioned before, even if it works in current GNOME (I haven't tested it but some say it's not working anymore), is not ideal because IIUC it resizes the whole window, but you often want to take screenshots of a selected area of the window. |
|
The new link is https://extensions.gnome.org/extension/881/screenshot-window-sizer/ and it works on GNOME 3.32. Still not an option for other environments. |
|
If you find a good way to do this, can you create a PR against AppStream adding these instructions to the quick start guide for app developers? |
+1 I am lost with this on Fedora 31 and new to this , trying to get it to work appstream validate fails. I made 16:9 screenshots, following the instructions best as I could in several places, but to no avail. appstream-uitl validate --verbose is useless in this case as it does tell what is wrong at all. Some better debug info wouldn't go astray here !! I simply get this (appstream-util:30474): As-DEBUG: 19:54:16.558: Adding file-invalid ' failed to load [https://github.com/AlexB67/TCalc/tree/master/data/screenshots/TCalc-window.png]' The links are valid but it is failing nevertheless. screens are with transparent background and png format and 1600:900 resolution. If I remove the screens validate is okay on everything else, though it complains I must have at least one screenshot, so I can't win. Any tips why this may be ? Best regards. |
|
@AlexB67 This is unrelated to this issue, also appstream-util isn't even a tool developed by this project (use What you want is an URL like https://raw.githubusercontent.com/AlexB67/TCalc/master/data/screenshots/TCalc-window.png and https://raw.githubusercontent.com/AlexB67/TCalc/master/data/screenshots/graphs-window.png which links to the actual image, not a webpage. |
|
Hi, Cheers. |
|
Thank you people, yes, that was really dumb of me and I can't believe I overlooked that. |
|
For KWin users, you can already set the window to an exact size:
Note that this applies to the "real" window size including its window borders. If you don't want to include window borders (e.g. for a game), go to the Appearance & Fixes tab, check No titlebar and frame, then change Do Not Affect to Apply Now and check Yes besides the dropdown. After doing this, set the window size again. As far as I know, GNOME's window managers and Xfwm don't have an equivalent to this feature. |
|
The 16:9 recommendation is now even less strict, so I think this issue is sort of dealt with. |
The documentation says that "screenshots should have a 16:9 aspect ratio", but it's not clear how to actually make app screenshots with this aspect ratio on Linux.
There used to be a Gnome extension, but the extension has not been updated in 5 years and do not work with later versions of Gnome. It's also not a option for other environments.
If aspect ratio 16:9 is preferable, please update the documentation with some guidance on how this can be done so that we can start update the many outdated/suboptimal screenshots. Ideally using some environment agnostic method.
The text was updated successfully, but these errors were encountered: