Skip to content
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

Flameshot is not working on Fedora OS 40 and 41. #3770

Open
IgaoWolf opened this issue Oct 31, 2024 · 5 comments
Open

Flameshot is not working on Fedora OS 40 and 41. #3770

IgaoWolf opened this issue Oct 31, 2024 · 5 comments
Labels
Unconfirmed Bug The bug is not confirmed by anyone else. Waiting For Info Addressing the issue or merging the PR is halted and we are waiting for more info to be provided.

Comments

@IgaoWolf
Copy link

IgaoWolf commented Oct 31, 2024

Flameshot Version

Não está funcionando o flameshot no SO Fedora 40 e 41

Installation Type

Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...), User repository (AUR), Flatpak from Flathub, Flatpak from Github, Snap from Snapcraft, Snap from, AppImage, Using the ready-made package from Github Releases, Compiled from source

Operating System type and version

Fedora 40 e 41

Description

Workaround to Run Flameshot on Fedora 40 and Fedora 41

Follow these steps to install and set up Flameshot with a custom shortcut in Fedora 40 and Fedora 41.

  1. Download Flameshot AppImage:

  2. Set Up Flameshot Directory:

    • Open your terminal and create a dedicated directory for Flameshot:
      sudo mkdir --parents ~/Applications/Flameshot
  3. Move the AppImage to the Directory:

    • Copy the downloaded AppImage to the newly created directory:
      sudo cp /home/<PASTA>/Downloads/Flameshot-12.1.0.x86_64.AppImage ~/Applications/Flameshot
  4. Make the AppImage Executable:

    • Grant execute permissions to the AppImage file:
      sudo chmod +x ~/Applications/Flameshot/Flameshot-*.x86_64.AppImage
  5. Create a Script for GUI Launching:

    • Open a new file named flameshot_gui.sh in the Applications directory to create a launch script:
      sudo vim ~/Applications/flameshot_gui.sh
    • Add the following content to the script file:
      #!/bin/bash
      /home/<PASTA>/Applications/Flameshot/Flameshot-*.x86_64.AppImage gui
    • Save and exit, then make the script executable:
      sudo chmod +x ~/Applications/flameshot_gui.sh
  6. Adjust Keyboard Shortcut Settings:

    • Go to Settings > Keyboard > View and Customize Shortcuts > Screenshots.
    • Disable all options except for Screen Recorder.
  7. Create a Custom Shortcut for Flameshot:

    • In Settings > Keyboard > View and Customize Shortcuts > Custom Shortcuts:
      • Create a new entry:
        • Name: Flameshot GUI
        • Command: /home/<PASTA>/Applications/flameshot_gui.sh
      • Set the shortcut to fn + Insert, and ensure PRINT is shown as the active key for the shortcut.

After completing these steps, pressing PRINT (or fn + Insert) should launch Flameshot, providing the desired screenshot functionality on Fedora 40 and 41.

Steps to reproduce

No response

Screenshots or screen recordings

No response

System Information

Igor-Wolf:~$ cat /etc/os-release
NAME="Fedora Linux"
VERSION="41 (Workstation Edition)"
RELEASE_TYPE=stable
ID=fedora
VERSION_ID=41
VERSION_CODENAME=""
PLATFORM_ID="platform:f41"
PRETTY_NAME="Fedora Linux 41 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:41"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f41/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=41
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=41
SUPPORT_END=2025-05-13
VARIANT="Workstation Edition"
VARIANT_ID=workstation

Igor-Wolf:~$ gnome-shell --version
GNOME Shell 47.1

@mmahmoudian
Copy link
Member

I don't believe your issue is Fedora related, and I believe it is Gnome Wayland. But because you didn't provide enough information in the "System Information" section, I cannot be sure. Please edit your original post and update that for transparency.

I also think that Flatpak would achieve the same results as AppImage. Have you considered trying that?

Also, I wonder if this is a vug report or suggestion for documentation. Because you filled the bug report form, but I don't see much of the bug report details.

@mmahmoudian mmahmoudian added the Waiting For Info Addressing the issue or merging the PR is halted and we are waiting for more info to be provided. label Nov 5, 2024
@IgaoWolf
Copy link
Author

IgaoWolf commented Nov 5, 2024

We have identified a recurring issue when attempting to use the tool via Flatpak, as, despite multiple attempts, it was not possible to make it work properly. The only solution we found was to use the AppImage version, which worked as expected. In light of this, I am updating the operating system information in this ticket. This incident qualifies as a root bug, preventing the correct use of the tool.

As a temporary measure, I have implemented a workaround that allows usage on both Fedora 40 and Fedora 41. It is worth noting that all team members using these Fedora versions are encountering the same issue. Any updates or a definitive solution would be greatly appreciated to mitigate this situation for everyone.

@Chevek
Copy link

Chevek commented Nov 15, 2024

What if you launch flameshot (rpm from default repository) from the command line? Here it works that way!

@IgaoWolf
Copy link
Author

Now, it's working fine using the AppImage, but have issue for utilizing this.

@raphamzn
Copy link

@IgaoWolf boa Igão, funcionou aqui.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Unconfirmed Bug The bug is not confirmed by anyone else. Waiting For Info Addressing the issue or merging the PR is halted and we are waiting for more info to be provided.
Projects
None yet
Development

No branches or pull requests

4 participants