[Pkg-xfce-devel] Bug#481277: Bug#481277: exo-utils: exo-open doesn't like constant parameters for WebBrowser

Daniel Dickinson daniel at fionavar.ca
Fri May 16 03:45:02 UTC 2008


On Thu, 15 May 2008 07:44:06 +0200
Yves-Alexis Perez <corsac at corsac.net> wrote:

> On mar, 2008-05-13 at 11:08 -0400, Daniel Dickinson wrote:
> > Using a commandline like sudo -u iceweasel-user iceweasel "%s" as
> > the preferred application for the the web browser confused exo-open.
> > exo-open tried to execute just sudo (as detected by replacing sudo
> > with echo and running from terminal), which doesn't work.  Other
> > uses of preferred applications seem to be okay with this though
> > (like the help browser).  It breaks the default web browser icon on
> > the panel though.
> 
> I don't really get it (at least I don't get the subject at all).
> 
> Here if I try to use sudo, it “works”, but I don't have a chance to
> enter my password. Using ktsuss, it works correctly.
> 
> What's the problem?

If I use exo-preferred-applications and set the application for the web
browser to Other...
and specify
sudo -u iceweasel-daniel iceweasel "%s"

then exo-open --launch WebBrowser
fails.  I get a dialog Input/Ouput error, and the following console
message:

usage: sudo -h | -K | -k | -L | -l | -V | -v
usage: sudo [-bEHPS] [-p prompt] [-u username|#uid] [VAR=value]
            {-i | -s | <command>}
usage: sudo -e [-S] [-p prompt] [-u username|#uid] file ...

I instead use
gksudo -u iceweasel-daniel iceweasel "%s"
then I get a gksudo popup that asks me what user I want to run as.
Since that is specifed by the '-u iceweasel-daniel' there is obviously
something up.

Using echo -u iceweasel-daniel iceweasel "%s"
hangs

What I have determined is the '-u iceweasel-daniel' and 'iceweasel' are
not being passed to the program that is the preferred application

So gksudo or sudo gets run, but with no parameters.

When you used ktsuss did you get prompt and think it was working, or
did the actual command run once you entered your password?

Regards,

Daniel
-- 
And that's my crabbing done for the day.  Got it out of the way early, 
now I have the rest of the afternoon to sniff fragrant tea-roses or 
strangle cute bunnies or something.   -- Michael Devore
GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C      http://gnupg.org
No more sea shells:  Daniel's Weblog    http://cshore.wordpress.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20080515/5fe3935c/attachment.pgp 


More information about the Pkg-xfce-devel mailing list