Showing posts with label Linux-BSD-Unix. Show all posts
Showing posts with label Linux-BSD-Unix. Show all posts

Monday, September 13, 2010

Vietnamese typing on Linux

For the list of other platforms, please see my old post: Vietnamese typing.

This entry is mostly for Ubuntu Linux, yet it can be applied on other Debian-based distributions, and probably some RedHat-based distro too.

X-unikey : (Phạm Kim Long)
Download:
https://sites.google.com/site/quoc383011/x-unikey_1.0.4-5_i386.deb

References:
http://sites.google.com/site/wangjihoan/xvnkb-scim-unikey


Xvnkb : (Đào Hải Lâm)
Download:
https://sites.google.com/site/quoc383011/xvnkb-0.2.9a-utf_i386.deb
https://sites.google.com/site/quoc383011/xvnkb_0.3-4ubuntu810_i386.deb

References:
http://wangji.hoan.googlepages.com/xvnkb-revisited


SCIM
Download:

References:
http://code.google.com/p/scim-unikey/


IBus
Download:

References:
http://code.google.com/p/ibus-unikey/


That's all (^o^) ,

Sunday, May 30, 2010

Ubuntu Lucid Lynx

My upgrade from Hardy Heron (8.04) to Lucid Lynx (10.04) went smoothly on desktop PC, but on laptop there were some small issues.

Here are 2 major issues then and how I solved them:

1/ Grub error: boot into text mode only, could not get GUI by startx or xstart command
==> SOLUTION STEPS: fix the old grub (not grub2) menu.lst (or edit boot menu directly)
* Change root partition from by-uuid ("root=UUID=asdf...") to by-path ("root=/dev/sda7")
* Change kernel version from old Hardy (2.6.14-19-generic) to new Lucid (2.6.32-22-generic)


2/ Sound error: could not hear sound, conflict sound system of YouTube/StarDict/VLC/MPlayer
==> SOLUTION STEPS: a little painful
* Run gnome-volume-control to uncheck "Mute" options, try changing sound theme (Ubuntu/NoSound/...)
* Install gnome-alsamixer or pavu, adjust the options and volume
* Resolve the libflashplayer.so location for Flash and libnpjp2.so location for Java RE.
* For StarDict, use aplay as command for playing sound files (usually in /usr/share/WyabdcRealPeopleTTS/ )


Some minor issues may be possible:
- (Gnome) combination (Alt+F2) does not work ==> SOLUTION: enable the "Gnome compatibility" plugin in CompizConfig S Manager (ccsm)
- Postgresql 8.3 startup failed due to memory segmentation ==> SOLUTION: open file postgresql.conf in /etc/postgresql/8.3/main/ and reduce value of the variable shared_buffers (for example 32M -> 16M)
- Some custom launchers' icons are changed ==> SOLUTION: find alternatives in /usr/share/pixmaps/


Hope this helps,

Thursday, March 11, 2010

Y!M pager server

is down for Y!M 6.5 and prior versions:

( http://mediocre-ninja.blogspot.com/2009/06/pidgin-ym-connection.html )

Compatible clients such as Pidgin and Kopete suffers, too. But if you upgrade to the recent versions, it should be fine.

For pidgin (on Ubuntu), you need to upgrade pidgin-data to 2.5.7+ to work with new Y!M protocol.

Tuesday, December 15, 2009

Xmarks for Chrome

Lâu nay thằng FF 3 trên Ubuntu (lappy) cứ bị lỗi ì ạch, chuyển sang 3.5 vẫn chậm, 2.0 thì chạy được nhưng nhiều add-on ko compatible, thế là phải xài KonquerorChromium .
Hai cái này xài được, chỉ vướng 2 chỗ là bookmark (Xmarks) và zoom. May quá bây giờ Google đã release Chrome bản chính thức cho Linux , không những chạy Flash phe phé, mà còn zoom khá hơn, và Xmarks cũng đã hỗ trợ :



bye bye FireFox@lappy !

Sunday, October 18, 2009

Smart technical Questions

If you want a technical support online, you should know how to ask properly:



http://newbielearnlinux.googlepages.com/SmartQuestions

(http://sites.google.com/site/newbielearnlinux2/SmartQuestions)



Warning: this style should NOT be applied when talking with girls, unless you are trying to dump her :-)

Tuesday, September 01, 2009

Maven Archetype quick notes

maven-archetype-plugin allows the user to create a Maven 2 project from an existing template caled an archetype.

If you just use an IDE to generate Maven project, you can be familiar with default project structure of Maven:




Let's consider an example using it to create a "todo-list" project which contains 2 sub-projects: todo-core and todo-web

cd workspace

mkdir -p todo-list

cd todo-list

Old-fashioned way:
mvn archetype:create -DartifactId=todo-core -DgroupId=org.vnoss

mvn archetype:create -DartifactId=todo-web -DgroupId=org.vnoss -DarchetypeArtifactId=maven-archetype-webapp


New way:
mvn archetype:generate

mvn archetype:generate -DarchetypeArtifactId=maven-archetype-webapp

Now we can edit the pom.xml to get desired result.