LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 08-04-2002, 04:34 PM   #1
UB_KMA
Member
 
Registered: Jul 2002
Location: Austin,TX
Distribution: A mash of SourceMage, Lunar, Slack, Manny, and RedHat all smushed together
Posts: 94

Rep: Reputation: 15
Open GL env.variables


could someone give me a hint as to what file I set the enviroment variables for open GL in? My best guess was my XFree86 configuration file, however, this doesn't seem to be the right place. 'Scuse my ignhoramiousness (or am I just lazy today?).
Thanks!!!!
 
Old 08-04-2002, 05:41 PM   #2
UB_KMA
Member
 
Registered: Jul 2002
Location: Austin,TX
Distribution: A mash of SourceMage, Lunar, Slack, Manny, and RedHat all smushed together
Posts: 94

Original Poster
Rep: Reputation: 15
Umkay, I got it...
In bash:
$export __WHATEVER_ENVARIABLE_YAWANNA_SET "value"

Or in the specific case of OpenGL, say, to set your FSAA level (which is what I wanted to do) -- this is specific to GForce2 -- awww, ok, here is the whole "menu" entry command to run software under wine or winex (say, a program that wants to be in it's own directory to execute so that it can find it's configuration files as many Windows games like, when run under wine or winex).

export __GL_FSAA_MODE=4;cd "path to your executable";winex MyGame.exe -"gameoptions"

This'll run ya with an FSAA of 2x2. Actually putting the path in "quotes" allows space characters to be recognized by bash in the pathname (Windows doesn't mind spaces, but Linux hates 'em).

Well, that's my contribution to the newbie knowledge base for the day..


Last edited by UB_KMA; 08-04-2002 at 06:23 PM.
 
  


Reply


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 use multiple paths in configure env variables radam Linux - Software 4 07-17-2009 02:18 PM
cron and shell env variables lt_wentoncha Suse/Novell 5 07-16-2005 01:20 PM
setting env. variables arunsri Slackware 3 03-26-2005 05:49 AM
where are the env variables set on boot? Pete Dogg Linux - Software 1 09-10-2003 02:37 AM
setting env variables globally raven Linux - General 6 02-21-2003 08:04 AM


All times are GMT -5. The time now is 08:57 AM.

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