I wanted to update Steam to purchase some games in the annual sale, and unfortunately due to some proxy-related configurations it was forced into offline mode. When the system came back, the error indicated that steam was in offline mode, but had to be in online mode to update, then it quit. Very annoying, since changing to online mode requires you to be in the steam application.
I found the solution, you go to:
/Users/$yourusername/Library/Application Support/Steam/ and locate registry.vdf
The variable you need to set is Registry / HKCU / Software / Valve / Steam / Offline, which you set to "0".
Pretty surprising to see that Steam just ports what seems to be the windows Registry format over for configuration, but it seems to work (mostly :) )
Popularity: 36% [?]
This entry was written by , posted on 31/12/2010 at 02:48, filed under OSX and tagged fixing, mac, offline mode, osx, registry, steam, valve. Leave a comment or view the discussion at the permalink.
We have a proxy in work that prevents connections from being made out directly. I found out about the awesome MacPorts program, which is a bit like apt for OSX. It pulls backports from a repository and installs them for you.
There’s not a lot to the tool’s installation if you live on the open web, but I needed to do some stuff to get it working with our squid proxy.
If you run sudo port selfupdate, and get an error that says ‘port selfupdate failed: Couldn’t sync the ports tree’ or something like that, chances are your proxy is blocking rsync.
There are three steps. The prerequisites required for this to work are that you have the proxy address, admin access to your mac, and that the proxy supports the rsync port (873/tcp).
You can test the connectivity by going to http://rsync.macports.org:873, you should get the following error:
@RSYNCD: 30.0
@ERROR: protocol startup error
If that works ok, then you need to set up the sudo environment for osx to let proxy environment settings through. First, edit your sudoers file with:
sudo visudo
Do not just edit /etc/sudoers
You need to append these lines:
Defaults env_keep += "http_proxy HTTP_PROXY HTTPS_PROXY FTP_PROXY RSYNC_PROXY"
Defaults env_keep += "ALL_PROXY NO_PROXY"
Now, you need to set your http proxy
export http_proxy=http://proxy.example.com:8080
where 8080 is the port number of the proxy
By Default, port uses rsync to manage its updates. RSync can use a proxy environment setting (man rsync for mre)
export RSYNC_PROXY=proxy.example.com:8080
Note the rsync proxy capitalisation, and the fact that it does not need http://
That should do it. You can then run selfupdate to get port to the latest version.
If that doesn’t work, you can have a look at these instructions for replace rsync with subversion:
Syncing with SVN in Macports
Popularity: 100% [?]
This entry was written by , posted on 18/03/2009 at 17:41, filed under OSX and tagged http, macports, osx, proxy, rsync, svn, terminal, tips. Leave a comment or view the discussion at the permalink.
I recently took the plunge and went form an all-linux environment to adding a Macbook Pro to my collection of computers. I thought I would record a few of the apps and tips I have found useful in setting up the machine.
Java can be a bit of a bugbear for linux users, because of the choices between Icedtea, openjdk and the Sun hotspot. Since I do a lot of Java development, I really want the real thing.
On the Mac, the official JVM seems to come from Apple, and unfortunately it’s a bit behind the curve.
On the plus side, eclipse is readily available in a proper apple app. This is a huge advantage. One tip for new mac users is that eclipse needs to be installed as the entire directory in the Applications folder, and you then drag the icon from inside the eclipse folder to the Dock. Ganymede includes support for SVN, so I didn’t need any extra plugins.
I got a copy of Vim 7.0 here, which I prefer infinitely to regular vi. It’s not a recently updated project, but I have few fears about ViM killing my machine.
Smultron has a great icon, and does a pretty good job as a multi-file text editor. It could probably do with a plugin interface though, to help manage syntax colouring and stuff.
The best xml editor out there, in my opinion, is Exchange XML. It’s a pity the project seems to have stopped. I’d love them to opensource it so more work can be done.
Still haven’t got around to Git or Bazaar. At the moment, we are still trying to convince our colleagues that Subversion is a good thing (or any code management!). I looked around, and so far, Versions is a pretty nice application for managing svn outside of eclipse. I use it to store the LaTeX files for papers and my thesis as well, and it’s great for that since it lets me keep every revision.
It turned out that it was super-easy to get this going. I had to search a little bit, but I ended up with one giant package that installed LaTeX, TeXShop and a BibTeX manager all together. They work pretty well, though it could be slightly more integrated. I got the mactex package to get all this assembled. Interestingly, it has a XeTeX installation, which I have often been keen to try.
I love EverNote. It is an astonishingly tight application. The idea is that you can take linear notes, as per usual in a text file. However, if you have iSight on your laptop it will also OCR any pictures you send it. I find that super useful. The handwriting recognition is a bit so-so, but it works fairly well, and I think a better pen will fix my problem with it.
I have a few more apps to talk about. Next time, I will talk about Quicksilver, Adium and what I did to mail.app. So far, the mac experience has been excellent. The OS handled the weirdly-configured network we have here in TCD CS pretty seamlessly.
There are a few outstanding things, which I would love help with:
Popularity: 1% [?]
This entry was written by , posted on 15/07/2008 at 17:31, filed under Uncategorized and tagged apple, eclipse, evernote, Java, mac, mbp, osx, smultron, software, versions, vim. Leave a comment or view the discussion at the permalink.