Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

I'm running the MATE edition of Linux Mint on my laptop. I have an external USB disk with a LUKS container on it. The USB disk is connected to the laptop's docking station.

Whenever I connect the laptop to the docking station, MATE pops up a window which says, "Enter a password to unlock the volume" along with a text field and options to forget the password immediately, remember until logout, or remember forever. (Not "don't show me this popup again," which is what I would prefer.)

Under normal use, I want to have this external USB disk unmounted and idle. I have a cron job which unlocks the disk via a key file, mounts the partition, and runs an automated backup. I don't want this partition to be mounted all the time, nor do I want it to be accessible to my ordinary (non-privileged) user account.

Is there any way to tell gvfs (or whatever is doing this) to please stop showing me the "enter password" dialog every time I dock my laptop to the docking station?

share|improve this question

I am not familiar with the application prompting you for a password (gpg has a similar program called gpg-agent), but I would think that "remember forever" would make the password prompt not pop up again (since the password will be remembered).

To see what process is making the pop-up appear, the next time it appears, type in ps auxw in a terminal window and see if any of the processes appear to be a name for a password pop-up application.

Or, you may find someone here who knows the application if you post a screenshot of the password prompt in your question.

share|improve this answer
@Terdon knows Mint pretty well, he's likely asleep now but perhaps pinging him in the chatroom will get him to take a look at this tomorrow. – slm Feb 3 '14 at 4:50

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.