Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well
@ 2022-06-14 13:22 TeusLollo
  2022-07-16 20:56 ` 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 paper42
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: TeusLollo @ 2022-06-14 13:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2997 bytes --]

New issue by TeusLollo on void-packages repository

https://github.com/void-linux/void-packages/issues/37555

Description:
### System

* xuname:  
Void 5.15.45_1 x86_64 GenuineIntel uptodate rFFFF
* package:  
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:

###############################################################################
[Desktop Entry]
Version=1.0
Type=Application
Name=Disks-Gnome
Comment=Disks-Gnome
Exec=gnome-disks
Icon=/home/username/.local/share/applications/FlatDisks.png
Terminal=false
StartupNotify=false
Categories=Application;
###############################################################################

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. 

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
@ 2022-07-16 20:56 ` paper42
  2022-07-17 12:35 ` TeusLollo
                   ` (23 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: paper42 @ 2022-07-16 20:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1186290379

Comment:
Could you test if you can still reproduce this issue with gnome-disks-utility 42.0?

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
  2022-07-16 20:56 ` 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 paper42
@ 2022-07-17 12:35 ` TeusLollo
  2022-07-17 12:44 ` TeusLollo
                   ` (22 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: TeusLollo @ 2022-07-17 12:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 979 bytes --]

New comment by TeusLollo on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1186503995

Comment:
@paper42 
Here's the report:

1) Yes, the issue still appears identically with package gnome-disk-utility-42.0_1 installed

2) The solution I provided above (Custom .desktop file, created through "gendesk", and located into "~/local/share/applications") still works perfectly

3) There was NOT a need to rebuild such custom .desktop file. The latter has been working with both the previous and the current gnome-disk-utility package versions with NO modifications/rebuilds whatsoever

4) Everything stated above in the bug report is still valid. Only thing which has changed was the package update to gnome-disk-utility-42.0_1 (Aside from further updates of dependencies/unrelated packages in the meantime, of course)

5) I can testify that the gnome-disk-utility app otherwise works perfectly

Thanks for your concern. 

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
  2022-07-16 20:56 ` 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 paper42
  2022-07-17 12:35 ` TeusLollo
@ 2022-07-17 12:44 ` TeusLollo
  2022-07-17 13:20 ` paper42
                   ` (21 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: TeusLollo @ 2022-07-17 12:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1039 bytes --]

New comment by TeusLollo on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1186503995

Comment:
@paper42 
Here's the report:

1) Yes, the issue still appears identically with package gnome-disk-utility-42.0_1 installed

2) The solution I provided above (Custom .desktop file, created through "gendesk", and located into "~/local/share/applications") still works perfectly

3) There was NOT a need to rebuild such custom .desktop file. The latter has been working with both the previous and the current gnome-disk-utility package versions with NO modifications/rebuilds whatsoever

4) Everything stated above in the bug report is still valid. Only thing which has changed was the package update to gnome-disk-utility-42.0_1 (Aside from further updates of dependencies/unrelated packages in the meantime, of course)

5) I can testify that the gnome-disk-utility app (Aside from what is mentioned in the bug report, of course) otherwise works perfectly

Thanks for your concern. 

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (2 preceding siblings ...)
  2022-07-17 12:44 ` TeusLollo
@ 2022-07-17 13:20 ` paper42
  2022-07-17 15:17 ` TeusLollo
                   ` (20 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: paper42 @ 2022-07-17 13:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 386 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1186516297

Comment:
I can not reproduce this, `dex /usr/share/applications/org.gnome.DiskUtility.desktop` runs fine, `desktop-file-validate /usr/share/applications/org.gnome.DiskUtility.desktop` is clean and running Disks with `wofi --show drun` also works fine.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (3 preceding siblings ...)
  2022-07-17 13:20 ` paper42
@ 2022-07-17 15:17 ` TeusLollo
  2022-07-17 15:18 ` TeusLollo
                   ` (19 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: TeusLollo @ 2022-07-17 15:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 384 bytes --]

New comment by TeusLollo on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1186546003

Comment:
Output of `wofi --show drun /usr/share/applications/org.gnome.DiskUtility.desktop `:

`/usr/share/applications/org.gnome.DiskUtility.desktop cannot be executed: Message recipient disconnected from message bus without replying`

Weird.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (4 preceding siblings ...)
  2022-07-17 15:17 ` TeusLollo
