News for hackers. Stuff that matters.
Re:So Long, Macbook. Hello Again, Linux by shmerl on Thursday January 10, 2019 @11:42AM (#18875233)
There is wl-copy / wl-paste if you are using Wayland compositor.
Re:So Long, Macbook. Hello Again, Linux by devereaux on Thursday January 10, 2019 @11:51AM (#18875354)
I'm using xorg but very interested in Wayland. My main "fear" with wayland is that my scripts to properly handle things like a uniform copy/paste will stop working

Would you have some links? I am especially interested in ways to handle shortcuts like with autohotkey on Windows: a context dependent remap (ex: pressing a given physical key may send ctrl-tab in an application, but ctrl-pagedown in another if said other application doesn't support remapping shortcuts)

Re:So Long, Macbook. Hello Again, Linux by shmerl on Thursday January 10, 2019 @11:56AM (#18875418)
Handling shortcuts would be compositor specific. Unlike X, the display server part with Wayland is implemented by the compositors. Wayland itself is just the protocol.

KWin for example allows setting various global shortcuts: https://docs.kde.org/trunk5/en/kde-workspace/kcontrol/keys/i...

For wl-copy / wl-paste, see: https://github.com/bugaevc/wl-clipboard

Re:So Long, Macbook. Hello Again, Linux by devereaux on Thursday January 10, 2019 @12:03PM (#18875498)
Would you recommend a given compositor to have something close to LXDE or any other minimal window manager in xorg?

I'm thinking about starting with weston and moving to sway if it doesn't do the job

Re:So Long, Macbook. Hello Again, Linux by shmerl on Thursday January 10, 2019 @12:18PM (#18875663)
Sway is probably an interesting option to try, if you want something minimalistic.