Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-19-2009, 06:58 AM   #1
LQ Newbie
Registered: Apr 2009
Location: New York
Distribution: Ubuntu 8.10
Posts: 13

Rep: Reputation: 0
Shell script- what have I done?

I have a software with a known bug which has a fix in the FAQ.
The fix says to write the following shell script and the bug is fixed.
I entered the following (as shown in FAQ) into my terminal and viola bug is gone.


But what exactly did I do?
I am not clueless about programming but I am clueless about this....would love to hear detailed answers and perhaps links to where I can learn this better.
Thank you,
Old 04-19-2009, 07:23 AM   #2
David the H.
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,837

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
"export XLIB_SKIP_ARGB_VISUALS=1" sets a shell variable before launching the program. A shell variable is a kind of environment setting. I'm not sure what this one is exactly, but I assume that when your program runs, it checks the variable in order to configure itself correctly.

The variable will only exist for as long as the process runs, and will be erased when the process terminates. There are ways to make shell variables permanent instead of using a launcher script like this, but since this one is only used by that one program, this way should suffice.

Edit: some google hits show that setting XLIB_SKIP_ARGB_VISUALS can help with a variety of programs, such as flashplayer, having trouble when compositing is enabled. Since it says "XLIB", it must be related to xorg.

Last edited by David the H.; 04-19-2009 at 07:29 AM.
Old 04-19-2009, 04:44 PM   #3
Registered: Apr 2009
Posts: 108

Rep: Reputation: 24
By adding the line
directly to your .bashrc file, you would have the parameter always set when you log into your account or open a shell console. Then you could run your eagle application right away.

Last edited by Tinkster; 10-30-2010 at 03:17 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to ssh from a shell script ? For ppl who can write shell scripts. thefountainhead100 Programming 14 10-22-2008 06:24 AM
help with execute mulitple shell script within shell script ufmale Programming 6 09-13-2008 12:21 AM
Alias or shell script to confirm 'exit' commands from a shell rose_bud4201 Programming 2 03-08-2006 02:34 PM
shell script problem, want to use shell script auto update IP~! singying304 Programming 4 11-29-2005 05:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration