# X11, MIDI and other Linux improvements

**URL:** <https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945>\
**Category:** Linux\
**Created:** [February 13, 2017, 5:44pm UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945 "2017-02-13T17:44:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ftonello](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ftonello/32/149_2.png) [@ftonello](https://forum.juce.com/u/ftonello)\
**Post date:** [February 13, 2017, 5:44pm UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/1 "2017-02-13T17:44:27Z")

</div>

Hello everyone,

I am happy to announce that we have pushed to develop many Linux improvements to JUCE. Here is a brief description about the changes:

- Several ALSA Sequencer MIDI improvements;
- Removed X11 dependency from JUCE\_events module;
- Several bug fixes.

If you want to know more, please check the [commit](https://github.com/julianstorer/JUCE/commit/c2100022ccf0a0d76fab07ddd432d0680946744e).

We invite you all to try out and test it. If you find any bugs, please don’t hesitate to report.

Enjoy!

---

<div class="post-metadata">

**Author:** ![buncker](https://avatars.discourse-cdn.com/v4/letter/b/4af34b/32.png) [@buncker](https://forum.juce.com/u/buncker)\
**Post date:** [February 14, 2017, 9:50pm UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/2 "2017-02-14T21:50:13Z")

</div>

Sorry for repeating this =)  
But may be you have some plans for wayland support and for multy-touch support?  
That would be cool! =)

TI sitara linux supports only wayland =(

---

<div class="post-metadata">

**Author:** ![ftonello](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ftonello/32/149_2.png) [@ftonello](https://forum.juce.com/u/ftonello)\
**Post date:** [March 8, 2017, 11:00am UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/3 "2017-03-08T11:00:00Z")

</div>

We definitely want to support wayland. It is in our road-map, but I can’t promise any dates.

---

<div class="post-metadata">

**Author:** ![buncker](https://avatars.discourse-cdn.com/v4/letter/b/4af34b/32.png) [@buncker](https://forum.juce.com/u/buncker)\
**Post date:** [August 29, 2017, 3:57pm UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/4 "2017-08-29T15:57:13Z")

</div>

I know that any estimates are pain, but probably you can tell is it possible to get multi-touch and wayland support in near future?  
TI does not support X11 in their Sitara Linux SDK =(

---

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [August 30, 2017, 10:33am UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/5 "2017-08-30T10:33:46Z")

</div>

Sorry, but we don’t have any immediate plans to support wayland.

---

<div class="post-metadata">

**Author:** ![myhrman](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@myhrman](https://forum.juce.com/u/myhrman)\
**Post date:** [August 30, 2017, 2:00pm UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/6 "2017-08-30T14:00:42Z")

</div>

How about multi-touch support for X11?

JUCE framework seems prepared since we have it on other platforms, so hopefully not a complicated task?

---

<div class="post-metadata">

**Author:** ![adamwilson](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/adamwilson/32/1387_2.png) [@adamwilson](https://forum.juce.com/u/adamwilson)\
**Post date:** [August 30, 2017, 8:51pm UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/7 "2017-08-30T20:51:24Z")

</div>

Wayland support would be great…

---

<div class="post-metadata">

**Author:** ![ftonello](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ftonello/32/149_2.png) [@ftonello](https://forum.juce.com/u/ftonello)\
**Post date:** [September 1, 2017, 6:57pm UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/8 "2017-09-01T18:57:30Z")

</div>

Multi touch support on X11 requires support for XInput2. Or JUCE could go more generic and support libinput, but then it won’t work with other X11 apps. So I guess for embedded this shouldn’t be a problem. It’s definitely a fun hacking project… 🙂

---

<div class="post-metadata">

**Author:** ![MBO](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mbo/32/5045_2.png) [@MBO](https://forum.juce.com/u/MBO)\
**Post date:** [September 3, 2017, 10:03pm UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/9 "2017-09-03T22:03:22Z")

</div>

> [@myhrman](#):
>
> How about multi-touch support for X11?

May I also ask if there are plans to implement it in the near future?

---

<div class="post-metadata">

**Author:** ![fr810](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/fr810/32/841_2.png) [@fr810](https://forum.juce.com/u/fr810)\
**Post date:** [September 6, 2017, 11:18am UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/10 "2017-09-06T11:18:57Z")

</div>

It’s something we are aware of but we have not scheduled any work on this.

---

<div class="post-metadata">

**Author:** ![buncker](https://avatars.discourse-cdn.com/v4/letter/b/4af34b/32.png) [@buncker](https://forum.juce.com/u/buncker)\
**Post date:** [March 22, 2018, 5:19pm UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/11 "2018-03-22T17:19:38Z")

</div>

May we expect the wayland / multi-touch support or there is no any hope for that?

---

<div class="post-metadata">

**Author:** ![blegoff](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/blegoff/32/10583_2.png) [@blegoff](https://forum.juce.com/u/blegoff)\
**Post date:** [March 23, 2018, 4:26pm UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/12 "2018-03-23T16:26:07Z")

</div>

Hey guys,

Thanks for the update.  
What about the compatibility with the VST3 SDK ?

Baptiste

---

<div class="post-metadata">

**Author:** ![buncker](https://avatars.discourse-cdn.com/v4/letter/b/4af34b/32.png) [@buncker](https://forum.juce.com/u/buncker)\
**Post date:** [July 17, 2019, 6:35pm UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/13 "2019-07-17T18:35:19Z")

</div>

Hello!  
Are there any plans for wayland/multi-touch support?

---

<div class="post-metadata">

**Author:** ![ed95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ed95/32/7635_2.png) [@ed95](https://forum.juce.com/u/ed95)\
**Post date:** [July 18, 2019, 7:58am UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/14 "2019-07-18T07:58:11Z")

</div>

We’ll need to move towards supporting Wayland eventually but it’s not on our immediate roadmap.

---

<div class="post-metadata">

**Author:** ![buncker](https://avatars.discourse-cdn.com/v4/letter/b/4af34b/32.png) [@buncker](https://forum.juce.com/u/buncker)\
**Post date:** [July 18, 2019, 3:54pm UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/15 "2019-07-18T15:54:14Z")

</div>

That is very sad =\ waiting for more than 2 years for these features…

---

<div class="post-metadata">

**Author:** ![buncker](https://avatars.discourse-cdn.com/v4/letter/b/4af34b/32.png) [@buncker](https://forum.juce.com/u/buncker)\
**Post date:** [May 13, 2020, 7:14pm UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/16 "2020-05-13T19:14:34Z")

</div>

Soooo, sorry to repeat it again, but can we please have wayland support?

---

<div class="post-metadata">

**Author:** ![jrlanglois](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jrlanglois/32/21372_2.png) [@jrlanglois](https://forum.juce.com/u/jrlanglois)\
**Post date:** [May 15, 2020, 1:38pm UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/17 "2020-05-15T13:38:47Z")

</div>

Just my two-cents here:

I think Wayland support would be totally cool and would pave way for support on some rather interesting embedded devices (eg: STMicro, Broadcom). I would know first hand as I did various proofs of concepts of porting JUCE to some special hardware at an old workplace, although adoption fell through for various reasons.

With the way JUCE is written it makes it easier to implement Wayland, and there aren’t too many massive challenges in hooking the display, input servers… I just think the overall cost to benefit ratio is low, and this is not just from a support overhead view.

For one, there is difficulty in playing nicely with the future ideas the team has; iirc, there was expressed interest on the forum in dropping GL for Vulkan+Metal, which means Wayland will never be supported (because it only supports EGL, and JUCE’s GL support is already minimal imho).

Maybe more importantly, the more popular plugin formats that JUCE supports (eg: VST3) would have to be totally rejigged/rewritten to play nicely with Wayland (which is probably optimistic). As of now, on the `juce6` branch, X11 is their basis on Linux.

---

<div class="post-metadata">

**Author:** ![ed95](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ed95/32/7635_2.png) [@ed95](https://forum.juce.com/u/ed95)\
**Post date:** [May 15, 2020, 1:52pm UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/18 "2020-05-15T13:52:39Z")

</div>

Part of the recent Linux changes on the `juce6` branch was decoupling the X11-specific code from the `ComponentPeer` code. There’s now a single `LinuxComponentPeer` class in `juce_linux_Windowing.cpp` which takes a templated `WindowHandleType` and all of the X11 code lives in `native/x11`. Theoretically it should be fairly straightforward in the future to add support for another windowing system like Wayland, but it’s not something that will happen in the short-term.

> the more popular plugin formats that JUCE supports (eg: VST3) would have to be totally rejigged/rewritten to play nicely with Wayland

The VST3 SDK only supports XEmbed for embedding plug-in windows so I’m not sure we’d ever be able to move away from X11 there.

---

<div class="post-metadata">

**Author:** ![jrlanglois](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jrlanglois/32/21372_2.png) [@jrlanglois](https://forum.juce.com/u/jrlanglois)\
**Post date:** [May 15, 2020, 2:31pm UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/19 "2020-05-15T14:31:21Z")

</div>

Cool, thanks for clarifying!

---

<div class="post-metadata">

**Author:** ![buncker](https://avatars.discourse-cdn.com/v4/letter/b/4af34b/32.png) [@buncker](https://forum.juce.com/u/buncker)\
**Post date:** [May 15, 2020, 8:54pm UTC](https://forum.juce.com/t/x11-midi-and-other-linux-improvements/20945/20 "2020-05-15T20:54:17Z")

</div>

So, taking in account the same answer repeating from 2017 year, this means it will never happen?  
Sorry to sound rough - but it always better to know the truth than wait for something that will never happen, especially for a commercial framework.
