[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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Clayton wrote:
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.
What is your run command? There was a recent thread on another mailing list that talked about using quotes: kdesu "smart --gui" -- Jonathan Arnold (mailto:jdarnold@buddydog.org) Linux Brain Dump - Linux Notes, HOWTOs and Tutorials: http://www.linuxbraindump.org Daemon Dancing in the Dark, an Open OS weblog: http://freebsd.amazingdev.com/blog/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
What is your run command? There was a recent thread on another mailing list that talked about using quotes:
kdesu "smart --gui"
Hmmm that worked - changed it to kdesu and now the whole command is used. Strange though that it only "broke" on this one single item in the whole KMenu... including all others that are "Run as root" C -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Clayton
-
Jonathan Arnold