Software :: Reset All Paths & Environment Variables To Default

Dec 21, 2009

Quite a while back, I had a real problem after installing some software from source that changed a lot of environment variables and stuff. Undoubtably, trying to rectify the situation without enough knowledge just exacerbated the problem.

Anyway, I still have a lot of frustrating problems when working in command line. For example, I just got an error telling me gcc isn't installed. Well that's unlikely, considering how much compiling I tend to do outside command line! However, whereis gcc does nothing.

Basically, I want to just reset all the problems I have caused and just set my paths back to default. I mean everything. Problem is, I dunno what they should be, and I don't know where to start. I know I have to sort my .profile, but even that is a bit taxing.

Which files should I be changing, and what changes should I make

View 2 Replies


ADVERTISEMENT

OS X V10.7 Lion :: Set PATH Environment Variables When There Is No ~/.profile?

Apr 18, 2012

I have a MacBook Air and just installed MySQL.I read the doc which I downloaded and should be able to run "mysql" from terminal as descibed below:Suppose that your MySQL programs are installed in /usr/local/mysql/bin and that you want to make it easy to invoke these programs. To do this, set the value of the PATH environment variable to include that directory. For example, if your shell is bash, add the following line to your .bashrc file: PATH=${PATH}:/usr/local/mysql/bin I checked on my terminal with ls -al, but no ~/.bashrc also no ~/.profile files.  Echo $SHELL shows me that I am using /bin/bash as shell.When I run export PATH=$PATH:/usr/local/mysql/bin  then it works and I just have to type "mysql" to get the mysql command line but as soon as I kill my terminal and open a new terminal this setting is lost.

Info:
MacBook Air, Mac OS X (10.7.3)

View 1 Replies View Related

Mac OS X Lion Server :: Restart Apache With Server-admin Environment Variables Set?

May 21, 2012

With any Unix machine, one can run at the command line:-  apachectl -S This will show all virtual servers configured in Apache, and will break if there are any obvious problems in the httpd .conf files. It's very handy for testing a new configuration before restarting the server. With Mac OS X Server though, this doesn't work properly. Sure, I can run that command and see a virtual server or two, but with the introduction of the server Apache wrappers, the command line tools read a very different configuration than the `serveradmin` tool does.

e.g. Wrappers like:-<IfDefine MACOSXSERVER>
....
</IfDefine>
or <IfDefine WEBSERVICE_ON>

[code]....

ps. Running `sudo serveradmin stop web && sudo serveradmin start web` really compared to `apachectl graceful`; it's painfully slow and doesn't provide a way to test a custom configuration before attempting to restart.

Info:
Mac Pro mid-2010, Mac OS X (10.6.4)

View 2 Replies View Related

OS X :: Reset Network Settings To Default ?

Sep 14, 2009

Today the IT department at my university set up my Early 2008 MBP to work with the library WiFi. While doing this they completely messed up my airport settings so now I cannot connect to my home network. Is there anyway I can reset the network settings to default like they way they were before? I am running Snow Leopard.

View 4 Replies View Related

OS X :: Use OS Default Wallpaper Since 10.1 - How Can I Reset Other Wallpapers?

Oct 4, 2009

I'm so damn indecisive I have been using the OS default Wallpaper since 10.1 Help me pick one thats not the default already, post em or link em here

View 4 Replies View Related

MacBook :: Reset Airport To Default

Apr 2, 2010

i pretty much F'ed my airport settings in the preferences panel up.
How do i reset it back to normal, and will it delete my remembered log in keys ive saved?

View 8 Replies View Related

Intel Mac :: My Printer Default Has Been Reset At 66%

Apr 17, 2012

My printer, an HP Officejet 8500A, has reset itself at 66% and everything printed comes oout too small. how do I change the default setting back to 100%? I can do this via the drop down print box but I'd like to make it a permanent fix.

Info:iMac (21.5-inch Mid 2010), Mac OS X (10.7.3)

View 7 Replies View Related

MacBook Pro :: How To Reset The Default Display Settings

Sep 15, 2010

Played around with the display settings and can now not get them back to the way they were!

