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

I am trying to use 'motion' to setup some simple video surveillance in Ubuntu 12.10.

I installed motion and edited the /etc/motion/motion.conf file, but it seems like the program is ignoring the changes I made to the .conf file.

First, I set the video device to /dev/video1 (a tested and working usb cam) but it is still using /dev/video0 (the built-in laptop cam)

Second, I set the camera resolution to 640x480 but it is capturing files that are 320x240

Third, I set the framerate to 2 frames/second but it is recording about 10 frames/second

Forth, I set the target directory to a directory I created: /media/WORK DRIVE/motion capture/ but it is writing all the jpg files to the root directory instead.

I checked to make sure the user 'motion' was created and added to the group 'video' and it was.

What am I doing wrong? I followed the instructions on the motion website as well as a few youtube tutorials... but it is still not working... it seems like all my changes to the motion.conf file are being ignored.

I am desperate... I need to get this up and running today.

Hope someone can help... thanks :-)

share|improve this question
Anyone? Is this a permissions issue? Do I need to set some kind of permissions for the user 'motion' other than what the program setup on installation? Is this a naming convention problem with the target directory? I have spaces in the directory name "/media/WORK DRIVE/motion capture/. – Jason Nov 27 '13 at 3:18

Well, for one thing, if there is a file called motion.conf in your current directory (when you run the motion commmand) or there is a ~/.motion/motion.conf file, then motion will use those in preference to /etc/motion/motion.conf

worth checking those other files do not exist?

share|improve this answer

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.