Posts Tagged ‘10.04’

New Adobe Flash “Squared”…64bit Users Rejoice

I’m sure we all remember when Adobe was actively working on a Flash plugin for 64bit Linux users, and that it was a beta version. I’m also sure you all remember when Adobe pulled that version from their site… Bummer…

Well now we get to rejoice once again! Adobe has announced the release of their newest Flash plugin, dubbed “Square.” The best part is that they have included Linux versions in both 32bit & 64bit!!

I’ve only been using it for about an hour, but thus far I’ve had no problems with it at all. Here’s how you can install it:

  • Visit: http://labs.adobe.com/downloads/flashplayer10.html
  • Download the 32bit or 64bit version.
  • Extract the .so file to your desktop.
  • Open Nautilus and navigate to ~/.mozilla/plugins/ (Create the folder if it does not already exist).
  • Delete your existing Flash plugin and copy/paste the new one from your desktop here.
  • Restart Firefox and you’re done!

Note: These steps will also work for Chrome users since Chrome pulls it’s flash plugin from the .mozilla folder.

Also, 64bit users can open Synaptic Package Manager and search for “nspluginwrapper” and Completely Remove it.

Copy/Paste Like An Elephant

Being the avid Ubuntu users you all are, I’m sure you have also noticed one of those glaring bugs (yes, I consider this a bug) that has yet to be completely closed. It has to do with copy/paste. Yes, I know that copy/pasting things works…for the most part. There is that one lingering issue still, and feel free to try it out. Insert short-term memory loss…

Open a text file, copy something, close that window before pasting, open gedit, paste… Did anything happen? Probably not. The reason for this is because when the originating window is closed the clipboard forgets what was copied, thus not allowing a paste. There are programs that can fix this, but I think I may have discovered my favorite. Pastie.

Pastie is a clipboard manager with the memory of an elephant. It resides in your Indicator Applet and allows the ability to remember items that were copied historically. This is nice because you can re-paste items that were copied hours or even days ago. This is great if you’re like me and frequently forget terminal commands. 😉

Other new features Pastie 0.5.2 (stable) since the last stable version:

  • it’s very easy to use a custom icon for Pastie: simply place the icon you want Pastie to use in the ~/.pastie/ folder (folder does not already exist). The icon must be renamed to “pastie.svg” (“svg” can be any other kind of usable type of image). You can find an Elementary icon here, and mono icons here.
  • you can launch the Pastie preferences dialog using a keyboard shortcut: Ctrl + Alt + P.

It’s a great little program. Here’s how to get it:
sudo add-apt-repository ppa:hel-sheep/pastie && sudo apt-get update
sudo apt-get upgrade
sudo apt-get install pastie

If you want to remove the PPA and downgrade, re-enable the PPA in System > Administration > Software Sources
sudo apt-get update
wget https://launchpad.net/~xorg-edgers/+archive/ppa... && sudo dpkg -i ppa-purge*.deb
sudo ppa-purge ppa:hel-sheep/pastie

And everything will be back as it was.

Caps/Num/Scroll Lock Notifications

I’ve been waiting over a month to write this post. The reason that it’s taken me so long is because of a bug that the Ubuntu Devs. have refused to accept an a bug. It’s not their fault I guess, I’m sure they have their reasons. Well, that time has finally come for this post to happen!

One of the things that I’ve really liked about Ubuntu is the way that notifications are handled. They use a very stylish pop-up in the upper right corner of the screen. Well, for a long time, people have been calling it “broken” because of a feature that seems to have been simply, taken away. The ability to set a timeout for when it will force the pop-up to disappear. It seems kind of silly to me to remove this feature since it really hinders what a developer can do with the integrated notification system in Ubuntu. You know what, I’ll get back this in a moment…

What I wanted to be able to do is have a notification pop any time I pressed one of the following keys:

  • Caps Lock
  • Num Lock
  • Scroll Lock

Well, someone on the Ubuntu Forum (red_five) came up with a pretty handy little bash script that can do this pretty darn nicely. Well, actually, his was for Caps/Num Lock, I was forced to tweak the script and add Scroll Lock as well as fine tune the text to my liking. There was a draw back to this though. The notifications were taking a crazy long time (10 seconds) for them to finally disappear. So lets say that you quickly press the Caps Lock on and then back off, the notification stays up for about 20 seconds. Now, I know that 20 seconds is not a long time, but it sure seems that way when you’re looking at the notification….try it.

Well this is where I can get back to where I left off earlier. WebUpd8 recently had an article that spoke of someone who re-wrote the Notify-Osd source code re-adding back the functionality that was left out…TIMEOUTS!! So without further ado, here are the steps for setting up Notifications for Caps/Num/Scroll Lock.

Step 1: Replace Notify-Osd (Note that this patch is only available for 9.10 and up)

  • Add the new repository:

sudo add-apt-repository ppa:leolik/leolik

  • Update & Upgrade:

sudo apt-get update && sudo apt-get upgrade

  • Restart Notify-Osd:

pkill notify-osd

Step 2: Setting Up The Bash Script

  • Open gedit
  • Copy & Paste this in to a new file:
#!/bin/bash
icon="/usr/share/icons/gnome/scalable/devices/keyboard.svg"
case $1 in
 'scrl')
 mask=3
 key="Scroll"
 ;;
 'num')
 mask=2
 key="Num"
 ;;
 'caps')
 mask=1
 key="Caps"
 ;;
esac
value=$(xset q | grep "LED mask" | sed -r "s/.*LED mask:\s+[0-9a-fA-F]+([0-9a-fA-F]).*/\1/")
if [ $(( 0x$value & 0x$mask )) == $mask ]
then
 output="$key Lock"
 output2="On"
else
 output="$key Lock"
 output2="Off"
fi
notify-send -i $icon "$output" "$output2" -t 1000
  • Save the file as lock_keys to your desktop
  • Make the new file executable:

  • Move it to your /bin folder:

sudo mv ~/Desktop/lock_keys /bin

Step 3: Setting up the key bindings

  • Open CompizConfig Settings Manager
  • Click on Commands
  • Find three blank lines and enter these in them:
    • lock_keys caps
    • lock_keys num
    • lock_keys scrl
  • Click on the Key Bindings tab
  • Link the corresponding Run Command # with the command from the previous tab
    • Click on Disabled
    • Check Enabled
    • Click Grab Key Combination
    • Press the key
  • Close Settings Manager
  • Test

How To | Fix Firefox Speed Issues (Ubuntu 10.04)

Open your Firefox and type about:config in the address bar and hit enter. To make a False into True, select the line to change, right click on the “value”. Select Toggle or Modify

  • network.http.pipelining > True
  • network.http.pipelining.maxrequests > 8 or 10
  • network.http.proxy.pipelining > True
  • network.dns.disableIPv6 > True
  • network.http.version* > 1.1
  • network.http.proxy.version* > 1.1

*Your system may already have this setting as default, but it’s worth checking, since pipelining only works on http 1.1 connections.

Credit goes to UbuntuGeek.com and user Brian T

What time is it?! Upgrade time!

That’s right, it’s that wonderful time of the year when Canonical releases the newest edition of Ubuntu. This time it’s Ubuntu 10.04 LTS*, codename Lucid Lynx.

There are lot’s of nice improvements made in the lastest release, some of them including:

  • Faster boot times
  • New Themes
  • Has social integration (Facebook, Twitter, etc…)
  • The UbuntuOne Music Store

I’ve always been a believer in keeping up with the latest and greatest. Every six months I’m watching and waiting for the newest release. I love it, it’s gives me a thrill. To be honest, the “problems” are fun for me too. I like the challenge of learning how to fix things, because I know that once I’ve fixed it, it stays fixed.

Something I do want to urge everyone to do. Check the integrity of your download. There’s nothing worse than downloading that brand new Operating System, burning it to a CD or DVD, installing it and having problems on initial boot-up.

Lets face the facts, downloading is not always perfect. With so many people downloading on release day, it’s no wonder I would need to check the integrity of my download. How do I check the integrity you ask? I’ll show you.

First open a terminal and go to the correct directory to check a downloaded iso file:

cd download_directory

Then run the following command from within the download directory:

md5sum ubuntu-10.04-desktop-amd64.iso
(md5sum ubuntu-10.04-desktop-i386.iso if you’re running a 32-bit Operating System)

md5sum should then print out a single line after calculating the hash:

3e0f72becd63cad79bf784ac2b34b448 ubuntu-10.04-desktop-amd64.iso

or

d044a2a0c8103fc3e5b7e18b0f7de1c8 ubuntu-10.04-desktop-i386.iso

Compare the hash (the alphanumeric string on left) that your machine calculated with the corresponding hash on the UbuntuHashes page.

An easy way to do this is to open the UbuntuHashes page in your browser, then copy the hash your machine calculated from the terminal into the “Find” box in your browser (in Firefox you can open the “Find” box by pressing <Ctrl> <F>).

When both hashes match exactly then the downloaded file is almost certainly intact. If the hashes do not match, then there was a problem with either the download or a problem with the server. You should download the file again from either the same mirror, or from a different mirror if you suspect a server error. If you continuously receive an erroneous file from a server, please be kind and notify the webmaster of that mirror so they can investigate the issue.**

Why should I check my .ISO’s integrity before burning to a CD or DVD? To put it simply… This might mean the difference between going to the Ubuntu Forum pissed and looking for help with a problem or going to the Ubuntu Forum proclaiming your love for 10.04. Integrity checks will never hurt you.

How can I get Ubuntu 10.04?

*Long Term Support

**Thank you Community Ubuntu Documentation