Archive for the ‘Trick’ Category

Cannot rewrite post/page title by Platinum SEO Pack plugin

Friday, September 16th, 2011

Few days ago, I solved a bug “Cannot rewrite post/page title” of Platinum SEO Pack plugin. If you search somewhere in the Net, you will see the main reason is miss wp_head() function in your WP theme but in my case, the reason is query_posts(). The developer used query_posts() function without wp_reset_query() after so $post variable will be overrided in somewhere if has post/page queries.

So, to solve this bug, just simple (always) put wp_reset_query() after query_posts() except you want to reuse global $post variable.

Bold font problem in Firefox 4

Monday, April 25th, 2011

A few days ago, Firefox 4 on my computer was displayed all fonts in bold style, that’s too bad. I though it because of monitor display setting. But it occurs only in Firefox :| So I asked Mr Google and found the reason. In Firefox 4, it has a new feature called Hardware Acceleration (GPU Rendering). When it is enabled, the font rendering is not correct (in some cases, Catalyst drivers for ATI graphic display is the reason), so simply turn it off to solve this problem by go to FF menu, choose Option -> Advanced -> General, untick Use hardware acceleration when available -> OK.

Making Opera your default browser

Thursday, November 4th, 2010

I’ve installed Opera 10.63. It’s cool :D And I decided to use it as default browser on my system (Ubuntu).

But not like the Opera version for Windows platform. I can’t find the option to set Opera as default browser :| After “research”, I found: there is no options to set in Opera browser, you only can set by go to System > Preferences > Preferred Applications (assume you using Gnome). In the Internet tab, under Web browser label, choose Opera on dropdown box :)

From http://www.opera.com/support/kb/view/802/

Not able to launch Startdict after upgrade system

Tuesday, September 7th, 2010

Someday ago, I upgraded my system & I’m not able to load Stardict. It shows loading icon in taskbar & disappear. When I run Stardict in terminal it gives the messages:

1
2
3
4
5
khanhdn@donamkhanh:~$ stardict
** ERROR **: Can not open config file: /home/khanhdn/.stardict/stardict.cfg, reason: File is empty
 
aborting...
Aborted

Dunno why but I Google-ed & found the simpless solution to resovle it.

1
rm .stardict/stardict.cfg

The problem has sovled :)

Remove the borders of your desktop icon text in Xfce

Saturday, July 3rd, 2010

Xfce is my favourite desktop environment, simple is beautiful :D but it has one point I don’t like: the desktop icons with ugly background & borders around the text. I found the tip can make it looks nice :) (more…)