IE6 on Linux + Safari / WebKit

Posted by John Fri, 23 May 2008 20:11:00 GMT

webkit

IE 4 Linux

For cross-browser testing you can thankfully run IE6 (and 5/4) on Linux with the handy IE4Linux package.

Assuming you’ve got WINE you’ll also need cabextract, so add a repository to your distro,

sudo gedit /etc/apt/sources.list
deb http://wine.budgetdedicated.com/apt hardy main

sudo aptitude update && sudo aptitude install cabextract

wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
tar zxvf ies4linux-latest.tar.gz
cd ies4linux-*
./ies4linux

Click to create icon on Desktop, it’ll run thru downloading packages and prefixes for Wine after which you should have IE on your Linux distro, which will be accessible (if you lose the desktop shortcut) from,

wine /bin/ie6
Safari / WebKit

Apple’s Safari browser is powered by the WebKit rendering engine, which thankfully is an opensource project and can be installed and tested against on your Linux machine via a few steps (yep, i’ve run thru this and it does work).

First get the dependencies,

sudo aptitude install autoconf automake libtool bison flex 
gperf libicu-dev build-essential libxt-dev libsqlite3-dev 
libjpeg62-dev libpng12-dev libglibmm-2.4-dev libgtk2.0-dev 
libcurl4-openssl-dev libxslt1-dev

Now goto http://nightly.webkit.org/ and grab the latest nightly build.

Unzip and Terminal into the archive dir and build the source,

./autogen.sh
./configure --enable-svg-experimental
make

Once that’s all done (which will take a while) you should now have a mini-WebKit browser in which to test against via…

./Programs/GtkLauncher

Navigate to the ACID3 website to test for standards compliance here http://acid3.acidtests.org/.

You should get 100/100, WebKit is pretty on when it comes to standards.

acid test

Linux - Better Screen Fonts

Posted by John Sun, 11 May 2008 14:06:00 GMT

If you’ve just switched over to Linux, you’re probably hating the default monospaced font; thankfully I’ve found some better ones…

Liberation

On May 9, 2007, Red Hat announced the public release of these fonts under the trademark LIBERATION at the Red Hat Summit. You are free to use these fonts on any system you would like. You are free to redistribute them under the GPL+exception license found in the download.

Liberation Fonts

Lucidia Grande

AppleGaramond, Aquabase, LITHOGRL, Lucida Grande, Lucida Mac, lucon, MacGrand

Thanks to Nylock for sharing this fonts with us

Mac Fonts

Installing

Once downloaded, usually to your desktop, you’re going to need to install them into your system to use. They need to be copied to the /usr/share/fonts directory.

First unzip the files, then open Terminal and…

cd /usr/share/fonts/truetype
sudo mkdir liberation
sudo mkdir apple-fonts

Here, you’ve moved into the location where the System’s fonts are stored, then created one directory for the liberation fonts (worth having), and the apple fonts.

Now copy the files to each directory from the desktop to liberation & apple-fonts,

sudo cp /home/[user]/Desktop/liberation-fonts/* /usr/share/fonts/truetype/liberation
sudo cp /home/[user]/Desktop/fonts/* /usr/share/fonts/truetype/apple-fonts

Final bit, refresh the font cache…

sudo fc-cache -vf

Logout, login and your ready to use them.

Accessing a Network Share with Leopard + Extra

Posted by John Sun, 17 Feb 2008 22:42:00 GMT

Leopard HowTo

First in [Finder], press [command] + K to open the [Connect to Server] box.

Then type your network share’s ip address, e.g.

smb://192.168.1.99

Now click [Connect], and you’re off.

Belkin Router Problems + Finding the Box

Now recently I got a new ICYBOX IB-N4220-B NAS Enclosure which I now have running as a RAID 1 Array for my own networked WIFI storage, was a bit of a pain with my Belkin router.

Reason being when hooked up there’s no real way of testing to see which IP address it’s set to on bootup, the supplied CD comes with a tool the find it but that only works on Windows, and didn’t work on Vista.

So I hunted around, apparently when it starts up it chooses any IP address in the network starting at 192.168.1.1, and because my Belkin Router had a default setup set to 192.168.2.1 it couldn’t find itself.

So setting the Router to 192.168.1.1 meant the NAS drive could then work more happily with the router, picking the next obvious IP down the line, being 192.168.1.2

Finding it’s IP then was dead easy, accessed the Router by typing…

http://192.168.1.1

Then logging in, navigating in the menubar, clicking ‘DHCP Client List’. From there it listed all the devices currently connected to the Router, one was my MacBook, the other the NAS drive.

So using that I accessed the NAS drive with…

http://192.168.1.2

Logged in and then set it to use a particular IP all the time so I could always find it.

Then used the above commands in Finder to hookup the drive to my MacBook.

Job Done!

Installer.app can't find host! - iPhone 4

Posted by John Thu, 14 Feb 2008 16:57:00 GMT

If you’re one of those guys with a hacked iPhone, you might get this error with the InstallerApp, nothing serious, just one of the repositories has changed location.

New Repository Location

  • Go to Sources in Installer.app.
  • Tap the Edit button. Click on the - icon over Ste Packaging source line to delete it.
  • Tap the Add button and type the right new URL for STE Packaging source:
  • Type in the new location.. http://repo.smxy.org/iphone-apps/

Getting Extra Space on your iPhone

PS, It’s recommend you install both Community Sources and BossTool (in the Utilities category) and run the Free Disk Space tool inside BossTool in order to relocate Fonts, Ringtones and Applications to the main disk partition and thus, be able to install a lot more applications without space problems.

Note: do this in the recommended order;

  • first Fonts
  • then Ringtones
  • and Applications at the last

As always, be careful with this; haven’t done it myself btw.

Update

Just ran the BossTool on my iphone (1.1.4) and it worked fine, did each in order fonts, then ringtones, then apps.

Also try using ZiPhone to update and unlock your iphone, you should get the new sources in the installer automatically with it.

Installing SVN via MacPorts

Posted by John Wed, 23 Jan 2008 20:57:00 GMT

Following on from my previous article concerning using MacPorts to install system software easily on your Mac, in this article I’ll guide you thru install Subversion and all it’s dependencies under Apple’s Leopard O/S.

Update MacPorts

First off you don’t have to install MacPorts with Leopard as it comes pre-installed, but you do need to update it.

So in Terminal run…

sudo port -v selfupdate

Perfect that should update the stock 1.5 build to the latest 1.6 release.

SVN Dependencies

Now to installing Subversion’s dependencies, without these Subversion will not build. So in Terminal run…

sudo port install sqlite3
sudo port install apr-util
sudo port install neon

Excellent, you should now be ready to install Subversion 1.4.6 from source via MacPorts

Finally Subversion

Just run…

sudo port install subversion

Should install ok leaving you with the latest binary build of Subversion on your Apple machine.

What about a GUI ?

Ok, as most people don’t really like using SVN from the command-line, you can download a mac gui interface to it at…

More MacPorts are available at…

Handy Tip

Before I go you can find out the location of a piece of software via the ‘which’ command.

which svn

Should return the path where it’s installed.

Older posts: 1 2 3 ... 5