instant-reference icon indicating copy to clipboard operation
instant-reference copied to clipboard

Setting this up on Fedora

Open Sinthoras7 opened this issue 1 year ago • 1 comments

I tried to set this up on Fedora 36 and the copy-references does not work.

I followed your instructions and had issues at the following points:

  1. exiftool does not exist, but there is perl-Image-ExifTool.noarch, which provides the command exiftool.
  2. x11-utils does not exist. I ignored this.
  3. apparmor-utils does not exist. Thus I also ignored this.

The add to library works, after setting the variables correctly on Firefox.

The copy referencing not. When pressing my shortcut (inside evince) nothing happens.

Executing sleep 2; ./copy-reference.js and going to the pdf-viewer yields:

node:internal/errors:464 ErrorCaptureStackTrace(err); ^

Error: Command failed with ENOENT: xdotool getactivewindow getwindowname spawn xdotool ENOENT at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19) at onErrorNT (node:internal/child_process:478:16) at processTicksAndRejections (node:internal/process/task_queues:83:21) { errno: -2, code: 'ENOENT', syscall: 'spawn xdotool', path: 'xdotool', spawnargs: [ 'getactivewindow', 'getwindowname' ], originalMessage: 'spawn xdotool ENOENT', shortMessage: 'Command failed with ENOENT: xdotool getactivewindow getwindowname\n' + 'spawn xdotool ENOENT', command: 'xdotool getactivewindow getwindowname', escapedCommand: 'xdotool getactivewindow getwindowname', exitCode: undefined, signal: undefined, signalDescription: undefined, stdout: '', stderr: '', failed: true, timedOut: false, isCanceled: false, killed: false }

I have no idea, what happened there. What is the problem?

Sinthoras7 avatar Sep 06 '22 18:09 Sinthoras7