> I was chatting with another dev and the idea of modifying xdg-open came
> up, could this be a possible solution?
>
> --- /usr/bin/xdg-open
> +++ xdg-open
> @@ -489,6 +489,7 @@
>
>  open_gnome()
>  {
> +    export DESKTOP_STARTUP_ID=i_am_unique_$(date '+%s%N')_TIME$(date '+%s')
>      if gvfs-open --help 2>/dev/null 1>&2; then

No, because DESKTOP_STARTUP_ID should use the Display Server time (X,
for now), not the current time, so this won't work as expected, also
there's not a way to pass to it the event time of the event that
caused its call.

Also gnome-open could, in theory, easily use GAppLaunchContext, but it
doesn't it since it's not possible beca - at the current state - to
know the event that triggered that.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1168858

Title:
  Nautilus window opens behind current window

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1168858/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to