[PATCH] Wayland X server uses xwayand.conf instead of xorg.conf
darxus at chaosreigns.com
darxus at chaosreigns.com
Fri Aug 31 11:57:05 PDT 2012
xserver has a -conf argument you can use to point it at a different
xorg.conf. Might be useful if weston / weston-launch had an ability to
pass this argument to xserver.
An old post of mine, fighting with this before I was having xserver
launched by weston:
http://lists.freedesktop.org/archives/wayland-devel/2012-March/002768.html
On 08/31, Bill Spitzak wrote:
> (sorry for duplicate I forgot to do reply-all)
>
> Yes the reason I need an xorg.conf is that I need the wlshm driver.
> According to the documentation the other drivers work automatically,
> so if it is possible to detect this then there should be no need for
> a file.
>
> However this does not fix the problem this patch is addressing. Even
> if *no* xorg.conf file is needed, it is impossible to tell xwayland
> to not use an existing xorg.conf file, such as one needed to run
> legacy X on the same machine. The text in this then screws up
> xwayland and it does not run.
>
> An alternative to my patch is to change it to *never* read the
> config file. However this seems unsafe, for instance currenlty the
> wlshm driver cannot be made to work. Also even if all the
> driver/screen problems are fixed, it appears xorg.conf files are
> needed to fix events for Xlib programs. In one machine I have this
> is the only way to get two different mice to have different button
> assignments.
>
> Tiago Vignatti wrote:
> >Hi,
> >
> >On 08/30/2012 07:23 AM, spitzak at gmail.com wrote:
> >>From: Bill Spitzak <spitzak at gmail.com>
> >>
> >>This allows X applications to be run on wayland without having to
> >>delete an xorg.conf file that is required to run the normal X server.
> >
> >Please correct me if I'm wrong, but the only reason I'm seeing for
> >having a separate config file on Xwayland is to set a different
> >video driver, in particular the wlshm.
> >
> >In that case a reasonable solution is to make Xwayland guess
> >whether a fallback is needed and automatically sets it internally.
> >We discussed awhile ago it and maybe you want to enhance the patch
> >I started:
> >http://lists.freedesktop.org/archives/wayland-devel/2012-May/003320.html
> >
> >let me know if you need some help.
> >
> > Tiago
> >_______________________________________________
> >wayland-devel mailing list
> >wayland-devel at lists.freedesktop.org
> >http://lists.freedesktop.org/mailman/listinfo/wayland-devel
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
>
--
"...pain is a fundamental human experience..."
- http://www.stumptuous.com/cms/displayarticle.php?aid=115
http://www.ChaosReigns.com
More information about the wayland-devel
mailing list