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

[Bug] Main menu toolbar item Open file throws error in AppImage #1785

Open
1 task
raydac opened this issue Jul 1, 2024 · 3 comments
Open
1 task

[Bug] Main menu toolbar item Open file throws error in AppImage #1785

raydac opened this issue Jul 1, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@raydac
Copy link

raydac commented Jul 1, 2024

Operating System

Linux

What's the issue you encountered?

Click Open file shows error instead of dialog

How can the issue be reproduced?

Click Open file in main menu

[01:31:21] [ERROR] [libimhex | Main]           Requested file dialog returned an error: The name org.freedesktop.portal.Desktop was not provided by any .service files

image

ImHex Version

1.35.3

ImHex Build Type

  • Nightly or built from sources

Installation type

AppImage

Additional context?

  • OS Name Ubuntu 22.04.4 LTS
  • OS Type 64-bit
  • Gnome version 42.9
  • Windowing system X11
@raydac raydac added the bug Something isn't working label Jul 1, 2024
@WerWolv
Copy link
Owner

WerWolv commented Jul 2, 2024

Hey! The AppImage requires you to have xdg-desktop-portals installed on your system, that's the only way to properly have a file picker there. Install the right one though your package manager

Repository owner deleted a comment from xixi9624 Jul 2, 2024
@raydac
Copy link
Author

raydac commented Jul 2, 2024

installation of xdg-desktop-portal and xdg-desktop-portal-gnome changes error to

[ERROR] [libimhex | Main]           Requested file dialog returned an error: No such interface “org.freedesktop.portal.FileChooser” on object at path /org/freedesktop/portal/desktop

@raydac
Copy link
Author

raydac commented Jul 2, 2024

helped listed steps

  • added /usr/share/xdg-desktop-portal/portals/portals.conf
[preferred]
default=gnome
org.freedesktop.impl.portal.FileChooser=gnome
  • restart portal with systemctl --user restart xdg-desktop-portal

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