[deadline 7.2] Default monitor user's settings

Hello,

I’m trying to change the default viewer settings of all our existing and future users.

I can’t find where this info is stored.

Cheers,
Pierre

Is this what you were looking for? docs.thinkboxsoftware.com/produc … ure-access

Hello,

thx for your answer panze.

Nope I’m looking for the viewer settings.

I can control those settings user by user (http://docs.thinkboxsoftware.com/products/deadline/7.2/1_User%20Manual/manual/user-settings.html?highlight=viewer#image-viewers), but I would like to be able to change this for all of our users.

Cheers,
Pïerre

Ah, sorry. Misunderstood what you were looking for. But that would be actually nice to know.

For now I’ve used a script I made that loads selected render output as sequence to DJV. But would be nice to be able to collectively set default viewer for single images as well.

For others, this info is saved in the Monitor Settings ini file.

Lin/Mac: “~/.config/Thinkbox/”,
Windows: “%appdata%/Thinkbox/”

The sections for it are these:

CustomViewerExecutable1=
CustomViewerExecutable2=
CustomViewerExecutable3=
CustomViewerArguments1=\"{FRAME}\"
CustomViewerArguments2=\"{FRAME}\"
CustomViewerArguments3=\"{FRAME}\"
CustomViewerName1=
CustomViewerName2=
CustomViewerName3=
CustomViewerHandlesChunkedTasks1=false
CustomViewerHandlesChunkedTasks2=false
CustomViewerHandlesChunkedTasks3=false

Note however that this is the file that we store the binary-encoded layout of the Monitor in, so copying it around is going to reset people’s layouts.

Hello,

There is another line interesting in the monitor settings .ini : PreferredViewer

My little contribution to this subject, the script I wrote for our linux users to change their settings so they would have a sequence rv viewer as default viewer :

[code]#!/bin/sh
settingsFile=~/.config/Thinkbox/Deadline\ Monitor\ 7.ini
settingsFileBackup="$settingsFile-$(date +"%F-%Hh%Mm")"
echo “Backup settings file is $settingsFileBackup”
cp “$settingsFile” “$settingsFileBackup”

echo “Before modifications :”
cat “$settingsFile” | grep Viewer

sed -i.bak ‘s/^CustomViewerArguments1=./CustomViewerArguments1=\"{SEQ#}\"/’ “$settingsFile”
sed -i.bak 's/^CustomViewerArguments2=.
/CustomViewerArguments2=\"{FRAME}\"/’ “$settingsFile”
sed -i.bak ‘s/^CustomViewerArguments3=./CustomViewerArguments3=/’ “$settingsFile”
sed -i.bak 's/^CustomViewerExecutable1=.
/CustomViewerExecutable1=PATH_TO_RV_LAUNCHER’ “$settingsFile”
sed -i.bak ‘s/^CustomViewerExecutable2=./CustomViewerExecutable2=PATH_TO_RV_LAUNCHER’ “$settingsFile”
sed -i.bak 's/^CustomViewerExecutable3=.
/CustomViewerExecutable3=/’ “$settingsFile”
sed -i.bak ‘s/^CustomViewerHandlesChunkedTasks1=./CustomViewerHandlesChunkedTasks1=false/’ “$settingsFile”
sed -i.bak 's/^CustomViewerHandlesChunkedTasks2=.
/CustomViewerHandlesChunkedTasks2=false/’ “$settingsFile”
sed -i.bak ‘s/^CustomViewerHandlesChunkedTasks3=./CustomViewerHandlesChunkedTasks3=false/’ “$settingsFile”
sed -i.bak 's/^CustomViewerName1=.
/CustomViewerName1=rv sequence/’ “$settingsFile”
sed -i.bak ‘s/^CustomViewerName2=./CustomViewerName2=rv frame/’ “$settingsFile”
sed -i.bak 's/^CustomViewerName3=.
/CustomViewerName3=/’ “$settingsFile”
sed -i.bak ‘s/^PreferredViewer=.*/PreferredViewer=1/’ “$settingsFile”
rm “$settingsFile”.bak

echo “After modifications :”
cat “$settingsFile” | grep Viewer

[/code]

Obviously you’d have to replace PATH_TO_RV_LAUNCHER.

Cheers,
Pierre

Sweet! Thanks for the contribution pierre!

I dump these sorts of handy files in our Github repository for examples. Not sure if you’re familiar with Git, but feel free to open up a pull request and I’ll merge it in. Otherwise, I can add it for you.

Probably best to stash it here:
github.com/ThinkboxSoftware/Dea … ster/Tools

Go it.

Cheers,
Pierre

Noted! I’ll try and find some time. I want to add a handy readme and things before merging it in.

Also, had a chat with the higher ups. When we merge it in, it will be owned by Thinkbox. I’m assuming that’s okay, I just want to be all legally explicit.

No problem, it’s only a little something.

Hi Edwin,

I’ve tried changing this from the monitor and in the ‘Deadline Monitor 10.ini’ file, whenever I launch the monitor though it overwrites it. No matter what I try I can’t change the value that is already in there. It’s honestly driving me up the wall having to change it each time I load the monitor!