@ 2022-07-17 15:18 ` TeusLollo
  2022-07-17 15:37 ` paper42
                   ` (18 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: TeusLollo @ 2022-07-17 15:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 492 bytes --]

New comment by TeusLollo on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1186546003

Comment:
Output of `wofi --show drun /usr/share/applications/org.gnome.DiskUtility.desktop `:

`/usr/share/applications/org.gnome.DiskUtility.desktop cannot be executed: Message recipient disconnected from message bus without replying`

Weird.

Custom gendesk .desktop file works instead, which would exclude missing dependencies/configuration woes.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (5 preceding siblings ...)
  2022-07-17 15:18 ` TeusLollo
@ 2022-07-17 15:37 ` paper42
  2022-07-17 15:38 ` paper42
                   ` (17 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: paper42 @ 2022-07-17 15:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 873 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1186549202

Comment:
> DbusActivatable: A boolean value specifying if D-Bus activation is supported for this application. If this key is missing, the default value is false. If the value is true then implementations should ignore the Exec key and send a D-Bus message to launch the application. See D-Bus Activation for more information on how this works. Applications should still include Exec= lines in their desktop files for compatibility with implementations that do not understand the DBusActivatable key.

It seems like your system is missing the dbus user session, but wofi tries to launch gnome-disks with a dbus message.
I think this is a bug in wofi - wofi should fall back to just running Exec when the dbus user session is not available.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (6 preceding siblings ...)
  2022-07-17 15:37 ` paper42
@ 2022-07-17 15:38 ` paper42
  2022-07-17 16:41 ` TeusLollo
                   ` (16 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: paper42 @ 2022-07-17 15:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 969 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1186549202

Comment:
from https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html:

> DbusActivatable: A boolean value specifying if D-Bus activation is supported for this application. If this key is missing, the default value is false. If the value is true then implementations should ignore the Exec key and send a D-Bus message to launch the application. See D-Bus Activation for more information on how this works. Applications should still include Exec= lines in their desktop files for compatibility with implementations that do not understand the DBusActivatable key.

It seems like your system is missing the dbus user session, but wofi tries to launch gnome-disks with a dbus message.
I think this is a bug in wofi - wofi should fall back to just running Exec when the dbus user session is not available.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (7 preceding siblings ...)
  2022-07-17 15:38 ` paper42
@ 2022-07-17 16:41 ` TeusLollo
  2022-07-17 16:41 ` TeusLollo
                   ` (15 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: TeusLollo @ 2022-07-17 16:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 805 bytes --]

New comment by TeusLollo on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1186564338

Comment:
This gets even weirder. I added the `DBusActivatable=true` parameter to my custom gendesk .desktop file, just to see if it would force wofi to start, and possibly fail, a dbus session. 
But NO, the custom gendesk .desktop file STILL works fine, `wofi --show drun` reports NO error either. 

I mean, the only relevant difference between package .desktop file, and custom .desktop file, are the `DBusActivatable=true` parameter, localization tags, and different directory locations. 

I'm at loss here. Using `dbus-elogind-1.12.20_1` package, btw. It can't be a missing dependency and/or misconfiguration, since the custom .desktop file works fine. Weird. 

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (8 preceding siblings ...)
  2022-07-17 16:41 ` TeusLollo
@ 2022-07-17 16:41 ` TeusLollo
  2022-07-17 16:44 ` TeusLollo
                   ` (14 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: TeusLollo @ 2022-07-17 16:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 809 bytes --]

New comment by TeusLollo on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1186564338

Comment:
This gets even weirder. 

I added the `DBusActivatable=true` parameter to my custom gendesk .desktop file, just to see if it would force wofi to start, and possibly fail, a dbus session. 
But NO, the custom gendesk .desktop file STILL works fine, `wofi --show drun` reports NO error either. 

I mean, the only relevant difference between package .desktop file, and custom .desktop file, are the `DBusActivatable=true` parameter, localization tags, and different directory locations. 

I'm at loss here. Using `dbus-elogind-1.12.20_1` package, btw. It can't be a missing dependency and/or misconfiguration, since the custom .desktop file works fine. Weird. 

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (9 preceding siblings ...)
  2022-07-17 16:41 ` TeusLollo
