GNOME 42 screenshot conundrum

This commit is contained in:
Gnarwhal 2024-07-31 16:26:33 +00:00
parent ec5692e064
commit 37a8c4bb49
Signed by: Gnarwhal
GPG key ID: 0989A73D8C421174

View file

@ -2,3 +2,24 @@
Convenience script for uploading files to a server via ssh Convenience script for uploading files to a server via ssh
### Hmmm
Apparently GNOME 42 screenshot utility is called via dbus
```
gdbus call
--session
--dest org.gnome.Shell
--object-path /org/gnome/Shell
--method org.gnome.Shell.Eval 'Main.screenshotUI.open()'
````
but it cannot be called unless `global.context.unsafe_mode = false`
is set in gnome shell...which is unideal.
The ideal would be to launch a desired screenshot (or other generative)
utility before running sshare, and for everything that isn't GNOME 42 screenshot,
I would not expect it to be too hard. But unfortunately I want to use
GNOME 42 screenshot ;-;
What to do...