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.<br>
<br>I just tried adding it to <code>/etc/X11/Xsession.d/99disable-overlay-scrollbars</code> instead, which should apply the setting system-wide (as described here: <a href="http://askubuntu.com/questions/34214/how-do-i-disable-overlay-scrollbars" target="_blank">http://askubuntu.com/questions/34214/how-do-i-disable-overlay-scrollbars</a>).
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):<br>
<br> (gnome-calculator:4443): Gtk-WARNING **: cannot open display: :0.0<br> [1]+ Exit 1 gnome-calculator<br><br>Any ideas?<br><br><div class="gmail_quote">2012/4/19 <span dir="ltr"><<a href="mailto:darxus@chaosreigns.com">darxus@chaosreigns.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 04/19, Rune Kjær Svendsen wrote:<br>
> I'm trying it out on a live CD now that I've created with the script I'm<br>
> attaching to this message.<br>
> For some reason it's not working. Here are the messages I'm getting<br>
> running the programs you've listed in the order you listed them:<br>
</div>> [1]<a href="http://pastebin.com/xtaKP8nz" target="_blank">http://pastebin.com/xtaKP8nz</a><br>
> weston says the following: [2]<a href="http://pastebin.com/rH7nDwvk" target="_blank">http://pastebin.com/rH7nDwvk</a><br>
<div class="im">><br>
> All of the programs appear quickly only to crash right after.<br>
<br>
</div><div class="im">> This is in my .bashrc:<br>
> export LIBOVERLAY_SCROLLBAR=0<br>
><br>
> Not sure if it's related to the live CD somehow. It worked when I just<br>
> fired up a clean live CD, installed your GTK backend and ran the stuff<br>
> from there.<br>
<br>
</div>I'd guess the LIBOVERLAY_SCROLLBAR somehow isn't happening. Did you start<br>
a new bash shell, or source your ~/.bashrc after adding that line?<br>
<div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br>