kristi Posted February 15, 2005 Report Share Posted February 15, 2005 MDK10.1 OE, KDE3.2.3 It seems that when I add things to KDE menu, I cannot specify them to run in specific user (like root), and I cannot specify that they are to run using a particular dir as work. If I drag a menu item to the task bar, then, in properties/advanced settings, I can specify a user, but still can't specify a work dir. eg: neverwinter nights game: In a console, I can do cd /mnt/nwng/nwn ./nwn and it will run fine because the work-at addy is set by the "cd". In Xandros-linux, I could specify both user and work-at dir. Where can I specify them in MDK? tia!!! Kristi Quote Link to comment Share on other sites More sharing options...
devries Posted February 15, 2005 Report Share Posted February 15, 2005 Just make a little script and run that file from the startmenu: #!/bin/sh cd /mnt/nwng/nwn ./nwn Good luck. Quote Link to comment Share on other sites More sharing options...
kristi Posted February 16, 2005 Author Report Share Posted February 16, 2005 (edited) Just make a little script and run that file from the startmenu: #!/bin/sh cd /mnt/nwng/nwn ./nwn Good luck. <{POST_SNAPBACK}> Thanks! That worked! But can you help a shell newbie out? what is the meaning/purpose of the first line? If I remove it and save it to nwn.sh and execute it with sh, it works just fine. or is the # just making it a comment? confused! Kristi (I have googled a bunch on this but still confused...) Edited February 16, 2005 by kristi Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.