The correct invocation is: gksudo -- ubuntu-bug -w
Unfortunately it doesn't seem to be documented anywhere and the whole behavior looks like a gksu bug to me. ** Package changed: apport (Ubuntu) => gksu (Ubuntu) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gksu in Ubuntu. https://bugs.launchpad.net/bugs/1071788 Title: ubuntu-bug doesn't honor -w when called via gksudo Status in “gksu” package in Ubuntu: New Bug description: When calling ubuntu-bug -w it shows a dialog ("After closing this message please click on an application window to report a problem about it.") and expects you to click on some window to determine the process/package against which the bug should be reported. During a running upgrade I tried that and got: "that window doesn't belong to you" (correct, it was owned by root :-)) Calling gksudo ubuntu-bug -w results in the standard dialog ("what kind of problem do you want to report?") instead of the one initiated by the -w. Steps to replicate: 1) call ubuntu-bug --- see the standard dialog 2) call ubuntu-bug -w --- see the "click" dialog 3) call gksudo ubuntu-bug -w --- see the standard dialog btw: the attached logs seem to show a crash of apport, which is unrelated to this bug ProblemType: Bug DistroRelease: Ubuntu 12.10 Package: apport 2.6.1-0ubuntu6 ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5 Uname: Linux 3.5.0-17-generic x86_64 ApportVersion: 2.6.1-0ubuntu6 Architecture: amd64 Date: Fri Oct 26 16:48:16 2012 InstallationDate: Installed on 2010-11-16 (709 days ago) InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007) MarkForUpload: True PackageArchitecture: all SourcePackage: apport UpgradeStatus: Upgraded to quantal on 2012-10-25 (0 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/1071788/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp