5 ms·
> Please create the fake clipboard file somewhere in the user's home directory. /tmp works perfectly fine for this purpose: local fake_clipboard=$(mktemp)
by sedachv 8y ago
> Please create the fake clipboard file somewhere in the user's home directory.
/tmp works perfectly fine for this purpose:
local fake_clipboard=$(mktemp)
See mktemp(1), mkstemp(3), and mkdtemp(3). Please stop spreading these rumors that mislead people into writing programs that leave trash in my home directory.
The real issue with that code is the fact that Clipper is configured to listen on a TCP port instead of a socket file (placed in a /tmp subdirectory created by mktemp -d, of course).