Pretty cool Darxus! Works as well on a Precise live CD (USB stick). I only had to replace the second "apt-get upgrade" with "apt-get dist-upgrade". Then I went to a VT and restarted lightdm with:<br>sudo service lightdm restart<br>
and ran:<br>unity --reset<br>on the same VT<br><br>Back at VT 7 unity had restarted and weston ran fine (got some errors like "Internal error: Could not resolve keysym SunProps/SunFront/SunOpen" though). The programs you mentioned all ran fine initially, but it all went downhill when I tried running weston from a VT to get it in full screen mode (yeah yeah, total hubris, I know). Now some programs start, but crash when I mouse over them, and the more complex programs (like... anything but calculator) don't start at all.<br>
<br>Would there be a way to get weston to run from a VT? That is, in full screen mode?<br><br>/runeks<br><br><div class="gmail_quote">On Wed, Apr 18, 2012 at 3:07 PM, <span dir="ltr"><<a href="mailto:darxus@chaosreigns.com">darxus@chaosreigns.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 04/18, <a href="mailto:darxus@chaosreigns.com">darxus@chaosreigns.com</a> wrote:<br>
> When I tried using the Ubuntu GTK+ 3.4.1 source and only<br>
> applying the patches to default to X11 output before Wayland<br>
> (<a href="https://bugzilla.gnome.org/show_bug.cgi?id=674102" target="_blank">https://bugzilla.gnome.org/show_bug.cgi?id=674102</a>) and remove the<br>
> cairo-gl dependency (<a href="https://bugzilla.gnome.org/show_bug.cgi?id=672361" target="_blank">https://bugzilla.gnome.org/show_bug.cgi?id=672361</a>),<br>
> all applications segfault when I attempt to run them through Wayland.<br>
<br>
> That PPA is here: <a href="https://launchpad.net/%7Edarxus/+archive/wayland-gtk" target="_blank">https://launchpad.net/~darxus/+archive/wayland-gtk</a><br>
<br>
It turns out this one works fine, after you put<br>
"export LIBOVERLAY_SCROLLBAR=0" in your ~/.bashrc .<br>
Thanks to seb128.<br>
<br>
These packages should be quite clean, since they're just the Ubuntu<br>
packages plus two patch sets (default to X before Wayland, remove cairo-gl<br>
dependency) and adding the two build flags to enable the Wayland backend<br>
(without disabling the X backend), both pulled from GTK git master.<br>
They're also not showing the graphical glitching I was getting with the<br>
packages based on GTK git master.<br>
<br>
Bonus, GTK themes are working now, so GTK applications are looking much<br>
nicer in Wayland.<br>
<br>
<br>
Keep in mind it's entirely possible this will break stuff. But using it<br>
works something like this:<br>
<br>
<br>
Install Ubuntu Precise.<br>
<br>
echo "export LIBOVERLAY_SCROLLBAR=0" >> ~/.bashrc<br>
sudo apt-get install ppa-purge<br>
sudo apt-get update && sudo apt-get upgrade<br>
sudo apt-add-repository ppa:darxus/wayland-gtk<br>
sudo apt-get update && sudo apt-get upgrade # should only upgrade gtk packages<br>
<br>
Reboot.<br>
<br>
In one gnome-terminal, run:<br>
<br>
export XDG_RUNTIME_DIR=/tmp # Put in ~/.bashrc?<br>
weston<br>
<br>
In another gnome-terminal, run:<br>
<br>
export XDG_RUNTIME_DIR=/tmp<br>
export GDK_BACKEND=wayland<br>
gnome-calculator &<br>
gnome-terminal &<br>
file-roller &<br>
charmap &<br>
gnome-sudoku &<br>
gwibber &<br>
transmission-gtk &<br>
brasero &<br>
gnome-sound-recorder &<br>
baobab &<br>
gedit &<br>
rhythmbox &<br>
gnome-system-monitor &<br>
<br>
<br>
To revert all changes:<br>
<br>
sudo ppa-purge ppa:darxus/wayland-gtk # Nice 'n tidy.<br>
<br>
<br>
Please do let me know what GTK applications you find do and don't work, so<br>
I can update <a href="http://www.chaosreigns.com/wayland/works/" target="_blank">http://www.chaosreigns.com/wayland/works/</a><br>
<br>
And, of course, let me know how the packages work.<br>
<br>
<br>
I have it on good authority that this stuff will never make it into Ubuntu<br>
Precise, not even as an SRU (Stable Release Update). But I can't imagine<br>
why it wouldn't make the October Ubuntu release.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
"Begin at the beginning and go on till you come to the end; then stop."<br>
- Lewis Carrol, Alice in Wonderland<br>
<a href="http://www.ChaosReigns.com" target="_blank">http://www.ChaosReigns.com</a><br>
_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</font></span></blockquote></div><br>