1
DF General Discussion / Re: Lazy Newb Pack Linux V0.40.09 with Dwarf Therapist
« on: August 22, 2014, 08:46:16 am »
Hello Lasander,
Beuatato has implemented Dwimenor's improved start-up-script a while ago. It asks once for sudo to set up the ptrace-scope for DT in a seperate shell-window...so with the 0.40.09r0 release of the LLNP it should work out of the box...
If you can't use it this way perhaps it's a issue due to your distro? What distro are you using then?
And in DT i never have tried to change the window-size, since i use it always in fullscreen...but can confirm, that resizing goes only to the the menu-buttons and no further.
Beuatato has implemented Dwimenor's improved start-up-script a while ago. It asks once for sudo to set up the ptrace-scope for DT in a seperate shell-window...so with the 0.40.09r0 release of the LLNP it should work out of the box...
Code: [Select]
#!/bin/sh
LNP_DIR=$(dirname "$0")
cd "${LNP_DIR}"
#Check whether Dwarf Therapist can read from DF memory:
dt_capabilities=$(getcap LNP/utilities/dwarf_therapist/DwarfTherapist |cut -f2 -d"=")
dt_capabilities=${dt_capabilities:=0}
if [ ${dt_capabilities} != "cap_sys_ptrace+eip" ]; then
msg="Enable Dwarf Therapist to read from Dwarf Fortress memory"
xterm -e "echo $msg;sudo setcap cap_sys_ptrace=eip LNP/utilities/dwarf_therapist/DwarfTherapist"
fi
#run Lazy Newb Pack
java -jar lazy-newbpack-gui-0.5.3-SNAPSHOT.jarIf you can't use it this way perhaps it's a issue due to your distro? What distro are you using then?
And in DT i never have tried to change the window-size, since i use it always in fullscreen...but can confirm, that resizing goes only to the the menu-buttons and no further.

