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
org.gnome.DiskUtility.desktop not executing "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well works #37555
Comments
Could you test if you can still reproduce this issue with gnome-disks-utility 42.0? |
@paper42
Thanks for your concern. |
I can not reproduce this, |
Output of
Weird. Custom gendesk .desktop file works instead, which would exclude missing dependencies/configuration woes. |
from https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html:
It seems like your system is missing the dbus user session, but wofi tries to launch gnome-disks with a dbus message. |
This gets even weirder. I added the I mean, the only relevant difference between package .desktop file, and custom .desktop file, are the I'm at loss here. Using |
Also, output of
The App works fine given this output, btw. Thanks for your concerns. |
I noticed you may have deleted a comment (Mentioning .xinitrc, which of course is not relevant with sway WM). I just wanted to confirm however that yes, sway WM is launched with those, along with further, parameters:
|
From the wofi readme:
could you try a different launcher like dex?
|
First of all, sorry for taking a long time, but I was away from my void boxes today. Here's the report:
You're the boss, you decide. Kinda funny this story though. I really think however the workaround with gendesk and the custom .desktop file should go into a manual somewhere. |
I don't think we can do anything with this, this seems to be an upstream wofi issue. |
@TeusLollo, here's the missing part:
It should be executed after those variables initialized, e.g. inside |
Indeed. I actually run:
In a custom script to start the I specifically did that to solve the So, to anyone looking to utilize custom WMs, remember to run somewhere:
After your WM wayland session has begun through a |
System
Void 5.15.45_1 x86_64 GenuineIntel uptodate rFFFF
gnome-disk-utility-41.0_1
Expected behavior
"org.gnome.DiskUtility.desktop" file located into "/usr/share/applications" should execute the "gnome-disks" executable when selected through a given App Launcher Application compatible with freedesktop.org specifications, thus launching the Gnome-Disks App.
Actual behavior
"org.gnome.DiskUtility.desktop" file located into "/usr/share/applications" fails completely with no error messages when selected into a given App Launcher Application ("wofi" in my current case, with "sway" WM).
Yet, executing the "gnome-disks" executable through CLI works perfectly, and the App itself works perfectly too.
Also, I went ahead, and utilized "gendesk" to create a custom .desktop file which I put into "~/local/share/applications". I can confirm that such a custom .desktop file WORKS perfectly, and have in fact been using it for a few months already (Hence why I forgot to report before).
Code of MY custom .desktop file, created through "gendesk", and located into "~/local/share/applications", is as follows:
My custom .desktop file, aside from missing localization tags, also misses the "DBusActivatable=true" parameter which I found into "org.gnome.DiskUtility.desktop" file located into "/usr/share/applications", yet I presume this is not very relevant to the issue at hand.
This has been happening for a few months already (My custom .desktop works fine, thus I forgot to report in the meantime), and has been happening on three separate machines to boot, all with manual install only. App Launcher is currently "wofi" with "sway" WM, but months ago I also saw this happening with "rofi", on "openbox" WM.
Steps to reproduce the behavior
Simply select the "org.gnome.DiskUtility.desktop" (Tag-named to "Disks" if App Launcher can read such tags, and is configured to do so) into a given freedesktop.org-compatible App Launcher (This has been happening both with "wofi" and "rofi" on me), and it will NOT execute the "gnome-disks" executable, thus NOT launching the Gnome-Disks App.
However, executing "gnome-disks" through the CLI, or otherwise utilizing a custom .desktop file created through "gendesk" as mentioned above, both launch the App just fine.
Maybe some post-install MIME update is missing? This has been happening also on a very recent (Less than 4 weeks) manual Void Install.
The text was updated successfully, but these errors were encountered: