Tuesday, September 6, 2011

Changing a Chrome/Chromium theme

Installed the Ambiance Theme for Chrome in Chromium running on Ubuntu 10.04.3.
Nice theme, but one issue existed; the text on the inactive tabs wasn't visible enough. How could I change that?

On Linux:
* Install the extension and find the extension folder located in ~/.config/chromium/Default/Extensions/
* Open the manifest.json file in a text editor of choice and change the tab_background_text attribute to the color (in RGB) that you want, in my case: 164, 164, 160
* In Chromium; Click on the wrench -> Tools -> Extensions and click on "Developer mode"
* Click "Load unpacked extension" and navigate to the folder where the edited manifest.json file is, click "Open".
* You should now see that that the text color of the inactive tabs have changed.

For more information about styling attributes, see this documentation: http://code.google.com/p/chromium/wiki/ThemeCreationGuide

Thursday, July 7, 2011

Android: Replacing keyboard

When trying to replace the current keyboard on an Android installation, don't forget to push the lib file related to the keyboard.
Example (Replacing the "Gingerbread" keyboard in the Ginger Stir Fry ROM with the CM7 keyboard):
Removing
* adb shell rm /system/app/LatinIME.apk
* adb shell rm /system/lib/libjni_latinime_moo.so
* adb uninstall com.moo.android.inputmethod.latin.free

Installing (current directory has the CM7 keyboard files)
* adb install LatinIME.apk
* adb push libjni_latinime.so /system/lib/

Note! If you have problems with remount, that is; you can perform the remount command but while trying to remove a file the system says the file-system is read-only. Try to enable and disable "Debugging" on the phone a couple of times and then try to remount and remove again.



Saturday, June 4, 2011

Placeholder

Placeholder, placeholder