Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- # -*- coding: utf-8 -*-
- import os
- case = 1
- os.system("gconftool --type=bool --set /apps/nautilus/preferences/background_set true")#habilitamos el background de nautilus
- while 1:
- if case == 1:
- os.system("gconftool --type=string --set /apps/nautilus/preferences/background_filename 'file://ruta_a_la_imagen_1'")#usamos gconftool
- os.system("sleep 4")#esperamos 4 segundos
- case = 2
- if case == 2:
- os.system("gconftool --type=string --set /apps/nautilus/preferences/background_filename 'file://ruta_a_la_imagen_2'")
- os.system("sleep 4")
- case = 3
- if case == 3:
- os.system("gconftool --type=string --set /apps/nautilus/preferences/background_filename 'file://ruta_a_la_imagen_3'")
- os.system("sleep 5")
- case = 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement