I need to change the location of scratchthumbs.db. I was fine with it back when I was a young Scratcher who didn't mind a big, cluttered desktop, but now I'm hyper-organized (a clean freak as far as desktops go) and would really love to get that file tucked away somewhere in the Scratch folder. Not only does it save space, I'd have three neat columns of icons.
Can I edit the source code to move it? How?
Last edited by Hardmath123 (2012-02-28 10:44:06)
Offline
EDIT: you need developer tools (Xcode)
if you are on a mac use this command in terminal
setfile -a V ~/Desktop/scratchthumbs.db
PS the Italics is wrong
Last edited by muppetds (2012-02-28 10:38:41)
Offline
I'm thinking more along the lines of editing the Squeak source code's default path. But thanks for the suggestion, muppetds.
Offline
Hardmath123 wrote:
I'm thinking more along the lines of editing the Squeak source code's default path. But thanks for the suggestion, muppetds.
Maybe there's some kind of primitive in Squeak that allows you to run terminal commands, so you could do that each time the database file is created!
Offline
Ok, then, how about disabling the whole thing?
Offline
I think there is a way, I will look later. I have found the class that manages saving and will see if there is an easy way to disable it.
Offline
Hardmath123 wrote:
Ok, then, how about disabling the whole thing?
It will take a long time to generate the thumbnails each time you look at a folder, but if you really want to you can look into ScratchFileChooserDialog and friends.
Offline