Dr. Mark Humphrys

School of Computing. Dublin City University.

Home      Blog      Teaching      Research      Contact

My big idea: Ancient Brain


CA114      CA170

CA668      CA669      Projects

Lab - active desktop

Get activedesktop working on DCU Linux.

Start with this base


Recipe - For 40%

  1. Change WEBCAMURL to point to a JPEG from a webcam that exists now. e.g. Dublin City Council.
  2. You will have to find the URL not of the webpage, but of the JPEG image itself. (How?)
  3. Use wget to download the JPEG to the file. The format should be like:
  4. Check that it works. (Double-click on the JPEG downloaded.)

For 60%

  1. When the above is working: Use gsettings to set the JPEG as the background image.
  2. Check that it works, and it does set the background image.
  3. When the above is working: Insert the "sleep" and the "while" loop.

For 100% - Demo it

  1. Start with blank background.
  2. Show me how to launch it detached.
  3. Show me how to find it with ps.
  4. Hint: Find the "sleep" process. Look at the parent process (PPID) of the "sleep" process.
  5. Show me how to kill it.

ancientbrain.com      w2mind.org      humphrysfamilytree.com

On the Internet since 1987.

Wikipedia: Sometimes I link to Wikipedia. I have written something In defence of Wikipedia. It is often a useful starting point but you cannot trust it. Linking to it is like linking to a Google search. A starting point, not a destination. I automatically highlight in red all links to Wikipedia and Google search and other possibly-unreliable user-generated content.