Jump to content

adding things to menu


kristi
 Share

Recommended Posts

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

Link to comment
Share on other sites

Just make a little script and run that file from the startmenu:

 

#!/bin/sh

cd /mnt/nwng/nwn

./nwn

 

Good luck.

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?

:screwy:

confused!

Kristi (I have googled a bunch on this but still confused...)

Edited by kristi
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...