Spread the Word | Create Account | My Account  
digsby
Location: Forum Home » Customizing » Put customizations in your user directory
 

Put customizations in your user directory

#1 2008-11-11 19:45:30
Put customizations in your user directory
mike
Digsby Developer
Offline

 

as of version 18814, Digsby now loads some things from the both the "All Users" application data directory and the logged-in user  application data directory.

On Windows XP those folders are:

C:\Documents and Settings\All Users\Application Data\Digsby
C:\Documents and Settings\(Your Username)\Application Data\Digsby

On Vista (and Windows 7) they're:

C:\ProgramData\Digsby
C:\Users\(Your Username)\AppData\Roaming\Digsby

Inside any of these folders you can put the following folders:

emoticons
MessageStyles
skins
sounds

and this file:

prefs.yaml

Each of these things is composed with their analogue from the Digsby\res\ folder (which are all named the same, with the exception of "prefs.yaml", which corresponds with "defaults.yaml").

The lookup priority in all cases is: user folder, all users folder, digsby application folder.

One caveat: Skins may not work properly from these directories. I only tried it briefly and it didn't work right away. There will be improvements to this in the future but given the number of people who are getting bitten by the auto-updates I wanted these changes in ASAP. For now, it may be sufficient to simply copy over the entire skins directory from Digsby/res into your user folder or all users folder.

questions, comments, concerns?

edit: added sounds



#2 2009-03-06 12:55:38
Re: Put customizations in your user directory
alexaraujo
New member
Offline

 

There's no prefs.yaml in Windows Digsby directory.



#3 2009-03-06 14:59:03
Re: Put customizations in your user directory
mike
Digsby Developer
Offline

 

Feel free to make one ;-p



#4 2009-03-06 15:24:54
Re: Put customizations in your user directory
artfuldodga
Super Power User
Offline

 

i don't think this works, well it might work... i just loaded my skins directory in my user folder, loaded up digsby and the skins name was there but wouldnt load any of the images

so for now i put the skins dir in program files/digsby, program data, and my user folder, will see what happens next update... as far as i've seen any time i've updated digsby its kept my skin, having it in just the program files directly, it does overwrite my sounds though


Last edited by artfuldodga (2009-03-06 15:32:19)


#5 2009-03-06 15:29:01
Re: Put customizations in your user directory
mike
Digsby Developer
Offline

 

artfuldodga wrote:

i don't think this works...

that's very helpful[/sarcasm]



#6 2009-03-09 01:55:17
Re: Put customizations in your user directory
SL
New member
Offline

 

mike wrote:

Feel free to make one ;-p

Would user folder prefs.yaml got updated for changes made via digsby or have to copy over manually from default.yaml?



#7 2009-03-14 20:11:44
Re: Put customizations in your user directory
spartanhooah
Member
Offline

 

I've tried putting a downloaded skin in both of the folders listed, in addition to \Program Files (x86)\Digsby, but can't get it to show up. I did succeed in creating duplicates of the two included skins, though, so something went (sort of) right. What should the directory structure under \skins be? For example, I downloaded this theme which unpacks to \Vista Skin.



#8 2009-03-31 13:38:08
Re: Put customizations in your user directory
mike
Digsby Developer
Offline

 

Sorry, somehow I've neglected this thread despite the fact that I link to it as often as possible.