@ 2022-07-17 16:44 ` TeusLollo
  2022-07-17 16:53 ` paper42
                   ` (13 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: TeusLollo @ 2022-07-17 16:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1140 bytes --]

New comment by TeusLollo on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1186564708

Comment:
Also, output of `dbus-run-session gnome-disks`

```
dbus-daemon[6952]: [session uid=1000 pid=6952] Activating service name='org.gtk.vfs.Daemon' requested by ':1.0' (uid=1000 pid=6953 comm="gnome-disks ")
dbus-daemon[6952]: [session uid=1000 pid=6952] Successfully activated service 'org.gtk.vfs.Daemon'
fusermount3: failed to access mountpoint /run/user/1000/gvfs: Permission denied
dbus-daemon[6952]: [session uid=1000 pid=6952] Activating service name='org.a11y.Bus' requested by ':1.2' (uid=1000 pid=6953 comm="gnome-disks ")
dbus-daemon[6952]: [session uid=1000 pid=6952] Successfully activated service 'org.a11y.Bus'
dbus-daemon[6971]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=6953 comm="gnome-disks ")
dbus-daemon[6971]: Successfully activated service 'org.a11y.atspi.Registry'
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
```

The App works fine given this output, btw.

Thanks for your concerns. 

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (10 preceding siblings ...)
  2022-07-17 16:44 ` TeusLollo
@ 2022-07-17 16:53 ` paper42
  2022-07-17 16:54 ` paper42
                   ` (12 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: paper42 @ 2022-07-17 16:53 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 310 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1186571576

Comment:
It expects a dbus user session, so you should replace `exec <wm>` in your .xinitrc with `exec dbus-run-session <wm>` (or an equivalent of that), but it's still a bug.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (11 preceding siblings ...)
  2022-07-17 16:53 ` paper42
@ 2022-07-17 16:54 ` paper42
  2022-07-17 18:08 ` TeusLollo
                   ` (11 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: paper42 @ 2022-07-17 16:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 310 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1186571576

Comment:
It expects a dbus user session, so you should replace `exec <wm>` in your .xinitrc with `exec dbus-run-session <wm>` (or an equivalent of that), but it's still a bug.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (12 preceding siblings ...)
  2022-07-17 16:54 ` paper42
@ 2022-07-17 18:08 ` TeusLollo
  2022-07-17 18:09 ` TeusLollo
                   ` (10 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: TeusLollo @ 2022-07-17 18:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 467 bytes --]

New comment by TeusLollo on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1186582551

Comment:
I notice you may have deleted a comment. 

I just wanted to confirm however that yes, sway WM is launched with those, along with others, parameters:

```
export XDG_SESSION_TYPE=wayland
export XDG_SESSION_DESKTOP=sway
export XDG_CURRENT_DESKTOP=sway
export LIBSEAT_BACKEN=logind

exec dbus-run-session sway
```

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (13 preceding siblings ...)
  2022-07-17 18:08 ` TeusLollo
@ 2022-07-17 18:09 ` TeusLollo
  2022-07-17 18:09 ` TeusLollo
                   ` (9 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: TeusLollo @ 2022-07-17 18:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 535 bytes --]

New comment by TeusLollo on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1186582551

Comment:
I notice 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 others, parameters:

```
export XDG_SESSION_TYPE=wayland
export XDG_SESSION_DESKTOP=sway
export XDG_CURRENT_DESKTOP=sway
export LIBSEAT_BACKEN=logind

exec dbus-run-session sway
```

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (14 preceding siblings ...)
  2022-07-17 18:09 ` TeusLollo
@ 2022-07-17 18:09 ` TeusLollo
  2022-07-17 18:10 ` TeusLollo
                   ` (8 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: TeusLollo @ 2022-07-17 18:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 536 bytes --]

New comment by TeusLollo on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1186582551

Comment:
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 others, parameters:

```
export XDG_SESSION_TYPE=wayland
export XDG_SESSION_DESKTOP=sway
export XDG_CURRENT_DESKTOP=sway
export LIBSEAT_BACKEN=logind

exec dbus-run-session sway
```

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (15 preceding siblings ...)
  2022-07-17 18:09 ` TeusLollo
@ 2022-07-17 18:10 ` TeusLollo
  2022-07-18 18:23 ` paper42
                   ` (7 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: TeusLollo @ 2022-07-17 18:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 537 bytes --]

New comment by TeusLollo on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1186582551

Comment:
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:

```
export XDG_SESSION_TYPE=wayland
export XDG_SESSION_DESKTOP=sway
export XDG_CURRENT_DESKTOP=sway
export LIBSEAT_BACKEN=logind

