Click to See Complete Forum and Search --> : Fluxbox/SuSE - YaST from menu?


Penrich
12-09-2002, 02:27 AM
I am trying out Flux and loving it so far - so much faster on my old PC than KDE or Gnome. I ahve a minor irritation though: how do I run a command that requires me to be su from a menu?

For example, I'm still a newbie, and I sometimes want to run YaST2, which requires root privilidges. Now, I can go to a xterm, type su, enter password, and then yast2 to get their, but I'd like to do it from the menu. I know I'm just missing something little! I can get this far, (~/.fluxbox/menu) but can't get it to run... Any ideas?
<snip>
[submenu] (Fluxbox-menu)
[config] (Configure)
[submenu] (Styles) {Choose a style...}
[stylesdir] (/usr/share/fluxbox/styles)
[stylesdir] (~/.fluxbox/styles)
[end]
[workspaces] (Workspace List)
[submenu] (Tools)
[exec] (YaST2) {***what to put here???*** yast2}
[exec] (Windowname) {xprop|grep WM_CLASS|cut -d \" -f 2|xmessage -file -
-center}
[exec] (Run) {fbrun}
[end]
[reconfig] (Reload config)
[restart] (Restart)
[exit] (Exit)
[end]
[end]

Penrich
12-11-2002, 12:51 AM
***bump :) ***