Thai font for webOS

Well, after HP dumped #webOS device w/o caring how many languages those devices can read. We, as a user, are supposed to be on our own then.

Here is fonts you need to replace, Arial & Prelude families. These are sorta main fonts in webOS. Actually you can replace only Prelude for webOS 2.x or older, but likely you need both for webOS 3.

What I have done? You definitely can copy any font w/ Thai character and rename to Prelude for all webOS 2.x or below. restart Luna once. It will work. However, I just like to have Prelude as it was. I only add Thai characters to that font. So as in this Arial.

How can you replace these fonts? there are many possible ways to do so, but I guess you have to have some sort of shell, XTerm preferably, and surely you probably need to have Preware first. Then you should be able to simply copy this font over the original one.

root@Touchpad: /var/home/root# cp /media/internal/newfont/* /usr/share/fonts/

Once you copy these over, restart Luna once. All set =) If you need anything else, just give me a shout in comment =)

ps. well, FYI, I did put Thai character of TH SarabunNew into webOS’s Arial and Thonburi’s into Prelude.

note: due to excessive spamming, I couldn’t approve real people comments in time. I have to delete spams in database instead. If you guys which have a problem are still around, let me know again. Sorry for inconvenience. I think I’ll move to #Disqus avoiding this issue as soon as possible.

Popularity: 6% [?]

Colorizing VIM

The more you use vim, the further you are from all other text editors. However, when you get your new box ready, vim is likely not to enable syntax color by default. You can choose to do that individually or for everyone. If you decide to let other manage this on their own, you can just create ~/.vimrc or you can opt for system wide setting in /etc/vim/vimrc.

in /etc/vim/vimrc, you will find:-

" syntax

on which mean it’s commented out. What you have to do is uncomment it, save, and try. For ~/.vimrc, you can just touch that file and type syntax on or you can just do:

$ echo 'syntax on' > ~/.vimrc

That should do it.

Popularity: 2% [?]

Better Firefox toolbar in Linux

While it looks just right in Windows, default toolbar in Linux just looks way too bulky: gap & padding for buttons are just too big. However, none can’t be customized. Here is what I configure mine.

For Firefox, it will read userChrome.css for custom UI. It’s located in /home/<user-name>/.mozilla/firefox/<random>.default/chrome/ You can just create one.

/* Menu Bar - Shrink and Fade Text */
#navigator-toolbox .menubar-text {
	font-size: 70% !important;
	color: #999 !important;
	}

/* URL Bar and Search Bar - Shrink and Fade Text*/
#urlbar, #searchbar{
	font-size: 85% !important;
	color: #333 !important;
	}

/* Tabs - Shrink Font and Height*/
.tabbrowser-tabs {
	font-size: 80% !important;
	height: 20px !important;
	}
.tabbrowser-strip {
	height: 22px !important;
	}

/* Bookmarks Toolbar - Shrink Font and Size*/
#PersonalToolbar {
	font-size: 90% !important;
	padding: 0px !important;
	margin: 0px !important;
	max-height: 20px !important;
	}
	/* Seperators - Remove */
	#PersonalToolbar toolbarseparator {
		display: none !important;
		}
	/* Toolbar Buttons - Reduce Margins */
	#PersonalToolbar toolbarbutton {
		margin: 0 -5px 0 -1px !important;
		}
	/* Toolbar Icons - Shrink and Reduce Margins */
	#PersonalToolbar .toolbarbutton-icon {
		max-width: 12px !important;
		max-height: 12px !important;
		margin: 0px 2px 0px 0px !important;
		}




This will reduce button size into what it should be. Surely you can adjust suiting your preference easily with a bit knowledge of CSS.

Popularity: 4% [?]

Does defragmentation really help?

I was not defragmentation believer that much until using Outlook for a while and most of Outlook users would know how darned slow it is. I usually have to wait about >30s to be able to open the mail otherwise Outlook will freeze for 5 sec or so.

Now—since my machine has done disk defrag, now I could use Outlook as fast as Thunderbird [might not that fast, but waiting few sec comparing to a min is fantastic.] Ohh my god! it’s really helping. My outlook databases (3*IMAP) are about 800MB, 500MB and 200MB. FYI, whole defrag process is about 5 min or so for my 120GB with about 50% free of space.

I don’t know which one is the best, but I can say that Auslogics Disk Defrag is worth checking out. It’s free and fast, enough huh? If you have any advice, I would love to hear.

Popularity: 3% [?]