Firefox Location Bar: Change Default Search Behaviour

Mozilla Firefox Upgrade The WebDescription

When you type something in plain text (i.e. not an address beginning www, etc) into the address bar in Mozilla Firefox it tends to perform a little bit of magic.

 

After hitting enter you’ll usually end up either on a web page that’s quite relevant to what you typed, on the Google Search Results page with results of what you typed or else you’ll end up on some other search engines results page like Bing or Yahoo with results of what you typed.

 

The default behaviour of Firefox is to do an “I’m Feeling Lucky…” Google Search but sometimes this can get altered to another search engine by something you’ve installed, manually or perhaps by installing a Firefox Add-On that unknowingly altered the behaviour.  Very annoying.

 

Fear not, the instructions below give you a step by step solution to resetting the default behaviour or you can choose to customize the behaviour however you like.

 

Solution

Edit Firefox’s Hidden Configuration

  1. Open a new Firefox Windows (CTRL + N) or a new Tab (CTRL + T)
  2. In the address bar type about:config > press Enter
  3. If you get a very amusing warning from Firefox saying something like ‘Here Be The Dragons’ then click the I’ll be careful, I promise button and tell ’em I sent ye
  4. Here Be Dragons! Firefox about:config warning

  5. In the filter text entry box at the top of the screen, type keyword will see only the preferences with the word keyword in them
  6. Firefox about:config keyword.url setting

  7. Now to reset Firefox to the default behaviour which is a Google I’m Feeling Lucky search then copy the following to your clipboard: 

    https://www.google.com/search?btnI=I%27m+Feeling+Lucky&q=

  8.  

  9. Now double-click the keyword.URL configuration option and paste the above address over whatever is there
  10. Optionally, you can paste in your favourite search engine’s URL and that should work too.
  11. Click OK and you’re done!

Can’t change Text Alignment in iPhoto

iPhoto '09Description:

In iPhoto ’08 or iPhoto ’09 you are creating a calendar, album, photo book or postcard and want to change the alignment of some text like say on one of the captions and there is no buttons or menu options to change the text from say centered to left justified or right justified.

 

Even the ‘Show Fonts’ dialog box doesn’t have a way of aligning the text.

 

Have a look at the sample in the screenshot of ‘My Photo Book’ down the page a bit to see what I mean.

 

Symptoms:

  • You created a photo book/photo album in iPhoto and discover that the text alignment beneath the photos cannot be changed to the way you want.
  • You created a calendar in iPhoto and cannot adjust the alignment of the text for the calendar title, subtitle or author on the front page
  • You created a postcard in iPhoto and cannot change the alignment of the text that will appear inside the postcard such as the title and your greetings.

 

Explanation:

The world knows at this stage that Apple make some great products and iPhoto is one of them, especially for the casual point ‘n shoot photo maniac so why deny the user as simple a task as aligning the text on their special photo projects?  It’s a mystery.

The fact is, the option to align text doesn’t exist in iPhoto’s Projects so we have to find another way of doing it.  Read on.

iPhoto Photo Book Album
Screenshot of iPhoto ’08 Photo Book with title text aligned right

 

Solution – Align the text in another program

  1. In iPhoto, create your photo project as normal (i.e. your album, postcard, calendar or photo book)
  2. When you come across a piece of text or caption that you want to change the alignment of do the following:
    1. Select/highlight the text with your mouse
    2. Press CMD+X to cut the text to clipboard
    3. Open TextEdit or another preferred editor capable of editing rich text such as Word, Pages, NeoOffice, etc. In this example, I’m using TextEdit.
    4. Make sure TextEdit is set to Rich Text Editing.  This is evident by the toolbar at the top as shown in the screenshot below.
    5. If you can see the toolbar for editing text then it’s set to Rich Text.  If you can’t see the toolbar then click Format menu > Make Rich Text
    6. TextEdit Set To Rich Text Mode

    7. Now press CMD+V or click Edit > Paste to paste the contents of your clipboard into TextEdit
    8. On the toolbar, click the alignment button of your choice; left, right, centered or fully justified
    9. When the text is aligned as you would like it, highlight/select all the text again
    10. Press CMD+X to cut the text to your clipboard
    11. Open your project in iPhoto again
    12. Click into the area where you originally cut the text from within your project
    13. Press CMD+V to paste the text
    14. iPhoto Photo Book With Caption Aligned Center

    15. Now your caption should be aligned as you want it.  As you can see from my screenshot above.  I’ve aligned mine in the center.

 

Can’t change the Page Title in Apple iWeb

Apple iWebDescription:

In iWeb the page title (the text that appears at the top of the browser window) cannot be set easily within iWeb itself.