exec dbus-run-session sway
```

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (16 preceding siblings ...)
  2022-07-17 18:10 ` TeusLollo
@ 2022-07-18 18:23 ` paper42
  2022-07-18 19:31 ` TeusLollo
                   ` (6 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: paper42 @ 2022-07-18 18:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 651 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1188056165

Comment:
From the wofi readme:

> ## drun and dbus
> Some desktop files declare themselves as being launched by dbus, if this is the case wofi can experience issues on systems where a user session bus is not automatically started such as systems using elogind.
>
> To manually launch a user session bus run the following:
>
>	  dbus-daemon --session --address=unix:path=$XDG_RUNTIME_DIR/bus

could you try a different launcher like dex?

```
dex /usr/share/applications/org.gnome.DiskUtility.desktop
```

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (17 preceding siblings ...)
  2022-07-18 18:23 ` paper42
@ 2022-07-18 19:31 ` TeusLollo
  2023-02-03 23:20 ` paper42
                   ` (5 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: TeusLollo @ 2022-07-18 19:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]

New comment by TeusLollo on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1188214908

Comment:
First of all, sorry for taking a long time, but I was away from my void boxes today.

Here's the report:

1) Yep, `dex /usr/share/applications/org.gnome.DiskUtility.desktop` works perfectly, which circumscribes the problem to a wofi bug? | lack of feature?

2) Not sure why other void users never noticed this bug though. Maybe usage of WMs instead of DEs is not that common, especially on wayland?

3) Not sure if this should be reported to https://todo.sr.ht/~scoopta/wofi since the wofi readme already remarks wofi "can experience issues on systems where a user session bus is not automatically started such as systems using elogind". Seems they're aware of this. 

4) Maybe something about this should be mentioned into the "[Session and Seat Management](https://docs.voidlinux.org/config/session-management.html#session-and-seat-management)" of the void handbook? As is "If you're having problems running .desktop files with elogind on wayland, try using gendesk and a custom local path to a .desktop file"?

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. 

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (18 preceding siblings ...)
  2022-07-18 19:31 ` TeusLollo
@ 2023-02-03 23:20 ` paper42
  2023-02-03 23:20 ` [ISSUE] [CLOSED] " paper42
                   ` (4 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: paper42 @ 2023-02-03 23:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1416519654

Comment:
I don't think we can do anything with this, this seems to be an upstream wofi issue.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: [ISSUE] [CLOSED] 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (19 preceding siblings ...)
  2023-02-03 23:20 ` paper42
@ 2023-02-03 23:20 ` paper42
  2024-01-25 12:39 ` bileslav
                   ` (3 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: paper42 @ 2023-02-03 23:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2848 bytes --]

Closed issue by TeusLollo on void-packages repository

https://github.com/void-linux/void-packages/issues/37555

Description:
### System

* xuname:  
Void 5.15.45_1 x86_64 GenuineIntel uptodate rFFFF
* package:  
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:

```
[Desktop Entry]
Version=1.0
Type=Application
Name=Disks-Gnome
Comment=Disks-Gnome
Exec=gnome-disks
Icon=/home/username/.local/share/applications/FlatDisks.png
Terminal=false
StartupNotify=false
Categories=Application;
```

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. 

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (20 preceding siblings ...)
  2023-02-03 23:20 ` [ISSUE] [CLOSED] " paper42
@ 2024-01-25 12:39 ` bileslav
  2024-01-28 18:08 ` TeusLollo
                   ` (2 subsequent siblings)
  24 siblings, 0 replies; 26+ messages in thread
From: bileslav @ 2024-01-25 12:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 577 bytes --]

New comment by bileslav on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1910120691

Comment:
@TeusLollo, here's the missing part:

`dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP`

It should be executed after those variables initialized, e.g. inside `~/.config/river/init` in my case.

I really lazy to elaborate now. Also ATM I can't use Google Translate to correctly formulate, so I'm sorry for anything. IIRC, sway docs had some information about this.

Hope this will help someone.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (21 preceding siblings ...)
  2024-01-25 12:39 ` bileslav
