Random photo every two minutes recursively
I trying to find a script that can use fbsetbg and change the background ramdomly through directories
i found this python script and changed it to the following , but it gives me errors , i think its because there are directories in directories here is my modified version Code:
# Copyright 2005 Michael Rice |
Code:
import os,random, time havn't tested it, but I reckon it should work... |
thanks its working , i don't think it will start up if i put it in .fluxbox/init
apart from putting it on the menu, how would you suggest i automate it when the fluxbox loads? |
if you add
#!/usr/bin/python or wherever your python binary is located at the top of the script and chmod 755 nameofscript.py then you could just set session.screen0.rootCommand: nameofscript.py in your ~/.fluxbox/init |
thanks, that works
|
All times are GMT -5. The time now is 06:12 AM. |