You can cause KSnapshot to exit by using exit, as shown below.
exit
$ dcop ksnapshot-23151 interface exit
$
Would you like to make a comment or contribute an update to this page? Send feedback to the KDE Docs Team
Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team