[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[K12OSN] Script help



Hi All,

My teachers have found that the URL does not appear on the top of a printed Firefox page. The problem is that the Firefox preferences are set to start printing .04 inches form the edge of the page, but the printers can't handle that.

Instead of requiring each user to manually change their settings, I found that if I drop a "user.js" file containing the new default_print_edge settings into each user's home directory, the change will be made on the next launch of Firefox. Cool!

Could someone provide me with some guidance on writing a script to do distriute the user.js file? The script should probably just copy the file to the correct location in each user's directory and then change the permissions so that the user owns it. The location for user.js is:
/home/UserName/.mozilla/firefox/default.XYZ/
(Note that the "XYZ" is a randomly generated 3 alphanumeric string for each user.)


Thanks!
Mike
_________________________________
Mike Lichtenwalner
Technology Specialist
Manheim Township School District
Lancaster, PA


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]