I'm trying to use camdesk following this OMG article, but camdesk isn't working and not sending any error messages.

I open it in terminal using:


A white square appears in the middle of my screen and nothing happens. Then I launched it using:

python camdesk.py

And the same thing happened.

A last attempt, I tried:

python3 camdesk.py

It returned:

File "camdesk.py", line 12
  if event.keyval == gtk.keysms.Escape :
TabError: inconsistent use of tabs and spaces in indentation

Here is a picture of what it looks like, a gray featureless box that has a slight dropshadow: enter image description here

I recorded a video to show the problem.

youtube video

  • 1
    How about you describe us the problem. You know people don't want to sit couple of minutes viewing a video, also you must think about the users that use mobile. – Braiam Dec 3 '13 at 21:39
  • @Braiam I know, but the problem is the camdesk is not showing any error, just not works, the only way I found to show is the video. – ademar111190 Dec 4 '13 at 3:34
  • @Mateo the program fails to open, it is what i want to show! it is the problem, the program just open a white screen, and do nothing! – ademar111190 Dec 4 '13 at 15:43
  • @Mateo the program is a python script, I run it on terminal. and like I said, it have no output. I only recorded the video because it. – ademar111190 Dec 5 '13 at 0:15
  • please, if you don't want help, just leaves the question there for those who want to help. – ademar111190 Dec 5 '13 at 14:29

I faced the same problem and I get two solutions:

1.- After running ./camdesk.py precione F1 and start working.

2.- If you want to execute the command, and you need to work immediately add the following line at the end of init method: self.player.set_state (gst.STATE_PLAYING)

stay follows.

def __ init__ (self): 
bus.connect ("sync-message :: element", self.on_sync_message) 
self.player.set_state (gst.STATE_PLAYING)

It's probably working fine. Put your cursor in the empty white box and press F1 to start the video. F2 to stop. F5 to adjust the size and behaviour.

I just read the README file that comes with it...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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