Check for DBusActivatable=true when launching desktop files
@alexxcons
Submitted by Alexander Schwinn Assigned to Xfce Bug Triage
Description
Followup of Bug 14277
Currently thunar uses xfce_spawn_on_screen which itself uses g_spawn_async to launch child processes. https://git.xfce.org/xfce/thunar/tree/thunar/thunar-file.c#n1569 (thunar_file_execute) https://git.xfce.org/xfce/libxfce4ui/tree/libxfce4ui/xfce-spawn.c#n319 (xfce_spawn_on_screen_with_child_watch)
The idea is to first check if an application has DBusActivatable=true in its desktop file, and activate it via dbus in that case. Like that the process would be placed in their own cgroup.
Version: 1.7.1