Closed tim-hm closed 3 years ago
I've tried to run a few other screenshot utilities, like: Shutter, maim and xfce4-screenshooter, and can confirm this is a Gnome issue and not flameshot issue.
TL;DR, this is a complex topic regarding modern Gnome-shell, no one did a good job so far at reducing the complexity for the audience.
Can you please dear Flameshot developers try to sum up what is the issue with flameshot on gnome 41 wayland? I read this thread and it is still not quite clear, even if @mmahmoudian post helps: Did gnome disallow access to DBus for others by default? [yes for a private API] Why in the hell would they do that? [for security] What technical challenges are there, where is this going? [see next paragraph] Flameshot is an awesome piece of software, and seing it work so bad on this setup is sad.
P.S. reading a bit more in this issue at Gnome-shell and this subsequent one at flatpak/xdg-desktop-portal, cannot you store in a gnome-keyring session the DBus authorization from a public gnome-shell API?
@Maxzor I think I have explained it well enough:
https://github.com/flameshot-org/flameshot/issues/2143#issuecomment-985700861
https://github.com/flameshot-org/flameshot/issues/2296#issuecomment-1018261655
https://github.com/flameshot-org/flameshot/issues/2186#issuecomment-1000922550
And if you want to read some the Gnome people's response on our repo:
A workaround for the permission prompt is by forking xdg-desktop-portal-gnome and simply removing the dialog. Here's a fork which does this.
Disclaimer: I maintain the above fork, and this solution likely won't work with sandboxing software such as Flatpak.
@TestingPlant How to install on Ubuntu ?
@TestingPlant How to install on Ubuntu ?
sudo apt-get install flameshot
should do it, or just look for flameshot on ubuntu's gui app-store
@TestingPlant
How to install on Ubuntu ?
Please read this: https://flameshot.org/docs/installation/installation-linux/
@TestingPlant How to install on Ubuntu ?
If you're asking about my fork, I don't support Ubuntu because it'd take a lot of time to backport and test my patch on all of the GNOME versions Ubuntu supports. If you have any more questions, make sure to ask on this issue tracker, not here.
Flameshot version Flameshot v0.10.1 (d1428889) Compiled with Qt 5.15.2
Describe the bug When running
flameshot gui
on gnome 41 + wayland nothing happens.Output from running
dbus-monitor --session sender=org.flameshot.Flameshot
is hereTo Reproduce Install gnome 41 + wayland + Arch + flameshot, and then run
flameshot gui
in terminalExpected behavior The on screen gui should launch to take a screenshot
System Information