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

flatpak apps not working as items #710

Open
iomari opened this issue Nov 22, 2024 · 7 comments
Open

flatpak apps not working as items #710

iomari opened this issue Nov 22, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@iomari
Copy link

iomari commented Nov 22, 2024

Short Summary

Greetings,
When I have an item like "flatpak run org.gimp.GIMP//beta", the menu never executes them.
No error, ti just does not execute flatpak apps.
BTW, this happens with all flatpak apps that I try .

I'm using kubuntu 24.10 and kando 1.5.1

Steps to Reproduce the Issue

  1. Open the editor by using the tray icon
  2. Create a menu item with a flatpak app to execute
  3. call up kando menu and try to execute the item.
    ...

Kando Version

v1.5.1

Installation Method

Another method (specify in the comments below)

Desktop Environment

KDE on X11

Environment Version

Kubuntu 24.10

Additional Information

I installed kando 1.5.1 directly from the deb kando_1.5.1_amd64.deb file in kubuntu.

@iomari iomari added the bug Something isn't working label Nov 22, 2024
@Schneegans
Copy link
Contributor

Hi there! I cannot reproduce this on my end. Flatpaks just run fine for me. There used to be #552, but this is fixed now.

Have you tried running Kando from a terminal? Maybe some error is printed there?

@iomari
Copy link
Author

iomari commented Nov 23, 2024

I ran it from the command line and thee's no error when I run a flatpak app. It just doesn't launch.

@Schneegans
Copy link
Contributor

I tried this now even with the beta GIMP build and it just works fine for me. So I think it's a configuration issue of your system which will be very hard to debug. I would suggest the following:

  1. Run env in the terminal where the command works, copy the output to somewhere.
  2. Add a Run Command item to Kando and make it open a terminal. For instance xterm.
  3. Execute this action to open the terminal.
  4. Try to run the flatpak from in there. It should fail.
  5. Run env in the new terminal and compare the output to the output from the first terminal. Figure out the exact details. If there's any path different, it could make the flatpak fail.

@iomari
Copy link
Author

iomari commented Nov 29, 2024

OK, after much probing, it seems that it's not that the flatpak apps won't launch, they launch literally about 20 minutes after I click them.
The other day I was wondering why an app opened on my desktop for no reason. Only to discover that it was the app I tried to launch from kando 20 minutes ago..
Does this sound like something that can be resolved?

@Schneegans
Copy link
Contributor

That is... weird. Could you try what I outlined above? Maybe this gives a hint...

@iomari
Copy link
Author

iomari commented Dec 12, 2024

greetings,
this is getting stranger.
When I run xterm -e "/usr/bin/flatpak run org.gimp.GIMP//beta" from the command line, xterm opens then it runs gimp.
Bu when I use the same command in xando and execute it, xterm opens with to a black screen with the cursor flashing.

@iomari
Copy link
Author

iomari commented Dec 29, 2024

Issue still there even after updating to 1.7.
I do notice though that the app shows when I list processes but the it doesn't load it's interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants