Hey there,
I'm running OpenSUSE and having some issues with Dwarf Therapist as well. I can get the scripts to work when run directly, but I still can't get it to work through the utility. When run through the utility, I get a symbol lookup error that I've been unable to figure out so far.
symbol lookup error: /usr/lib64/libpangoft2-1.0.so.0: undefined symbol: FcWeightFromOpenType
To get the scripts running directly, I modified the bit that gets the path to the Dwarf Therapist binary to:
_ROOT="$( cd -P "$( dirname "$0" )" && pwd )"
## $_DT_BINARY
## Set path to 'DwarfTherapist' binary
_DT_BINARY="$_ROOT/DwarfTherapist"
After that, I was having issues with the path to "_ETC_BASE_FOLDER". I had to change that to:
_ETC_BASE_FOLDER="${PREFIX}/share/"
After that, everything was working fine using the script as given.
So, the final version of my settings section looks like this:
##########################################
##
## SETTINGS / CONFIG
##
##########################################
_ROOT="$( cd -P "$( dirname "$0" )" && pwd )"
## $_DT_BINARY
## Set path to 'DwarfTherapist' binary
_DT_BINARY="$_ROOT/DwarfTherapist"
PREFIX="${_DT_BINARY%%/DwarfTherapist}"
## $_ETC_BASE_FOLDER
## Set folder containing 'etc/memory_layouts/linux/*'
## DwarfTherapist needs to be run from within this folder, because relative path 'etc/memory_layouts/OS/' is hardcoded in binary
##
_ETC_BASE_FOLDER="${PREFIX}/share/"
##_NOTIFY_ICON
## Set path to icon used for notify-send
_NOTIFY_ICON="${PREFIX}/share/pixmaps/dwarftherapist.png"
I don't seem to have the "pixmaps" folder, but it hasn't been a problem yet.