-
Notifications
You must be signed in to change notification settings - Fork 250
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: Hamster is not starting because of DBusActivatable=true in .desktop file on Ubuntu 20.04 #692
Comments
Which "Hamster icon" do you mean? |
The Hamster icon which is provided by /var/lib/flatpak/exports/share/applications/org.gnome.Hamster.desktop and shown in gnome shell when pressing the Super key and typing hamster. Same icon = .desktop-file is used when adding Hamster to Favorites. |
A few days ago I tried this from alpine Linux latest-stable and int worked after invoking it once via DBus activation is one major feature of hamster and as such a must have if you want to use it from other clients. See also: flathub/org.gnome.Hamster#2 |
I tried that but on Ubuntu 20.04.3 LTS it's not working.
After closing the Hamster GUI opened with `flatpak run
org.gnome.Hamster` I cannot open it again when the line
`DBusActivatable=true`
is in .desktop-file.
|
Confirmed. Note for readers from other distributions / desktops: OP means gnome desktop; here starting hamster fails, even when right clicking and asking for 'add' or 'overview'. Works under xfce4 on same operating system though. Did not check with most recent gnome 40/41, ubuntu ships 3.38 or so. |
Hello everyone. |
I've just tried this as well (recently switched from .deb package to flatpak) on Ubuntu 22.10 with Gnome 43.1, but it seems to work as expected here - I can open hamster using the icon in the gnome-shell "activities" menu as normal, at least after I opened it manually with On my system, the For anyone that does have this problem, can you see what happens if you run |
Hello, can you please check and comment there flathub/org.gnome.Hamster#2 (comment)? I don't think this is an upstream issue. |
@bbhtt thanks, I have been testing with our own flatpak builds form this repo, it seems the flathub builds have some changes to rename the org.gnome.Hamster.GUI.desktop to org.gnome.Hamster.desktop, which would indeed break this (since the dbus name to activate is taken from the .desktop file name: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#dbus). Also see #725 about using different ids in the application, I'm trying to disentangle them there (in a comment I'm going to post in a minute). |
I installed hamster via
flatpak install org.gnome.Hamster
on a fresh install of Ubuntu 20.04.3 LTS. I also added it to favorites. But clicking on Hamster icon won't start the GUI. After some time I figured that the lineDBusActivatable=true
in file org.gnome.Hamster.desktop is the problem.
After removing it in a copy of that file saved to ~.local/share/applications/ the GUI starts!
The text was updated successfully, but these errors were encountered: