-
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 Launcher' not listing any apps and also not launching either (Xorg) #1868
Comments
There is also a chance that this is because of the Flatpak packaging and permissions. I'll try to reproduce that |
I can confirm that the flatpak version of Flameshot does not read the |
Thank you for the reply. After reading your post, I decided to install the appimage. https://github.com/flameshot-org/flameshot/releases/download/v0.10.1/Flameshot-0.10.1.x86_64.AppImage The AppImage does list all my apps, which is an improvement. When I try to open it with an 'Image program', it does nothing. Below is my log: xyz@zorin:~$ /home/xyz/Downloads/Flameshot-0.10.1.x86_64.AppImage (eog:10593): Gtk-WARNING **: 10:59:21.138: Could not load a pixbuf from icon theme. (eog:10593): EOG-WARNING **: 10:59:21.138: Couldn't load icon: Failed to load /usr/share/icons/Zorin/512x512/status/image-loading.png: Unrecognized image file format (eog:10593): EOG-WARNING **: 10:59:21.138: Couldn't load icon: Failed to load /usr/share/icons/Zorin/512x512/status/image-missing.png: Unrecognized image file format When it gets to this part: Gtk-Message: 10:59:20.959: Failed to load module "canberra-gtk-module" I just clicked on the 'image program' to open the screenshot. |
I also tested Ristretto, I get the same error messages minus the 'eog' warnings. It does the same thing which is... nothing. |
I can also confirm, on Win11, the app selection list is empty. Flameshot v11.0.0 (ad1bf28) Windows 11 I've tried running as administrator with no change. |
I'm on Windows 10 and ran into the same thing. After looking at the code applauncherwidget.cpp and desktopfileparse.cpp then confirming with procmon, I realized things are currently coded for *nix.. So flameshot is populating the dialog based on So as a hack/workaround you can create a For reference below are my .desktop and wrapper .cmd files.
...with all of the above I get the dialog shown below, where "Default" ends up launching MS Photos and "Paint" launches mspaint. HTH someone else. |
I can confirm, this workaround allows me to open screenshots in Paint as well (I'm on Win11). Thanks @drennalls |
@drennalls Are you familiar enough with windows to know where Flameshot should look for apps instead? |
@borgmanJeremy sadly, no, I'd have to do some digging. I'm really a Linux guy who is forced to use Windows because of work requirements, and I try to use the same tools on Windows that I use on Linux where possible (like flameshot) 😄. |
I'm no coder so I'll only chime in enough to say file extensions and their associated available programs are listed in the registry here: \HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts |
Representing Manjaro Plasma, I'm having the same issue. I use the Flatpak release (currently 12.1.0) from Manjaro's However, clicking this does nothing. Here are the contents of
|
Thanks, one could wonder why it is not fixed yet, however please note if a path is used with spaces, it will not work. I had to place my cmd in c:\path_with_no_spaces\flameshot-defaultapp.cmd |
Flameshot version
Flameshot v0.10.1 (Flatpak)
Compiled with Qt 5.15.3
Describe the bug
Take a screenshot, click 'App Launcher'.
Bug#1. No apps are listed
Bug#2. After I fix Bug#1, the second bug is, when clicking an app, it literally does nothing.
To Reproduce
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=flameshot org.flameshot.Flameshot gui
cp /usr/share/applications/org.gnome.eog.desktop ~/.local/share/applications/
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=flameshot org.flameshot.Flameshot gui
org.gnome.eog.desktop
is:At this point it could be the 'Image Viewer' application and not Flameshot. Fair enough, lets test this.
cp /usr/share/applications/ristretto.desktop ~/.local/share/applications/
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=flameshot org.flameshot.Flameshot gui
Inside
ristretto.desktop
is:Expected behavior
I expect 'Image Viewer' to open with the screenshot that I took already open inside this app.
System Information
System:
Host: *** Kernel: 5.11.0-27-generic x86_64 bits: 64
Desktop: Gnome 3.38.4 Distro: Zorin OS 16
Graphics:
Device-1: NVIDIA driver: nvidia v: 470.57.02
Device-2: AMD Renoir driver: amdgpu v: kernel
Display: server: X.Org 1.20.11 driver: amdgpu,ati,nvidia
unloaded: fbdev,modesetting,nouveau,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: NVIDIA GeForce GTX 1650/PCIe/SSE2
v: 4.6.0 NVIDIA 470.57.02
Failed to get user: User ID 0 is not logged in or lingering
Monitors: 1
0: +*eDP-1-0 1920/344x1080/194+0+0 eDP-1-0
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1f99 (rev a1)
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev c7)
*-display
description: VGA compatible controller
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:82 memory:fb000000-fbffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:f000(size=128) memory:fc000000-fc07ffff
*-display
description: VGA compatible controller
product: Renoir
vendor: Advanced Micro Devices, Inc. [AMD/ATI]
physical id: 0
bus info: pci@0000:05:00.0
version: c7
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
configuration: driver=amdgpu latency=0
resources: irq:43 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:c000(size=256) memory:fc500000-fc57ffff
Linux *** 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Other Thoughts
Without the '%U' or '%F' the apps don't show in the list. Which is good because Flameshot has to pass the image as an argument to the application.
The text was updated successfully, but these errors were encountered: