Results 1 to 5 of 5

Thread: Menu entry to bash script: "error creating a child prcess for this terminal"

  1. #1
    Join Date
    Mar 2009
    Beans
    51

    Menu entry to bash script: "error creating a child prcess for this terminal"

    [Not sure if this is the right forum]

    I've been playing around with EncFS, and following a tutorial from Life in X here. The author has written a shell script called enc which simplifies mounting and unmounting encrypted folders using the EncFS utils. The general syntax for enc is:

    enc /path/to/encrypted/folder/ /mount/point/

    it then prompts for a password and mounts the folder.

    Everything works from the command line, however, I'm trying to simplify things further by creating a Gnome menu entry I can click on to run enc, and just enter the password. If I type an enc mount command in a terminal, such as:

    ~/enc /media/sdcard1/encrypted/ ~/decrypted/

    then enter my password, the folder is mounted. However, if I copy and paste the same command line into the Command line of a menu entry, I get a "There was an error creating the child process for this terminal" error when I try to run it (I've set the entry to Application in Terminal; otherwise I never see anything).

    What am I not understanding? Or is there another way of accomplishing the same thing?

    --Nathanael Culver

  2. #2
    Join Date
    Mar 2009
    Beans
    51

    Re: Menu entry to bash script: "error creating a child prcess for this terminal"

    bump

  3. #3
    Join Date
    Mar 2007
    Location
    Linköping, Sweden
    Beans
    Hidden!

    Re: Menu entry to bash script: "error creating a child prcess for this terminal"

    Try using the full path, e.g.: /home/user/enc ... instead of just ~/enc

  4. #4
    Join Date
    Mar 2009
    Beans
    51

    Re: Menu entry to bash script: "error creating a child prcess for this terminal"

    Thanks for the suggestion. Already tried that. Also tried selecting/deselecting the "Application in Terminal" option, and enclosing the whole command line in quotes. No go. I'm also copying and pasting the command from a terminal, so there's no chance of a typo.

    --Nathanael Culver

  5. #5
    Join Date
    Mar 2009
    Beans
    51

    [SOLVED] Menu entry to bash script: "error creating a child prcess for this terminal"

    [Can't figure out how to mark the original post SOLVED]

    Problem solved (or rather superceded) by Tom Morton's excellent Cryptkeeper (currently at version 0.9.3) which does all I was looking for and more. It puts a little icon in Gnome's system tray. Left click it, select the (pre-configured) encrypted folder, supply password, and it's mounted. Slick.

    Nathanael Culver

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •