Prima::...:XQuartz(3)
π Prima::sys::XQuartz
okay so bestie, welcome to the User Contributed Perl Documentation corner of the world β¨ this little page is all about Prima::sys::XQuartz, and honestly? it's giving "niche but important" and we're obsessed π«Ά
πΈ NAME πΈ
Prima::sys::XQuartz β literally the MacOSX/XQuartz facilities page, no cap π
π¦ DESCRIPTION π¦
so picture this: XQuartz is out here emulating the X11 environment for you, but with a few little limits, and we need to talk about them π
XQuartz cannot grab bits from the screen, and it also hides the top-level menu from screen coordinates accessible for X11 clients. like, the vibes are immaculate but the geometry is not π
for example (and this is the example, fr fr): a Mac with 1024x768 resolution will only report f.ex. 1024x746 size to Prima. the math is mathing, the menu bar just ate the rest π
but here's the slay: if Prima is compiled with the Cocoa library, the get_fullscreen_image method circumvents these limitations and returns a shot of the whole screen, including the application menu πβ¨ periodt.
β οΈ heads up bestie: screen grabbing has to be allowed by the user or the administrator. like, you can't just show up and screenshot, that's not the vibe.
here's the whole quest, step by step:
- Choose the Apple menu π
- System Preferences
- click Security & Privacy
- then click Privacy
- click on an icon on the left lower corner to allow changes π
- then, in the screen recording tab, add XQuartz to the list of allowed applications π
π and ngl, it might not work if you run your application from a (remote)sshsession β the author literally couldn't find how to enable screen grabbing forsshd. so that's just how it is, iykyk. π
π AUTHOR π
Dmitry Karasik, <dmitry@karasik.eu.org>. π
β SEE ALSO β
Prima::Dialog::FileDialogβ go read it, bestie, it's right there π
and that's the whole page, gorgeous πΈ stay iconic, keep your screen recording permissions on point, and remember: perl v5.42.0 dropped this on 2024-08-20, filed under Prima::...:XQuartz(3) π¦ mwah π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- opensuse-leap 16.0: perl-Prima 1.74000-bp160.1.13 Β· AGPL-3.0-only AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms