Shamelessly stolen from here as this was something that was REALLY becoming a pain in my backside.
Get Rid of "Tunnel adapter Local Area Connection* ##" Entries in Vista
Vista seems to have an annoying habit of creating several "Tunnel adapter Local Area Connection* ##" entries in my ipconfig results, which means I have to scroll up to see the actual entries I want to. That is a pain to do on a laptop with a touchpad, but also I think it was contributing to connectivity problems when switching between wireless and wired connections.
If you want to remove them, there is a method that seems to be harmless:
* Right-click My Computer, go to Manage.
* Go to Device Manager
* Click View on the top of the window, and check Show hidden devices.
* Now expand the Network adapters tree, and you should see several entries that start with isatap.(something).
* Disable (right-click, Disable) several of them, and verify that all your networking things still work.
* If that didn't cause any problems, you should be able to safely delete them (right-click, Uninstall).
Now your ipconfig readout should be a little more sane. This problems seems to be caused by IPv4 and IPv6 tunneling of some sort, which you can read about here.
I had to disable a few other hidden network adapters but a quick check of my ipconfig output and test of my network showed my progress and the fact that I hadn't broken anything.
Get Rid of "Tunnel adapter Local Area Connection* ##" Entries in Vist
Install Visio 2003 on Ubuntu 8.10
I can accross this beauty on how to install Visio 2003 onto Ubuntu with Wine. The trick is on the wincfg on the Libraries tab. Make sure you have what is in the picture on the link.
Make an ISO image from the command line.
This is a command that I ALWAYS forget... go figure?!?! To make an iso from your CD/DVD place the disk into your drive and make sure it is NOT mounted. Then from a terminal window run the following:
sudo dd if=/dev/cdrom of=Name_Of_ISOFile.iso
where /dev/cdrom id the name of your device. I.e. if the device is a SCSI cd rom change it to
sudo dd if=/dev/scd0 of=Name_Of_ISOFile.iso
Since dd is not specific to CDs, it will also create disk images of floppies, hard drives, zip drives, etc.
To make an ISO from files on your hard drive, create a directory which holds the files you want. Then use the mkisofs command.
mkisofs -o /tmp/MyISO.iso /tmp/DirToMakeIsoFrom/
This results in a file called MyISO.iso in folder /tmp which contains all the files and directories in /tmp/DirToMakeIsoFrom/.
To test that the ISO was created successfully all you need to do is mount it.
sudo mount -o loop -t iso9660 Name_Of_ISOFile.iso /mnt/test
Ubuntu Package Missing GPG Key
So, I got the repos to update from Open Office 2.4 to Open Office 3.0
deb http://ppa.launchpad.net/openoffice-pkgs/ubuntu intrepid main
which I added to my /etc/apt/sources.lst
However I kept getting the NO GPG key authentication error when I was trying
sudo apt-get upgrade
I stumbled onto this GEM. Thanks to lvlo.
Firstly run:
gpg --keyserver keyserver.ubuntu.com --recv-keys $KEY
then run:
gpg --export --armor $KEY | sudo apt-key add -
$KEY is the value of the package you are not authenticated for.
For Open Office 3.0 I got 60D11217247D1CFF
This worked for me... Hopefully it works for you also.
Microsoft Word or Excel file takes a long time to open
I've had an issue for a while where if I open a Microsoft Word or Excel file it takes a long time to open but if I open up Word or Excel first and then open the file then it opens quickly and now I've finally found the solution on MyITkb.net Click here to go directly to the page that the fix is on. To save time I've put the instructions below but do yourself a favour and go check out that site.
NOTE: This refers to XP only. The functionality of editing file types manually has been removed in Vista.
Why is this happening? DDE may be broken for either Word or Excel.
Possible Resolutions:
Remember this is for ONLY when you double-click on a Word or Excel file and it takes a long time to open.
Solution 1.) If you have installed PDF maker, which can get installed when you install scanner software, the Excel add-on can potentially cause Excel to open slowly. This is more common in Office 2007.
1. Close Excel and any other window you have open
2. Open "My Computer" and browse to C:\Program Files\Microsoft Office\Office12\XLSTART
3. When you open Excel, check to see if the time it takes to open the xls/xlsx is shortened.Solution 2.) This can be fixed by reinstalling Office but there is a faster way to fix this.
1. Go to your Control Panel, (click on Start then Click on Control Panel)
2. Click on Folder Options, then File Types,
3. scroll down to and select (DOC for Word files) or XLS (for Excel files),
4. click Advanced and select Open entry,
5. click the edit Button.
6. deselect "Use DDE"
7. append "%1" (include the quote marks) to the end of the application command line,
8. Remove /dde if it is at the end of the command line
9. Then click on OK three times.If the issue was being caused by DDE, then when you now open a Word or Excel file they will now open faster, without a long pause.
Canon Drivers in Ubuntu
As I've discovered getting Ubuntu Hardy to print in colour to a Canon iRC 2880i can be a bit of a nightmare. Now that I've figured it out I thought I should put it here.
This guide should work for most Canon printers and most versions of Ubuntu.
If you only want to print in black & white then it is fairly straight forward.
1. Goto System->Administration->Printing
2. Create a new printer queue
3. Select the type of connection to the printer (mine is Windows Printer via SAMBA)
4. Input the printer settings eg: 10.0.0.1/NameOfPrinter and authentication if needed
5. For drivers use Generic->PCL 5c->Generic PCL 5c Printer Foomatic/hpijs
6. Give it a name and you're set to go
If you would also like to print in colour then this is where the fun begins.
You will need the UFR Printer Drivers from Canon in Australia. The PostScript drivers are also there but I haven't tried them but I can't see why this guide won't work for them.
If you're using the iRC 2880 then you can go straight here
http://www.canon.com.au/products/multifunctionals/multifunctional_digital_devices/irc2880_drivers.aspx
otherwise just go here and select your model
http://www.canon.com.au/support/default.aspx
Once you have the drivers and have extracted them then follow these steps.
Note: If you are using a version of Ubuntu that is older than Hardy you should just be able to run the deb files in the Debian folder and if there are no problems then you can skip to step 6
1. If you try and run the deb file in the debian folder in Hardy it will give a dependency error regarding libcupsys2-gnutls10. So in that case...
2. Run sudo apt-get install alien
3. Go to the extracted drivers RPM directory in a Terminal
4. Run sudo alien -c *.rpm (The -c will include any scripts in the package)
5. Run your newly created deb packages. First the cups common one then the driver one.
6. Follow the instructions above for the setting up of only black & white printing up to and including step 4
7. For drivers use Canon->iR C2880/C3380 UFR II->iR C2880/C3380 UFR II (or whatever model you are using)
8. Give it a name and you should now be printing in colour
In case you were wondering why you get the dependency error in step 1, the reason is that the Debian package was converted from a RPM one, using alien. Alien picked up the dependencies that where present on the system that the package was initially created.
Like I said at the beginning, this should work for most Canon printers because I found the link for the Canon Australia on a forum explaining how to get a different model of Canon printer installed on Ubuntu Edgy.
Netbeans Formatting
Just a very quick note.
I tried to change my tabs size from the default 8 to 4 and it all seemed broken. My tabs became 2 spaces. I did some searching only to find that many developers have even reverted back to Netbeans 6.0.
My settings were changed as follows:
Tools -> Options -> Editor -> Indentation
I changed "Number of Spaces per Indent" to 4 and "Tab Size" to 4
The only way I got it to work was a complete shutdown of Netbeans. Simple enough but caused me loads headache (and I nearly replaced Netbeans 6.1 with an older version)