Anyone who can enlighten me on how to reset the default display settings?

View 4 Replies View Related

OS X :: Reset Default ICal Reminder Alarm?

Jul 28, 2009

how to reset the default iCal reminder alarm. Mine is set to the bassoon, but what I'd like to have as a default is the glass sound. Is what I'm asking even possible?

View 3 Replies View Related

OS X :: Sound Volume Reset To Default After Applying 10.6.2

Nov 10, 2009

Anyone else have this happen to them - i.e. their preferred sound volume setting was not saved after 10.6.2 was installed? It's not a problem per se, because sound output still works normally, and the volume can easily be changed back, but still... it strikes me as odd.

View 1 Replies View Related

Applications :: How To Reset ICal Default Date

Nov 11, 2009

I've just noticed ical has jul 17th, when I launch ical in corrects itself, when I close ical, it returns to jul 17th.

View 10 Replies View Related

MacBook Pro :: Reset Default Screen Brightness?

May 12, 2010

I have a 2008 Unibody Macbook Pro running Snow Leopard 10.6.3. I want to reset the default ambient brightness, because it stopped changing by itself after I manually changed the brightness with the keyboard. I made sure that ambient light changing was enabled in the System Preferences. From past experience, I think that deleting the preferences.plist file will do the trick, but I'm not sure. Any suggestions?

View 2 Replies View Related

Software :: How To Reset Macbook To Default Settings?

Feb 17, 2009

How to reset macbook to default settings?

View 4 Replies View Related

OS X Mavericks :: 10.9.4 - Reset Default Print Orientation?

Aug 25, 2014

I have set by mistake  the default print orientation to landscape. How to reset the default print orientation. 

OSX 10.9.4

Info:
Mac mini, OS X Mavericks (10.9.4), Thunderbolt

View 5 Replies View Related

OS X :: After I Login On My Mac I Find My Dock Reset To The Default Apps?

Apr 12, 2010

Hi well after i login on my mac i find my dock reset to the default apps...

Why does this happen. and how can i fix this?

View 5 Replies View Related

OS X V10.6 Snow Leopard :: Cannot Reset Finder To Default Settings?

Mar 2, 2012

Over the years my finder windows have been set to different colors, font sizes and so on. When I make a change I select the make default box in the show view options, but they never default except for that one finder window. I have erased com.apple.finder.plist and just for fun the com.apple.sidebarlists.plist but can not get the finder to go to a true default. Is there another plist that I am missing?

Info:
Mac Pro, Mac OS X (10.6.8), I am not a blonde

View 5 Replies View Related

Can Reset Monitor Settings On Mac Mini To Default Upon Start Up

Apr 8, 2012

I was trying to modify my monitor settings and hit the detect monitors button by mistake thinking it may help a sizing issue. Now after start up white screen with apple in the middle the monitor goes blank. Is there a way to restart while holding down keys to reverse this since I can't see anything on display?

Info:
Mac mini, Mac OS X (10.7.3)

View 4 Replies View Related

MacBook Pro :: How To Reset Keyboard Backlight To Factory Default

Apr 15, 2012

I have a MacBook Pro running it's latest update (10.7.3) , and would like to reset the keyboard light and the desktop light to it's default.


Info:
MacBook
Pro, Mac OS X (10.7)

View 3 Replies View Related

ITunes :: Reset/restore To It's Factory Default Settings?

Jun 12, 2012

I played around too much with the view options/columns and now I just want it back to how it was when it first came with the macbook.

Info:
itunes, Mac OS X (10.6.8)

View 1 Replies View Related

Intel Mac :: Reset Display Color To The Default Setting?

Jun 20, 2012

how do I reset my display color to the default setting?  my daughter changed the settings and it looks like a thermal image

Info:
iMac, Mac OS X (10.5.8)

View 1 Replies View Related

MacBook Pro :: Reset It To Factory Default But It Prompts A Message?

Jun 25, 2012

Just bought my MBP(late 2011 model) from a friend of mine and it is now registered under my apple id. I am trying to reset it to factory default but it prompts a message 'This apple ID has not purchased lion' when installing lion. Any idea how to resolve this?

