Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'random backgrounds' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
random backgrounds
Authored by: caesurae on Feb 06, '05 04:15:30PM
Considering that it's possible to create .term files to launch a session that can include a background image...

I have created a script that can be executed from a .term file or an rc file (.bashrc, .tcshrc, etc.). The script inserts the path of an image file randomly selected from ~/Library/Desktop Pictures/ into a .term file's "BackgroundImagePath" setting. This avoids "monkeying around with the pref file X times a day" as Bemopolis put it, but requires that you create the directory ~/Library/Application Support/Terminal/ to keep the .term file and script in.

You could edit the script to change ~/Library/Desktop Pictures/ to some other directory.

Get the script here.

[ Reply to This | # ]