Sublime Forum

Linux Cut&Paste Problem (XFCE)

#1

Hi,

on Linux running XFCE and a current Sublime it is not possible to use the cut&paste function. The text ist cut, but actually not transferred to the clipboard. Every second try will work, that means a Cut - Undo - Cut - Paste or a Copy - Cut - Paste works. Nevertheless, this is not a viable solution and prevents people from using Sublime on Linux.

Bug is well known.

A workaround is to kill the process xfce4-settings-helper. Then Sublimes cut&paste function works as desired, but unfortunately all the keyboard shortcuts of XFCE are gone. Again a not viable workaround.

Some maybe new information:
Eclispe 3.% had the same problem, see the bugzilla link here: bugs.eclipse.org/bugs/show_bug.cgi?id=153809
It was solved with 3.6 and later. That means after long discussion it was recognized, that this is not a problem of XFCE, but of the applications (Eclipse or Sublime) clipboard handling.

I guess you will find more information within the Eclipse bug description.

Hope to see that issue solved, without it, currently Sublime is not useable.

Thanks,
Michael

0 Likes

#2

I think this is due to this XFCE bug:

bugzilla.xfce.org/show_bug.cgi?id=6521

I was able to fix the issue (temporarily) in sublime by running:

pkill -f xfsettingsd

to kill the xfce settings daemon, which poorly intercepts clipboard events.

I’m not entirely sure what the side-effects of doing this are, but nothing too bad seems to have happened yet.

0 Likes

Problems with cut shortcut... may be bug
#3

Sorry, This seems not to have been true. Since posting this, the issue has returned and xfsettingsd may be causing it, but killing it properly is harder than seems.

My current attempt is to install parcellite, a clipboard manager. So far this is preventing the problem from happening

0 Likes

#4

I think I have nailed it.
For the XFCE users: just close your Clipman applet and retry. It should work flawlessly.

I think it’s some sort of run condition on the clipboard management between the applet and the editor.

0 Likes

#5

Simply turning off clipman works for me too!

0 Likes