Info:
MacBook Pro (13-inch Early 2011), Mac OS X (10.7), factory default setting

View 8 Replies View Related

Intel Mac :: System Settings Reset To Default After Restarting It?

Jun 27, 2012

A couple days ago after restarting my imac I was shocked to find that my personal preferences had been reset to default and that some programs were behaving like they had just been installed. Firefox for instance asked me to import settings from safari, after skipping importing i found that all my bookmarks and add-ons were gone.

Info:
iMac, Mac OS X (10.7.4), Intel Core i3

View 8 Replies View Related

OS X V10.6 Snow Leopard :: How To Reset A Computer To Its Default Settings

Jul 3, 2012

With the original installation cd missing, how do you reset a computer (with OSX 10.5 upgraded to OSX 10.6.8) to its default settings?

Info:
MacBook, Mac OS X (10.6.8)

View 3 Replies View Related

OS X Mavericks :: Reset Causes Safari To Crash If Top Sites Is Default

Sep 7, 2014

If I reset Safari, it will often crash if TOP SITES is the first window Safari reopens with.

The crash may also be aggravated by my attempt to type something in the search bar, right after I reset.

I have now set Safari to open with a homepage, and now I can reset Safari at will and it no longer crashes after a reset.

Info:
MacBook Pro, OS X Mavericks (10.9.4), iPhone4S, iPad3

View 1 Replies View Related

Applications :: Reset Every View Options On Every Finder Window To Their Default

Aug 8, 2010

I want to reset every view options on every finder window to their default. Then make every window have 128 x 128 icons minimal grid spacing and size 10 text. Is there any quick way to do this?

View 1 Replies View Related

OS X V10.6 Snow Leopard :: HP Printer Default Scale Settings Always Reset To 10%

Mar 16, 2012

Every time I hit the print button on my Mac (I have an HP PSC 1210 all-in-one printer) the document prints at 10%. I know, I have to go into page set up and when i do that, the scale is always at 10% so I have to change the scale to 100%.why is it not automatically set at 100% anymore? And how can I make the print scale default to 100% so I don't have to go into page set up everytime I want to print?

Info:
Mac OS X (10.6.4), Mac OS X (10.6.8)

View 8 Replies View Related

Applications :: Does Pages Have Fields/Variables

Sep 19, 2009

One feature I like about NeoOffice is the ability to create user-defined variables (what it calls Fields) and then insert them into the text. If you were writing a contract, for example, one variable could be a name. By inserting a variable several times in a document, you can save time and effort updating the document by simply changing the variable's value and having the several instances in the text updated automatically.

View 1 Replies View Related

OS X Technologies :: Creating Folder Names With Variables In Applescript?

May 30, 2012

im trying to make folders and name them with structured names but im getting an error and im not sure what im doing wrong.  

the error i get is:Finder got an error: Can’t make "/Users/USERNAME/Desktop/Fake Server/Project Name" into type item.  ----------------------these variables are just used for my example, the actual script asks for input and makes that into the variables ------------------- set the_folder to "Macintosh HD:Users:USERNAME:Desktop:Fake Server"set theChosenOne to "Selected"set Code to "ABCD"set Number1 to "12345" set projLocation to (POSIX path of the_folder & "/" & theChosenOne)set folderTags to Code & " " & Number1 tell application "Finder" make new folder at projLocation with properties {name:folderTags & " artfile"}end tell

Info:
Applescript, Mac OS X (10.7.4)

View 6 Replies View Related

ITunes :: Media File Paths Broken?

Apr 26, 2012

My external HD with itunes library is dead. I bought a new disc and put library backup on this. But the path for all my files are broken. How can i fix this?

Info:
Itunes, Mac OS X (10.6.8)

View 1 Replies View Related

OS X Mavericks :: Why Does Spotlight Not Show File Paths

Aug 27, 2014

For some reason when I use finder, I see all related files, but it doesn't have a "pop up" where the path to that file is. I have gone into spotlight preferences and can't seem to find a button or setting that allows me to see paths. 

Info:
Mac Pro, Other OS, early 2009 8 core 2.4Ghz Mavericks

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved