Guest User

Untitled

a guest
Feb 24th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. import os
  2. import time
  3.  
  4. while True:
  5. for file in os.listdir('/usr/share/backgrounds/ubuntu-mate-xenial/'):
  6. command_string = "gsettings set org.mate.background picture-filename '/usr/share/backgrounds/ubuntu-mate-xenial/" +file+"'"
  7. os.system(command_string)
  8. time.sleep(.1)
Add Comment
Please, Sign In to add comment