I have this template which captures clipboard content in file. It works fine when emacsclient is running, but if no client is running then server adds empty entry. (add-to-list 'org-capture-templates        '("x" "Clips" entry (file+headline "/home/user/desktop/clips" "Clips")          "** %x" :immediate-finish t :prepend t)) *System:* 5.10.16-arch1-1 *Desktop Environment:* xfce *GNU Emacs 27.1*