GTK Ubuntu Precise packaging success

Rune Kjær Svendsen runesvend at gmail.com
Thu Apr 19 11:33:22 PDT 2012


Thanks for the tip. I originally added the line to the file
/etc/skel/.bashrc which is what the .bashrc file in the /home/ubuntu
directory is created from on the live CD. So the line is present in
~/.bashrc as soon as .bashrc is present in the /home/ubuntu folder on the
live CD.

I just tried adding it to
/etc/X11/Xsession.d/99disable-overlay-scrollbarsinstead, which should
apply the setting system-wide (as described here:
http://askubuntu.com/questions/34214/how-do-i-disable-overlay-scrollbars).
When I echo the value in a terminal it correctly says 0. Now, however, when
I try to run an application, I get the following error (no matter which app
I run):

   (gnome-calculator:4443): Gtk-WARNING **: cannot open display: :0.0
   [1]+  Exit 1                  gnome-calculator

Any ideas?

2012/4/19 <darxus at chaosreigns.com>

> On 04/19, Rune Kjær Svendsen wrote:
> >    I'm trying it out on a live CD now that I've created with the script
> I'm
> >    attaching to this message.
> >    For some reason it's not working. Here are the messages I'm getting
> >    running the programs you've listed in the order you listed them:
> >    [1]http://pastebin.com/xtaKP8nz
> >    weston says the following: [2]http://pastebin.com/rH7nDwvk
> >
> >    All of the programs appear quickly only to crash right after.
>
> >    This is in my .bashrc:
> >    export LIBOVERLAY_SCROLLBAR=0
> >
> >    Not sure if it's related to the live CD somehow. It worked when I just
> >    fired up a clean live CD, installed your GTK backend and ran the stuff
> >    from there.
>
> I'd guess the LIBOVERLAY_SCROLLBAR somehow isn't happening.  Did you start
> a new bash shell, or source your ~/.bashrc after adding that line?
>
> --
> "Begin at the beginning and go on till you come to the end; then stop."
> - Lewis Carrol, Alice in Wonderland
> http://www.ChaosReigns.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20120419/a4a2fb49/attachment-0001.htm>


More information about the wayland-devel mailing list