-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
App indicator icon on Gnome 43 does not invoke taking screenshot #2942
Comments
You might want to file this with the Fedora37 Beta. I doubt this is a flameshot bug since it works fine on Arch. |
[dobs@dobs-workstation ~]$ flameshot gui fc37. Gnome 43. Wayland |
Same issue here using Debian 12 "bookworm" with Gnome 43 latest updates + menu does display nicely. Versions : Command line output :
|
@mmahmoudian After having updated to the latest dependencies of Fedora 37 Beta, I cannot observe the issue anymore. Both, However, I'm unable to save the screenshot but this is a separate issue. |
@xvitaly I believe you are the maintainer of Flameshot on Fedora. Would you please update the dependencies as it seems that the main issue is lack of some packages based on the comments above. |
What dependencies? |
GNOME bugs doesn't require our attention. They break everything every major release. They don't have a stable API for extensions, so extension developers need some time to port their projects to the new API. Also, F37 was delayed for 2 more weeks. |
I'd like to but I'm afraid that I cannot tell which dependencies contribute to that. I have added the latest testing repositories from Fedora to my repo list applying regular updates. I would suggest to wait until the official release of Fedora 37 with Gnome 43. |
Faced the same issue on Arch, GNOME 43, Wayland, flameshot package installed via pacman. Take Screenshot from tray icon doesn't work if I run flameshot from Activities or from dash-to-dock. I see the following error in the system logs coming from xdg-desktop-portal:
However, Take Screenshot works fine if I run flameshot either from terminal or from GNOME launcher (Alt+F2). What worked for me is:
After that I'm able to successfully make screenshots regardless of the way I run flameshot. It's really strange why flatpak version of the flameshot works fine while the regular Arch package does not. Both of them use the same xdg-desktop-portal implementation. |
I have invested hours on this and it is getting outrageous and out of control. me and other devs are feeling the burnout (one example this here) I keep this thread open, but I will hide all comment unless they are presenting a solution or a way to handle the situation. I believe we don't need more users' comments just to state that Flameshot does not work on Gnome 4X. Thank you for your understanding. |
Sorry to bump an old thread but this is what solved it for me, seemingly the same bug: What makes these threads a little confusing is this page:
This worked for me on gnome44, arch (using official repos for flameshot, with the optional dependencies installed), wayland, and probably not relevant but just in case, nvidia. |
Just to give a feedback on @vegantom's solution, this WORK for me. Edit: And better, it doesn't ask anymore for permission of sharing the screen with Flameshot, just select "take a screenshot" from top icon immediately take a new screenshot without an other annoying pop-up before! Thanks you a lot for your finding, I've spend hour reading issue to check for something that may work and your solution is the only one that actually did the trick. Works for me on Fedora Gnome 44.5 on Wayland using Flameshot flatpak (haven't test on rpm from repo but might work the same). If anyone managed to get it working the same way, I think it could be really nice to save dev and community time pinning your workaround or something because I don't think much people will look around issue and trying to debug during hours. Thanks you Flameshot dev for making this amazing piece of software that I almost use everyday before I made the switch to wayland and thanks to @vegantom for this finding! |
This comment has been minimized.
This comment has been minimized.
Hello everyone, I had the same issue. System information: Previous version -> current version
Description If I entered
Solution To fix the issue, I created the following script, set the executable bit for the script and set the Print key as the shortcut for
#!/usr/bin/env bash
flameshot gui
If I type Print or your shortcut, the script will run and I can take a screenshot with Flameshot. If you accidentally deny Flameshot authorization, you can reset the authorization with the following command (refer to fedoraproject.org).
Then, run Flameshot and allow it to take screenshots. Casue of Issue: Probably the missing permission in Wayland for third-party-tools to take screenshots. Additional Information: Disabling Wayland in /etc/gdm3/custom.conf also worked for me, too. However, after disabling Wayland, I could no longer copy screenshots in Emacs (it uses wl_clipboard). So this was not a workaround for me. I am happy to use Flameshot and thank the Flameshot team for this great application. |
The hack which worked for me. # no need to be complicated like this, take the commands work for you.
FLAMESHOT_TEMPDIR=/tmp/flameshot
FLAMESHOT_RELEASE_URL="https://github.com/flameshot-org/flameshot/releases/download/v12.1.0/Flameshot-12.1.0.x86_64.AppImage"
mkdir $FLAMESHOT_TEMPDIR -p && cd $FLAMESHOT_TEMPDIR
curl -L "$FLAMESHOT_RELEASE_URL" -o flameshot.AppImage && chmod a+x ./flameshot.AppImage
sudo cp -v ./flameshot.AppImage /usr/local/bin && sudo ln -svf /usr/local/bin/flameshot.AppImage /usr/local/bin/flameshot
# install desktop entry
./flameshot.AppImage --appimage-extract
sudo cp -v ./squashfs-root/org.flameshot.Flameshot.desktop /usr/local/share/applications
# or: xdg-desktop-menu install --novendor ./squashfs-root/org.flameshot.Flameshot.desktop
sudo cp -v ./squashfs-root/org.flameshot.Flameshot.png /usr/share/pixmaps So: Now open from menu and Take a Screenshot. And yes, it'll open a term too, but now the tool works. side note: maybe it could work with .deb and flatpak package, but I don't have tested yet. |
Hey! I stumbled upon this same issue and discussed solutions did not work. I wanted to launch
And it cannot be added via happy path - it is not considered an active windows by portals/gnome, so no dialog. But we can add it manually:
And now my shortcut works! Yay! Just a three to four hours of grepping through dbus logs and reading github issues/forum posts to make screenshoting work. Thanks, GNOME! |
Flameshot Version
Flameshot v12.1.0 (-)
Compiled with Qt 5.15.5
linux: 5.19.14-300.fc37.x86_64
fedora: 37
Installation Type
Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)
Operating System type and version
Fedora 37 Beta
Description
When starting flameshot, the "tray icon" is visible and clickable. When, however, clicking on "Take screenshot" the application does not bring up the dialog for taking a screenshot. Bringing up "About" or "Configuration" works fine. Also running
flameshot gui
from the command-line works successfully.Steps to reproduce
Screenshots or screen recordings
System Information
https://extensions.gnome.org/extension/615/appindicator-support/
The text was updated successfully, but these errors were encountered: