[opensuse] Strange behaviour of KMenu



I updated to KDE 3.5.7-79.2 today (on openSUSE10.2), and I have one
small problem.. can't quite figure it out.

In KMenu, there is an entry for Smart (under System > Configuration).
The Command entry for that menu item is: smart --gui This is what it
should be. If I click that menu item, I get the usual popup asking
for the root password.

Now this is where it goes a bit odd. The Command as shown in the Run
as root window is only the --gui part. If I type in my password at
attempts to launch and returns an error "Command '--gui' not found.

For some reason the KMenu entry is dropping the leading part of the
command. If I remove the --gui part, then no command is issued after
the root password is entered... and of course this errors out.

I created a new menu item for Smart and typed in the various bits.
Same results.

If I remove the Run as root setting and launch Smart as $USER from the
KMenu, it launches normally - although in readonly mode (normal
behaviour for Smart running as $USER).

Smart can be launched as root from the command line with smart --gui
with no problem. Also smart can be launched normally using the
context menu item in KSmartTray. So... it's nothing to do with Smart
itself.

I have also randomly tried other apps in the KMenu, and they all work
normally... including onces that run as root (which pop up the root
password window).

So this is broken, but only for the command smart --gui, or smart
(with no options). Has anyone else ran into this yet? Any ideas what
or why this is happening for this one menu item? Any tips on how to
fix it?

C.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: [SLE] Running a program as root?
    ... >> is correct and secure. ... I just opened a terminal and su'ed to root. ... >> and I executed the command. ... I was wondering how to add things to the KMenu. ...
    (SuSE)
  • Re: [SLE] cisco vpn client
    ... command from the command line. ... Modify the Desktop Icon to launch as a different user (hint: root). ...
    (SuSE)
  • Re: Configuring a dialup connection
    ... to launch a command as root use the command -sudo- ... then you're prompted for a password, provide your own passwd. ...
    (Ubuntu)
  • Re: Apple recommending anti-virus software for Macs?
    ... > To be ultra-safe with the 'rm' command, ... Not a bad idea for root, It would drive me nuts in my user account. ... downloads directory and executing it. ... That I type an EOF is a trivial difference versus 'sudo' exiting ...
    (comp.sys.mac.system)
  • Re: [opensuse] su - -c $command user ???
    ... I'd like to calculate a command-string as root and pass it with su ... into the context of a unprivileged user to run the command not as ... Basically I need to know $d after the daemonuser created and filled ... Note the echo isn't really going to be a fully valuable ...
    (SuSE)