The problem is this is a service not an actual program, so I don't know where to start.
Asking on IRC I now know that /usr/share/dbus-1/services/indicator-datetime.service is the file that actually launches the service.
The original contents were:
[D-BUS Service] Name=com.canonical.indicator.datetime Exec=/usr/lib/indicator-datetime/indicator-datetime-service
I modified it to:
[D-BUS Service] Name=com.canonical.indicator.datetime Exec=G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind -v --tool=memcheck --leak-check=full --num-callers=40 --log-file=/home/alex-mayorga/valgrind.log /usr/lib/indicator-datetime/indicator-datetime-service
Then killed the leaking service but then it failed to restart, pretty sure I'm doing it wrong but I don't know what exactly =(
The problem is this is a service not an actual program, so I don't know where to start.
Asking on IRC I now know that /usr/share/ dbus-1/ services/ indicator- datetime. service is the file that actually launches the service.
The original contents were:
[D-BUS Service] canonical. indicator. datetime lib/indicator- datetime/ indicator- datetime- service
Name=com.
Exec=/usr/
I modified it to:
[D-BUS Service] canonical. indicator. datetime SLICE=always- malloc G_DEBUG=gc-friendly valgrind -v --tool=memcheck --leak-check=full --num-callers=40 --log-file= /home/alex- mayorga/ valgrind. log /usr/lib/ indicator- datetime/ indicator- datetime- service
Name=com.
Exec=G_
Then killed the leaking service but then it failed to restart, pretty sure I'm doing it wrong but I don't know what exactly =(