Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The LXDE FM won't show the volume after mounting it in TrueCrypt. Found this and this. Is there any recommended way?

share|improve this question
Since I read in the Arch-forum (link) that TrueCrypt calls Nautilus by:/usr/bin/nautilus --no-default-window --no-desktop /media/truecrypt1, I tried to put #!/bin/bash exec pcmanfm $3 exit 0 into the file as recommended. Doesn't help :( – H3R3T1K Apr 25 '12 at 16:42
up vote 0 down vote accepted

A solution would be to specify the mount point and then navigate to the mount point.


I have an encrypted file named "enc1" at "/home/desgua/Dropbox", and my mount point is the folder "/mnt/mymountpoint/", so I type this on terminal:

truecrypt --mount /home/desgua/Dropbox/enc1 /mnt/mymountpoint/

And then navigate to "/mnt/mymountpoint/" to see my files.

And to unmount:

truecrypt -d /home/desgua/Dropbox/enc1

or simple:

truecrypt -d (which should unmount every truecrypted mounted files)

Outside command line

Suggestion One

You can edit the file /etc/fstab (open it with gksu gedit /etc/fstab) and add a line to specify the mount point:

/dev/sda1/home/desgua/Dropbox/enc1 /mnt/mymountpoint auto rw,user 0 0


Now you can mount through GUI and navigate to /mnt/mymountpoint

More info here.

Suggestion Two

Also you can create a launcher to mount it:

1) Paste this at terminal: gedit ~/Desktop/unmounttruecrypt.desktop,

2) Then paste this into the file and save:

[Desktop Entry]
Name=Unmount Truecrypt
Comment=Unmount all mounted Truecrypt files
Exec=gnome-terminal -e "bash -c \"truecrypt --mount /home/desgua/Dropbox/enc1 /mnt/mymountpoint/ ; exit; exec bash\""

3) Now look at your desktop and drag the file to the Launcher.

share|improve this answer
There's no way outside of the command line? What would you enter in order to unmount? – H3R3T1K Apr 25 '12 at 16:56
Yes it is possible. You will have to edit the fstab file. To unmount through command line use truecrypt -d – desgua Apr 25 '12 at 17:06
Should I add the line to fstab the way it is or do I have to change anything except your username to mine, like "/mnt/mymountpoint" to something else or "user" to my username? Here's what I got: /dev/sda1/home/arno/Secret /home/arno auto rw,user 0 0 – H3R3T1K Apr 25 '12 at 18:12
I would suggest you to set an empty folder to be the mount point: /dev/sda1/home/arno/Secret /home/arno/mnt auto rw,user 0 0 – desgua Apr 25 '12 at 18:20
I'm sorry I think I'm messing it all up. I added the line above to fstab, but it won't mount the container there. Instead I get an error upon boot that /home/arno is not present. I also created the launcher, but dragging the file on it neither mounts the container nor unmounts it. I think I'll stick to the CL version. It's just that I think it's slow to type it every time :D – H3R3T1K Apr 25 '12 at 18:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.