SL: You don't need to copy the defaults.yaml file, in fact that's not desired since if we need to change the defaults for an option (for whatever reason, maybe the way it's used internally gets changed or whatever) the old value from the full defaults.yaml would override. While this is desired behavior, I think it's best if users only override things they specifically want different. Anyway, just create a new blank text file and call it "prefs.yaml".

spartanhooah: I noticed the vista skin has an extra level of folder depth to it. Make sure that the structure ends up like: "skins\<SkinName>\skin.yaml". With that zip file, if you just unzip it and try to use it, the format ends up being "skins\Vista Skin\vista\skin.yaml", which is wrong so it won't work.



#9 2009-04-16 18:06:27
Re: Put customizations in your user directory
GYoung
New member
Offline

 

I found a much easier (and more effective) method to adding skins.
Paste the skins in: C:\Program Files (x86)\Digsby\res\skins.
Or, if you have a 32-bit version of windows, then paste it in: C:\Program Files\Digsby\res\skins


Last edited by GYoung (2009-04-16 18:07:09)


#10 2009-04-16 18:24:07
Re: Put customizations in your user directory
mike
Digsby Developer
Offline

 

that's exactly what we're trying to avoid.



#11 2009-04-28 10:58:18
Re: Put customizations in your user directory
adityagautam
Super Power User
Offline

 

mike wrote:

that's exactly what we are trying to avoid

seriously or sarcastically??


Last edited by adityagautam (2009-04-28 11:15:39)



Thou Shalt be Missed, dotSyntax, LLC.
='(
#12 2009-04-28 10:59:34
Re: Put customizations in your user directory
mike
Digsby Developer
Offline

 

seriously. putting things in the program files directory is not what we want.



#13 2009-05-05 10:02:11
Re: Put customizations in your user directory
web
Member
Offline

 

On Windows XP those folders are:

C:\Documents and Settings\All Users\Application Data\Digsby
C:\Documents and Settings\(Your Username)\Application Data\Digsby

On Vista they're:

C:\ProgramData\Digsby
C:\Users\(Your Username)\AppData\Roaming\Digsby

Inside any of these folders you can put the following folders:

emoticons
MessageStyles
skins
sounds

and this file:

prefs.yaml

Any specs for Windows 7?



#14 2009-05-05 10:09:28
Re: Put customizations in your user directory
mike
Digsby Developer
Offline

 

Dunno, wherever the new user data folder is. if you find out, let us know.



#15 2009-05-05 10:27:27
Re: Put customizations in your user directory
chris
Digsby Developer
Offline

 

win7 == vista for this.




closed topic w/ link == punBB doesn't have merge.
#16 2009-05-07 04:29:30
Re: Put customizations in your user directory
capthauq
New member
Offline

 

I'm on Windows 7 atm, and the only way I can get the themes to work is by putting them in the program files directory. Putting them anywhere else with the prefs.yaml file causes digsby to freeze up at sign-in when loading skins (without it, Digsby loads but only with default skins).



#17 2009-05-07 20:26:57
Re: Put customizations in your user directory
Velorium
New member
Offline

 

On Vista 32 bit and having the same issue as you capthauq.



#18 2009-05-09 05:57:49
Re: Put customizations in your user directory
sandycollie
New member
Offline

 

i am also on Vista 32 bit but don't having this issue



#19 2009-05-29 10:04:56
Re: Put customizations in your user directory
schester99
New member
Offline

 

Okay can someone tell me how to set up the pref.yaml file. I understand blank txt file and naming processes. But should the file remain blank? Or should I just copy the default.yaml file and rename it to pref.yaml? Novice needing a little more direction. smile Thanks in advance.



#20 2009-05-29 10:28:22
Re: Put customizations in your user directory
mike
Digsby Developer
Offline

 

you put in whatever changes you want to make to defaults.yaml there. this way, the defaults are still the defaults, but you (the user) can still edit prefs that aren't in the GUI.

copying the entire file isn't really the right idea (though it likely accomplishes what you want). if we decide to change the default for something, the new default will still be overridden by your prefs.yaml in your user folder.

for an example of how to go about setting your prefs with this file, let's take a common example: popup duration. 4 seconds just isn't enough for some (most?) people.

here's the notifications section from defaults.yaml:

Code:

notifications:
    enable_sound: yes
    enable_popup: yes
    popups:
        location: lowerleft
        duration: 4000
        opacity:
            hover: 100
            normal: 100
        max_height: 400
        max_lines: 2
        monitor: 0

the pref we want to change is notifications.popups.duration (note how the prefs values are accessed via dotted notation -- or dot syntax if you prefer ;-p).

so in your personal prefs.yaml file, you would have this:

Code:

notifications:
    popups:
        duration: 10000

and now your popups last for 10 seconds. so as you see, you only have to put in values for what you want to change in prefs.yaml.



Pages: 1 2 

Board footer


Copyright © 2007-2009 dotSyntax, LLC.   All Rights Reserved