You are not logged in.

#1 2015-01-08 09:34:00

noarch
Member
Registered: 2015-01-06
Posts: 17

Enlightenment: Unable to 'copy' text from terminology

Hi All,

I'm using 'terminology' as a shell under Enlightenment. I can't seem to 'copy' any text from terminology. I've tried defining custom keybindings plus the default keybindings Alt+w, Ctrl+Shift+c etc  but none of them work. The 'copy' works with every other application including xterm, where the selected text automatically gets copied to primary buffer.

Interestingly I'm able to 'paste' text into terminology window. So ctrl+c from browser and ctrl+shift+v would work on "terminology". I've found some 'copy/paste' related bugs for Enlightenment, EFL applications https://github.com/synergy/synergy/issues/4021  https://bugs.kde.org/show_bug.cgi?id=316018 but they are not directly related to my problem.

Any ideas how to debug this further? I'm loving terminology otherwise, so would hate to change my shell emulator.

Regards

Offline

#2 2015-01-08 10:33:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Enlightenment: Unable to 'copy' text from terminology

I'm selecting with my mouse to copy and using middle mouse button to paste. I'm using neither synergy nor kde.
Works for me on my 32-bit Arch with [testing] repos enabled.

Offline

#3 2015-01-08 16:00:28

noarch
Member
Registered: 2015-01-06
Posts: 17

Re: Enlightenment: Unable to 'copy' text from terminology

Instead of launching from menu, I launched terminology from another xterm shell. So now, whenever I select any text in terminology, the following error appears in xterm.

CRI<1278>:ecore_evas lib/ecore_evas/ecore_evas.c:203 _ecore_evas_interface_get() Ecore_Evas 0xac5940 (engine: software_x11) does not have interface 'wayland'
ERR<1278>: lib/ecore_evas/ecore_evas.c:4033 ecore_evas_wayland_window_get() safety check failed: iface == NULL

My laptop is running on x86_64 architecture. And ofcourse no synergy or kde either.

Offline

#4 2015-01-08 16:31:37

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Enlightenment: Unable to 'copy' text from terminology

I get that as well, but ctrl-shift-c still copies just fine. No idea how to debug it, your best bet would probably be to ask in #e on freenode.

Offline

#5 2015-01-09 08:19:14

noarch
Member
Registered: 2015-01-06
Posts: 17

Re: Enlightenment: Unable to 'copy' text from terminology

I tried to build terminology from AUR package, but I think makepkg is trying to access directories which onnly have root permissions.

# makepkg -s
.......
.......
make[5]: Entering directory '/home/cheema/experiments/terminology-git/src/terminology/data/themes/nyanology'
  EDJ      nyanology.edj
edje_cc: Critical. Unable to open temp file "/run/user/0/edje_cc.edc-tmp-GWwE4a" for pre-processor.
Makefile:680: recipe for target 'nyanology.edj' failed
make[5]: *** [nyanology.edj] Error 255
......
......

Is there a work around?

Last edited by noarch (2015-01-09 08:20:02)

Offline

#6 2015-01-09 08:27:29

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Enlightenment: Unable to 'copy' text from terminology

What is the output of `echo $XDG_RUNTIME_DIR`? Are you booting with systemd?

Offline

#7 2015-01-09 08:40:13

noarch
Member
Registered: 2015-01-06
Posts: 17

Re: Enlightenment: Unable to 'copy' text from terminology

Yep, I'm using systemd. However, to run makepkg, I'm using 'su' to log into non-privileged user.

root@arch:~# echo $XDG_RUNTIME_DIR
/run/user/0
root@arch:~# su cheema
[cheema@arch root]$ echo $XDG_RUNTIME_DIR
/run/user/0

Offline

#8 2015-01-09 08:43:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Enlightenment: Unable to 'copy' text from terminology

ah, so that's why it's getting root's runtime dir. Doesn't look like that's going to work in this case.

Offline

#9 2015-01-09 08:46:30

noarch
Member
Registered: 2015-01-06
Posts: 17

Re: Enlightenment: Unable to 'copy' text from terminology

Thanks for pointing out. I built a couple of other AUR packages and never had this issue. Newbie here wink

Offline

#10 2015-01-09 08:51:03

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Enlightenment: Unable to 'copy' text from terminology

And it should work in almost all cases. It just so happens that edje_cc uses XDG_RUNTIME_DIR for it's temp files, so it needs access. You could even set this variable temporarily to something else if you wanted and it should then work.

Last edited by Scimmia (2015-01-09 08:54:15)

Offline

#11 2015-01-09 08:56:21

noarch
Member
Registered: 2015-01-06
Posts: 17

Re: Enlightenment: Unable to 'copy' text from terminology

I was able to build, but no luck with terminology. Same copy-paste issue. Moving to guake now.

Thanks for all the help.

Last edited by noarch (2015-01-09 08:56:42)

Offline

#12 2015-01-09 17:02:04

mike_r
Member
Registered: 2009-01-22
Posts: 114

Re: Enlightenment: Unable to 'copy' text from terminology

Maybe glaringly obvious, but have you checked the keybindings? Right click in terminology, then click "Settings", then "Keys". Any interference from the main enlightenment key bindings (main Settings panel -> Input -> Key Bindings)?


Linux User #353 - SLS -> Slackware -> Red Hat -> Mandrake -> Fedora -> Arch

Offline

#13 2015-01-09 21:16:46

noarch
Member
Registered: 2015-01-06
Posts: 17

Re: Enlightenment: Unable to 'copy' text from terminology

mike,
I mentioned in the first post that I tried default and custom keybindings.

Offline

#14 2015-01-12 23:09:46

mike_r
Member
Registered: 2009-01-22
Posts: 114

Re: Enlightenment: Unable to 'copy' text from terminology

Oops, sorry - I guess I read that sentence too quickly. This is odd; I'm running Arch/e19/terminology on three different machines and have no such issues - terminology continues to be stellar. I do wonder if there is still some sort of permission issue - do you run as root normally? I wonder if there is a pipe somewhere that needs a chmod. Have you tried it on a completely fresh, unprivileged account? Starting from scratch may uncover something interesting. Anyway, I'm rapidly getting out of my depth; good luck if you give it another shot.

Edit: I can't spell.

Last edited by mike_r (2015-01-12 23:11:40)


Linux User #353 - SLS -> Slackware -> Red Hat -> Mandrake -> Fedora -> Arch

Offline

Board footer

Powered by FluxBB