hellerve / e

A dead simple editor
The Unlicense
451 stars 23 forks source link

Copy&Paste is not supported on Linux yet #3

Open hellerve opened 7 years ago

hellerve commented 7 years ago

This needs to be fixed, but I currently only develop on OS X. Any help would be appreciated.

Cheers

ghost commented 7 years ago

I can take a look into this over the weekend if you still want help.

hellerve commented 7 years ago

That would be a great! A word of caution, though: this apparently is handled by the distro and there is no uniform Linux-interface for this. We’ll probably have to go through it one by one. I’m not positive who should be/is responsible for this (i.e. the distro or the desktop environment or something else).

ghost commented 7 years ago

I understand, I had to do something similar (filthy shameful hack) for an application at a former company and there wasn't a one-size fits all solution.

hellerve commented 7 years ago

Well, the copy-paste mechanism is a filthy shameful hack as it currently stands anyway, so hack away!

ghost commented 7 years ago

I'm on Linux so I haven't had access to copy paste. Are you thinking of copy paste within the editor like with Vim's visual mode or copy paste at the actual OS level with a clipboard-like buffer like exists in e for Windows/OSX?

hellerve commented 7 years ago

On the OS level. In Vim I’ve always configured my paste buffers to also be the OS’s because it’s just so handy. In e I want to make this the default.

ghost commented 7 years ago

Having it be the default would probably be best practice. Maybe make it a configurable for all those wacky hacky situations? :laughing:

hellerve commented 7 years ago

I’m not sure how we could achieve making that configurable, but I guess that would be possible. I would still like to make it work with first-class support on as many systems as possible first.

ghost commented 7 years ago

I've finally started working on copy/paste Linux, at the moment GNOME is only implemented (I use the term implemented loosely here) but KDE is on its way, functionality. If anyone with GNOME would like to give it a try (I don't trust myself) please check out my fork. @hellerve, and anyone else interested, apart from KDE/GNOME, do we (the e community 😂 ) have any other DE we'd like to get the ball rolling on ASAP? Maybe we could talk at some point about project goals, milestones etc (to-dos and all that).

hellerve commented 7 years ago

Thanks for this!

As for project goals and milestones, there are a bunch of bugs that plague me right now (see these issues). For support of other platforms, I’d like to give away at least some of the responsibilities, because I really mostly use OS X on a day-to-day basis, apart from a few machines I ssh into (and they don’t have e installed anyway 😢 ). Y’all can set your own milestones there. For the UTF-8/text wrangling bugs: I’d largely see them as my responsibility, because I assume they’re reproducible on any platform.

And let me take this opportunity and say: thanks for the work you put into this little project of mine! I never expected e to gain traction and, frankly, am still a little overwhelmed right now. I’m grateful for every bit of support I get, though!

ghost commented 7 years ago

Well, thanks for creating a project with such potential. Once I'm done implementing the foundational DE support for this copy/paste functionality in Linux, I'll re-evaluate and see where else I can help out (I'm having fun right now with this part as it's good exercise in getting used to e) once I'm done here.

hellerve commented 7 years ago

Accidently closed while merging #32. This is not yet generally fixed.