copy-as-rtf icon indicating copy to clipboard operation
copy-as-rtf copied to clipboard

No way to get it working under linux

Open evazzoler opened this issue 8 years ago • 9 comments

I've tried with python 2.7 and with python 3.4 installed (with path correctly set) on both Linux Ubuntu and Linux Debian. It don'd copy anything to the clipboard... I get the last CTRL+C copied text. Why? Thank you!

evazzoler avatar Mar 14 '16 11:03 evazzoler

Same problem here. Does anyone knows why?

racosa avatar Jun 28 '16 03:06 racosa

seems to do absolutely nothing here.. running fedora 24, python 2.7

Mercotui avatar Aug 22 '16 13:08 Mercotui

Same problem with Mac OS and python 2.7

i22bonij avatar Sep 10 '16 22:09 i22bonij

Same with Windows 10 and Python 3.5. Path variable OK.

siiick avatar Sep 21 '16 07:09 siiick

@lucasmazza Any idea on this one? I'd love to use this, but face a similar issue with nothing happening on linux (no error cast in the JS console either).

haz avatar Nov 15 '16 18:11 haz

I installed xclip and pygmentize and now it's work and have a lot of rtf in clipboard ...

gpad avatar Dec 07 '16 15:12 gpad

Hrmz...the code copied just pastes as markup wherever I try (libre office, google docs, etc). It ends up looking like this:

{\rtf1\ansi\uc0\deff0{\fonttbl{\f0\fmodern\fprq1\fcharset0 Monaco;}}{\colortbl;\red0\green0\blue0;\red78\green154\blue6;\red0\green0\blue207;\red143\green89\blue2;\red245\green121\blue0;\red32\green74\blue135;\red128\green0\blue128;\red206\green92\blue0;\red248\green248\blue248;\red0\green160\blue0;\red52\green101\blue164;\red164\green0\blue0;\red92\green53\blue204;\red239\green41\blue41;\red196\green160\blue0;\red0\green0\blue128;\red204\green0\blue0;}\f0 \fs32{\cf1\b (}{\cf6 defun} {\cf1 testcctp} {\cf1\b (}{\cf1\b )}\par
  {\cf1\b (}{\cf1 parse-flatzinc} {\cf2 "foo/cctp.fzn"}{\cf1\b )}{\cf1\b )}\par
}

@gpad Have you been able to paste it elsewhere successfully?

haz avatar Dec 07 '16 19:12 haz

@haz no, I have the same problem. At the end I give up and decided to use the old command line:

pygmentize -l json -f html -O noclasses=true test.json | xclip -selection clipboard -t text/html

gpad avatar Dec 12 '16 10:12 gpad

Same problem on Ubuntu 16.10, Atom 1.10.2. By the way, can anyone tell me how to check atom logs for errors?

midthegap avatar Dec 15 '16 15:12 midthegap