that would be a quick&dirty script for replacing the default.conf you have: /etc/hildon-welcome.d/default.conf and /etc/hildon-welcome.d/dconfs/ <- new folder where the configs are named "1.conf", "2.conf", "3.conf" and so on. the script determines the number of conf-files in the dconfs-folder and replaces the default.conf randomly with one of them Code: #!/bin/bash # determine number of files in /dconfs cd /etc/hildon-welcome.d/dconfs/ nof=$(ls *.conf | wc -l) # get random number in range of 1 - nof let "rn = $RANDOM % $nof + 1" # choose random conf rf="$rn.conf" # copy it over to default.conf cp $rf ../default.conf # exit exit 0
#!/bin/bash # determine number of files in /dconfs cd /etc/hildon-welcome.d/dconfs/ nof=$(ls *.conf | wc -l) # get random number in range of 1 - nof let "rn = $RANDOM % $nof + 1" # choose random conf rf="$rn.conf" # copy it over to default.conf cp $rf ../default.conf # exit exit 0