@ 2024-01-28 18:08 ` TeusLollo
  2024-01-28 18:10 ` TeusLollo
  2024-02-02 23:58 ` bileslav
  24 siblings, 0 replies; 26+ messages in thread
From: TeusLollo @ 2024-01-28 18:08 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1209 bytes --]

New comment by TeusLollo on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1913678185

Comment:
> @TeusLollo, here's the missing part:
> 
> `dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP`
> 
> It should be executed after those variables initialized, e.g. inside `~/.config/river/init` in my case.

Indeed. 
I came across the whole `DISPLAY` mojo later when I also came across this other issue: https://bbs.archlinux.org/viewtopic.php?id=191251

I actually run: 

`exec dbus-run-session sway`
`exec dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP`

In a custom script to start the `sway` WM. 

I specifically did that to solve the `[Gtk-WARNING **: cannot open display]` , but I had not connected the dots that this would also solve the whole `wofi` issue. This still does not explain why using `gendesk` worked as a workaround, but I digress. 

So, to anyone looking to utilize custom WMs, remember to run somewhere: 

`exec dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP`

After your WM wayland session has begun. 



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (22 preceding siblings ...)
  2024-01-28 18:08 ` TeusLollo
@ 2024-01-28 18:10 ` TeusLollo
  2024-02-02 23:58 ` bileslav
  24 siblings, 0 replies; 26+ messages in thread
From: TeusLollo @ 2024-01-28 18:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1246 bytes --]

New comment by TeusLollo on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1913678185

Comment:
> @TeusLollo, here's the missing part:
> 
> `dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP`
> 
> It should be executed after those variables initialized, e.g. inside `~/.config/river/init` in my case.

Indeed. 
I came across the whole `DISPLAY` mojo later when I also came across this other issue: https://bbs.archlinux.org/viewtopic.php?id=191251

I actually run: 

`exec dbus-run-session sway`
`exec dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP`

In a custom script to start the `sway` WM. 

I specifically did that to solve the `[Gtk-WARNING **: cannot open display]` , but I had not connected the dots that this would also solve the whole `wofi` issue. This still does not explain why using `gendesk` worked as a workaround, but I digress. 

So, to anyone looking to utilize custom WMs, remember to run somewhere: 

`exec dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP`

After your WM wayland session has begun through a `dbus-run-session` command. 



^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: 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
  2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
                   ` (23 preceding siblings ...)
  2024-01-28 18:10 ` TeusLollo
@ 2024-02-02 23:58 ` bileslav
  24 siblings, 0 replies; 26+ messages in thread
From: bileslav @ 2024-02-02 23:58 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 372 bytes --]

New comment by bileslav on void-packages repository

https://github.com/void-linux/void-packages/issues/37555#issuecomment-1910120691

Comment:
@TeusLollo, here's the missing part:

`dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP`

It should be executed after those variables initialized, e.g. inside `~/.config/river/init` in my case.

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2024-02-02 23:58 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-14 13:22 [ISSUE] org.gnome.DiskUtility.desktop not launching "gnome-disks" executable through an App Launcher, yet using a custom gendesk .desktop file works fine, CLI as well TeusLollo
2022-07-16 20:56 ` 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 paper42
2022-07-17 12:35 ` TeusLollo
2022-07-17 12:44 ` TeusLollo
2022-07-17 13:20 ` paper42
2022-07-17 15:17 ` TeusLollo
2022-07-17 15:18 ` TeusLollo
2022-07-17 15:37 ` paper42
2022-07-17 15:38 ` paper42
2022-07-17 16:41 ` TeusLollo
2022-07-17 16:41 ` TeusLollo
2022-07-17 16:44 ` TeusLollo
2022-07-17 16:53 ` paper42
2022-07-17 16:54 ` paper42
2022-07-17 18:08 ` TeusLollo
2022-07-17 18:09 ` TeusLollo
2022-07-17 18:09 ` TeusLollo
2022-07-17 18:10 ` TeusLollo
2022-07-18 18:23 ` paper42
2022-07-18 19:31 ` TeusLollo
2023-02-03 23:20 ` paper42
2023-02-03 23:20 ` [ISSUE] [CLOSED] " paper42
2024-01-25 12:39 ` bileslav
2024-01-28 18:08 ` TeusLollo
2024-01-28 18:10 ` TeusLollo
2024-02-02 23:58 ` bileslav

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).