Archive for the ‘Tools’ Category

How To | Boost Flash Performance

Want better flash performance in Ubuntu? OMG! Ubuntu reader Eduardo got in touch to share a nifty hack to get just that.

How? I’ll let Adobe’s Mike Melanson explain:

“…there is [an] option in mms.cfg that will be of use to Linux users: “OverrideGPUValidation”. Pursuant to the need to have such stringent rules for validating whether the Linux Flash Player can use the GPU. If you wish to force the Flash Player to bypass its GPU validity checks, add “OverrideGPUValidation=true” (without the quotes) to your mms.cfg.”

This allows you to boost Flash by bypassing GPU validation. Eduardo tested it and said ‘the difference is noticeable.’

Eduardo provides two ways to enable it:

Using the terminal enter:

sudo mkdir /etc/adobe && echo “OverrideGPUValidation=true”|sudo tee /etc/adobe/mms.cfg

He also notes that it may be possible to enable it via the hidden adobe folder inside the home folder, in which case use:

echo OverrideGPUValidation=true >> ~/.adobe/mms.cfg

Advertisements

Plymouth Manager | Change Your Boot Theme

If you’re fortunate enough to have a graphics card capable of displaying Plymouth boot splashes then ‘Plymouth Manager’ may just be of interest.

Features include:

  • Enable/disable Plymouth
  • Set splash resolution
  • Fixing errant errors
  • Choosing/creating new themes

Find most recent download at launchpad.net/plymouth-manager/+download

If you’re up for the task, why not help translate it to your language? http://plymouthmanager.wordpress.com/about/

How To | Change Your MeMenu Name

It’s a known and reported bug and while an easy front-end setting to choose the display name is still lacking, this can still be changed.

Responding to the bug report with a fix was a user called Ar. You can use either the Terminal to get the changes (easiest) or manually via the Gconf-Editor (ALT+F2 > gconf-editor)

To remove the name from the MeMenu altogether:

gconftool -s /system/indicator/me/display --type int 0

To show your real name/’about me’ name:

gconftool -s /system/indicator/me/display --type int 2

To display the default account username:

gconftool -s /system/indicator/me/display --type int 1

Note: The gconf-editor option will not be available until you attempt to change this option using the terminal first.

How To | Use Docky Anchor to Change Docky Icons

In the past I talked about how a Docky user can change their Docky icons by navigating to the appropriate folder in Nautilus. Well, now I can take that one step further.

I’m going to show you how to use your Docky Anchor icon to navigate directly to that lovely Nautilus folder all with one click. For those of you that are worried that doing this might not allow you to open your Docky Settings, don;t worry. You will still be able to right-click on the Anchor and click Settings.

Step 1: GConf-Editor

  • Open your gconf-editor by navigating to Applications > System Tools > Configuration Editor (or gconf-editor in your terminal)
  • Navigate to /apps/docky-2/Docky/Items/DockyItem/
  • Change DockyItemCommand to gksu nautilus /usr/share/applications
  • Close GConf-Editor

Step 2: Change your Icons

  • Click on your Docky Anchor
  • Type in your password
  • Navigate to the program icon you would like to change

How To | Install Docky Stacks

Install Stacks in Docky with one command

The script automatically fetches and installs the files needed to both install and successfully run Docky with Stacks.

Open a terminal and enter the following line carefully:

wget href="http://www.panticz.de/sites/default/files/Docky/compile.docky.stacks.sh.txt -O - | bash -

 

 


Click here to see the original article and the source code of the bash script.

How To | Root HTC DROID Incredible Using Ubuntu

Superuser Access

UPDATE: If you have installed the newest OTA update (Nov. 2010) this tutorial will no longer work. It seems that the latest OTA update included a patch that closed the hole used for rooting the Incredible. Read more here.

 

UPDATE: This just in from the unrEVOked twitter account.

unrevoked unrevoked dev team
Incredible people stuck w/ new OTA: we have a fix in the pipe for you; expect a release in a day or two. EVO folks: temporary fix on XDA.

 

I searched on many different websites that teach people how to Root their Incredible, but I was never able to really locate a tutorial that focused solely on Rooting in an Ubuntu (or Linux at all) environment. Many of them would mention Linux, but would be very general. I would see statements like: “The steps will work relatively the same in Linux.” Well, that was not good enough for me and with any luck this tutorial will come in handy for all of you Ubuntu/Incredible users. 🙂

This guide is an adaptation of Bob Denny’s tutorial that can be found here. For this tutorial, I will be using unrEVOked3 since it’s easily the most simple Rooting process.

