Geek-Out Blog

Looks pretty cool, huh? I could only find a tutorial for how to draw a torus from the angle directly above it (here). But I wanted mine to be from a different angle, so I created this tutorial. I created this in Inkscape (it's free), but this should work fine for any vector graphics package (even photoshop). Just download the SVG file which contains the tutorial and example shapes at each stage of the creation.

Google have updated the iGoogle page to look nicer. I've updated Super iGoogle to match the changes! Super iGoogle still works with the old version of iGoogle, if you don't have the new version, yet.

Here's the new description I published:

Super iGoogle compacts all of the unused space on your iGoogle page, making it neater, prettier and easier to use on small screens.

Hide any of the following from your iGoogle page:

Header (space-consuming area at the top of the page)

Sidebar tabs (a waste of space for some people)

Footer (all the boring links at the bottom of the page)

You will find all settings for Super iGoogle in the menu at the top-right of your iGoogle page. Your settings will be automatically saved. Some settings have keyboard shortcuts, which are listed in the menu. Links to "change theme" and "add stuff" are also added to this menu.

If you want to hide the header to save space but you miss having the search-bar, a mini search-bar can be added to the top-right corner of the page.

This post explains how to set .m (matlab source code files) to open with Matlab (a how-to for Gnome Linux).

Right-click a .m file and click Properties

Click the Open With tab then click Add

Expand Use custom command and type the following into the field:

matlab -desktop -r "f=%f; cd(fileparts(f)); edit(f); clear f;"

Click Add then select the radio button next to matlab.

Close the property window.

Now all of your .m files should open with Matlab. The only thing I can't fix is that a new instance of Matlab is opened every time you open a .m file. To help, I set the current directory in Matlab to be that of the .m file which is being opened. Now you should be able to open your other .m files in Matlab more easily, without opening multiple instances.

If you'd like to know what that command does:

matlab: to run Matlab-desktop: to run Matlab without using a terminal-r: execute following matlab code when Matlab opensf=%f: Save filename of file to open to variable fcd(fileparts(f)): change the current directory to file f's directoryedit(f): open file f for editingclear f: delete the matlab variable f

Scroll your mouse wheel in the up direction when your cursor is over the title-bar of a window. That window should now animate by sliding into the title-bar, therefore shading the window (assuming you're using CompizFusion). If this isn't the case, you can fix it by doing the following:

Short version:

Now restart checkgmail. It will now display all new mail notifications using Ubuntu's new fancy-looking notifications. But don't worry, you can still open/archive etc. by hovering over the checkgmail icon as usual.

Long version:

I have modified CheckGmail to use Ubuntu's NotifyOSD notifications (see above pictures). I reckon this looks much better than the original little yellow box that CheckGmail uses.

My code does not affect the yellow box that appears when you hover over the CheckGmail icon, so you can still do this to preview / archive / open / etc. your emails.

You can run the command (above, in the short version) to install my modified CheckGmail program. The first part of the command (sudo apt-get install checkgmail libnotify) installs the original CheckGmail program (as this is required) and libnotify, which is what we'll use to display the new notifications.

The second part of the command (sudo wget http://users.cs.cf.ac.uk/R.P.Coombs/checkgmail -O /usr/bin/checkgmail) copied my program from the internet and saves it onto your computer in the place of the original CheckGmail program file.

My program is identical to the original program, except for the popup method. It is important that you trust my code before you install it onto your system as, if I were nasty, it could be malicious. I promise that I'm not malicious, but if you don't believe me you can view my code here and compare it with CheckGmail's original.

Once you have successfully executed the command you can start CheckGmail by running checkgmail, or, if checkgmail is already running, you must restart it by right-clicking the checkgmail notification-area icon and clicking restart.

P.s. this is another solution, which is better because it does not modify the original code:

If you want a launcher (in the main menu or desktop etc) to perform more than one operation when clicked you might try using a launcher command like gedit; nautilus to open a text editor then a file browser. However, although this command will work in the terminal, it will not work in a launcher. Launchers can only execute one command. The workaround? ...read on:

Firefox has a really annoying feature where anyone using your computer can open firefox, open the preferences form, click "Saved Passwords" on the "Security" tab then click the "Show Passwords" button to reveal all of your saved passwords.

These passwords could be for your e-mail account or even your Paypal account. Any chump that got on your computer could do this, unless, of course, you use a master password. But this solution is annoying. So here's how to remove that horrible "Show Passwords" button:

Open a text editor and paste the following text into a new file:

button#togglePasswords { display: none !important }

Save this text file as userChrome.css in the folder called chrome in your Firefox profile folder.