Symptoms:

  • When you publish your website that was designed iWeb the page title defaults to the text at the top of your first page.
  • Changing the Page Name through the Inspector has no effect on the Page Title in the browser

Explanation:

The page title is not easily customizable in iWeb’08 and so must be set using javascript.  Normally the title is derived from the HTML code – the <title> tag but iWeb doesn’t allow the user to change that directly.  Below I have documented how you can use javascript to achieve the same effect..

Solution – Set the Page Title using Javascript

  1. In iWeb, open the page you wish to set the title for by selecting it in the left hand navigator
  2. When the page appears, click ‘Web Widgets’ at the bottom followed by HTML Snippet
  3. Paste the following text into the box that appears:
  4. <script type=’text/javascript’> parent.document.title=”My Page Title” </script>

  5. Change the text “My Page Title” to whatever you would like as your page title
  6. Click ‘Apply’ and then move the little box that was created up to the top left hand corner of your page to get it out of the way
  7. Save & Publish your web site
  8. Now your page title should appear as you have set above
  9. For your other web pages, you can just copy and paste the little box to all the other pages

 

Can’t re-size window in Mac OS X

Can’t Reach The Right Corner?

You can’t re-size a window because you can’t reach the handle at the bottom right hand corner of the window.

Ye know, Mac OS X really is an awesome operating system – arguably the most advanced in the world – but sometimes with all this advanced think the simplest of things get overlooked.

The ability to re-size a window for example is only possible by dragging the bottom right hand corner of a window and isn’t possible with the keyboard in Mac OS X doesn’t exist.

When Does It Happen?

  • You’ve gone and made your window way too big and now you can’t reach the bottom right hand corner to resize it.
  • You’re monitor shrunk and now you can’t reach the bottom right hand corner to resize your window 🙂 – yes, it happens (not physically obviously but the resolution!)

Enough of the speel, how do I fix it?

Below you’ll find a clever little program that allows you to resize your window using just the keyboard.

Download, Install & Run Window Wrangler

  1. Go to Mind Flow’s website by clicking here
  2. Click Download
  3. Save the file to your desktop
  4. Mount the image and drag the Window Wrangler to your Applications folder
  5. Double click to launch the application
  6. Open the program that has the bloated window
  7. Use CTRL + ALT + Arrow keys to resize the active window
  8. That’s it. Thanks to the author for this cool piece of software. He accepts donations at the url above apparently. 🙂

 

Wireless Connection Does Not Connect Automatically After Sleep or Restart

airportextreme2Description:

After booting Mac OS X and/or after resuming from Sleep mode your wireless network connection does not connect automatically to your base station.

Your network is listed as a preferred network and is set to connect automatically.

 

Symptoms:

  • Wireless network remains disconnected even though all required configuration is correct
  • Automatic connection to preferred wireless network does not occur after resuming from sleep mode
  • Automatic connection to preferred wireless network does not occur after restarting or clean booting your Mac
  • Clicking the Wireless icon in the Finder Menu and selecting your wireless network manually will allow you to connect successfully

 

Explanation:

This problem can occur when the System Preferences application is moved out of the Applications folder. Console/Event Viewer:

  • airportd[17]Error: _ACKeychainCopyPassword() expected password for “networkname” not found: -25300 (The specified item could not be found in the keychain.)
  • airportd[17]Expected password for “networkname” not found; skipping..

 

Solution – Fix the Keychain

Step 1 – Delete the offending wireless network from network preferences

  • Click the wireless network icon in your menu and select your network
  • When prompted, enter the password for the network and place a check mark in ‘Remember this network’.
  • Click OK
  • Restart your computer to verify that this solution worked

 

Step 2 – Delete any references to the offending network connection from keychain

  • Applications > Utilities > Keychain Access
  • Select ‘login’ from the list of Keychains on the left
  • On the right panel, sort the list by name and locate the name of the offending wireless network.
  • Highlight all items relating to the offending wireless network, right click (CTRL+CLICK) and select ‘Delete X items’
  • Click ‘Delete’ in the confirmation dialog prompt and close Keychain Access.

 

Step 3 – Move ‘System Preferences.app’ to ‘/Applications’

  • Locate System Preferences on your system. You can do this by browsing to it through Finder or using Spotlight.
  • When you locate it, simply drag it to the Applications folder in the sidebar of your Finder

 

Step 4 – Re-join the offending network

  • Applications > System Preferences > Network > Unlock
  • Select your network from the list on the left (Airport if your using an Apple Airport Extreme card)
  • Click ‘Advanced…’
  • Select the offending wireless network from the list of ‘Preferred Networks’ and click the minus (-) button
  • Click OK, enter your password if requested and then click Apply