flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:

Home Page:https://flameshot.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flameshot is not workin on Fedora 37

zilipupin opened this issue · comments

Flameshot Version

[that_man@192 ~]$ dnf list installed | grep flameshot
flameshot.x86_64                                     12.1.0-2.fc37                       @fedora    

Installation Type

Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)

Operating System type and version

Fedora 37

Description

I installed fleameshot on my Fedora 37 ( which I've been keeping upgraded)

[that_man@192 ~]$ cat /etc/os-release
NAME="Fedora Linux"
VERSION="37 (Workstation Edition)"
ID=fedora
VERSION_ID=37
VERSION_CODENAME=""
PLATFORM_ID="platform:f37"
PRETTY_NAME="Fedora Linux 37 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:37"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f37/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=37
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=37
SUPPORT_END=2023-11-14
VARIANT="Workstation Edition"
VARIANT_ID=workstation

I installed flameshot with sudo dnf install flameshot
here is what the terminal responses

[that_man@192 ~]$ dnf list installed | grep flameshot
flameshot.x86_64                                     12.1.0-2.fc37                       @fedora    

However when I click the app icon, it doesn't launch. Nothing happens.
When I run flameshot gui the app doesnt launch as well and the terminal responses with

[that_man@192 ~]$ flameshot gui
qt.qpa.qgnomeplatform.theme: The desktop style for QtQuick Controls 2 applications is not available on the system (qqc2-desktop-style). The application may look broken.

When I run


[that_man@192 ~]$ sudo dnf install qt5-qtquick-themes
[sudo] password for that_man: 
Last metadata expiration check: 1:27:32 ago on Sun 11 Feb 2024 01:57:54 PM +03.
No match for argument: qt5-qtquick-themes
Error: Unable to find a match: qt5-qtquick-themes

So. I have no idea if this is me, doing something wrong, or the issue is on the app side.
Could anybody help please?

Steps to reproduce

No response

Screenshots or screen recordings

No response

System Information

[that_man@192 ~]$ cat /etc/os-release
NAME="Fedora Linux"
VERSION="37 (Workstation Edition)"
ID=fedora
VERSION_ID=37
VERSION_CODENAME=""
PLATFORM_ID="platform:f37"
PRETTY_NAME="Fedora Linux 37 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:37"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f37/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=37
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=37
SUPPORT_END=2023-11-14
VARIANT="Workstation Edition"
VARIANT_ID=workstation

Same problem confirmed on Fedora 37.

It seems the desktop file is wrong.
it tries to start:
flameshot
when it fact it should start
flameshot gui

Once the desktop file is fixed, app is functional.

Runnning
flameshot gui
from the command line is functional.

ok. thank you, @zepag
What should I do to run flameshot?

I'm a regular user just like you, so either start it from the command line as described above, or create a local Desktop shortcut that fixes it for you if you know how to do that.