Step 1: Preparation – Ubuntu

Before you will be able to do anything, you will need to ensure that you have the Android SDK installed on your system. If you have already done thins, skip to Step 2: Preparing The Phone.

  • Android SDK | Android Developers
  • Extract tar.gz file; you can rename extracted folder to whatever you like (e.g., “android”)
  • Move “android” folder to the root of your drive using this command in your terminal:

sudo mv /path/to/android /

  • Run “Android SDK and AVD Manager” using this command: (I added mine to the Applications menu for simplicity)

/android/tools/android update sdk

  • Now ensure that the ADB Server is running as root:

sudo ./adb start-server

  • Ensure that your Incredible is recognized by ADB

adb devices

Note: that you do not need to download any drivers for Linux. The phone is already supported.

Step 2: Preparing The Phone

  • Verify that you have an SD Card installed with at least 2Gb free space. If the SD is smaller than 4Gb, make sure it is FAT32 formatted. Look at it on gParted to be sure.
  • Boot the phone normally.
  • Enable USB Debugging (Settings > Applications > Development).
  • Enable Unknown Sources (Settings > Applications at the top).
  • Enable USB “Ask Me” mode (Settings > Connect to PC).
  • Plug in the USB cable and choose Charge Only on the phone.

Step 3: Rooting The Phone

sudo ~/Desktop/reflash

(if this does not work and unrEVOked sits there not doing anything, open Nautilus with root and double-click the file)

If you did everything right, and if your phone is a stock 2.2 Incredible, Reflash will come up and start the rooting process.

Be patient! The process involves several (4) reboots and some long periods of apparent inactivity. Let it go. Wait for at least 5 minutes before deciding it has become stuck.

How to know it worked:
Once the Reflash process completes (5 or so minutes), unplug the USB and reboot the phone. It will look normal. Open the App tray and look for the Superuser app. If you open Superuser it will be blank, that’s normal. For final confirmation, reboot the phone into HBOOT (volume down + power) and see if it says S-OFF at the top. If so, you’re rooted!

Step 4: Backing up the phone
Now that you’re rooted and in HBOOT, it’s time to do a complete backup of the phone (a.k.a. Nandroid backup). DO THIS NOW!

  • In HBOOT, using the volume buttons move to RECOVERY and press the Power button. The phone will appear to reboot but it will end up in the ClockWorkMod recovery screen. From now on use the trackball on the Incredible (click to select).
  • Move to Backup and Recovery, then select. This will show the Backup and Recovery menu.
  • Move to Backup
  • Select to start the backup.
  • When the backup completes (several minutes), press the power button to return to the main ClockWorkMod menu
    Select Reboot System, go.

When the phone boots to its normal mode, you’re done! Now you can enjoy the benefits of root. 🙂

How To | New fix for Ubuntu Plymouth

Plymouth Ubuntu

I’ve talked about this in the past, but with this release of Ubuntu 10.10 I thought it would be a good idea to bring this up again. Thanks to Webupd8 for putting together a post for an even simpler fix for this.

Fix The Ubuntu Plymouth with proprietary Nvidia or ATI graphics drivers

Warning: use it at your own risk! Only use this script if you know your way on the command line and can revert everything manually in case something goes wrong. I’ve used it to fix the Plymouth on Ubuntu 10.10 Maverick Meerkat (with proprietary Nvidia graphics drivers) but I cannot guarantee it will also work for you (and that it won’t break stuff). The script should work with both Ubuntu 10.04 Lucid Lynx and Ubuntu 10.10 Maverick Meerkat.

To fix Plymouth, run the following commands (will download and run the script):
cd
wget http://launchpadlibrarian.net/57638460/fixplymouth
chmod +x fixplymouth
./fixplymouth

Or you can manually download the script from HERE.

Warning: only run the script once!

Fix plymouth script

After running it, the script will display a list of screen resolutions supported by Plymouth (specific for your computer). Enter the best resolution from the list displayed by the script under the following format: 1024×768-24 (this is just an example)! This is the only difference between this script and Kyleabaker’s script (in which you had edit the script with your Plymouth screen resolution and most people never knew what’s the maximum resolution supported by Plymouth for their computers).

If hwinfo (which is automatically ran by the script) doesn’t display the supported resolutions for your monitor, see the second solution from HERE.

Revert the changes made by this script

All the changes made by this script can be reverted using kyleabaker’s revert script. There is a download link at the end of THIS post.
Credits for the script in this post: d0rkye and kyleabaker.