Xfce on Gentoo

Once you have X properly installed and configured, just follow  The Xfce Configuration Guide to get Xfce up and running. It is easy and straightward.

SCIM on Xfce

It's now very easy to setup SCIM on Xfce. http://wiki.xfce.org/howto/scim tells you exactly what needs be done. http://en.gentoo-wiki.com/wiki/SCIM is another reference.

First, add the following to the /etc/make.conf

# CJK
USE="${USE} scim immqt-bc cjk unicode nls"

Then do a trial run of emerge:

# emerge -ptv scim scim-tables
These are the packages that would be merged, in reverse order:
 
Calculating dependencies... done!
[ebuild   R   ] app-i18n/scim-tables-0.5.8-r1  USE="nls -kde" LINGUAS="-zh -am -ar -bn -gu -hi -ja -kn -ko -ml -ne -pa -ru -ta -te -th -uk -vi" 0 kB
[ebuild   R   ]  app-i18n/scim-1.4.7-r2  USE="-doc" 0 kB
 

Pay attention to the languages in the LINGUAS field of scim-tables. Add the one you need into your make.conf:

LINGUAS="zh"

Now emerge the SCIM package

# emerge scim scim-tables

You also need to emerge additional language specific package:

  • Chinese: scim-pinyin
  • Korean: scim-hangul
  • Japanese: scim-anthy

Now add the following code to your ~/.xinitrc:

LANG='zh_CN' scim -d
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"

exec startxfce4

Log out, and login again, after you Xfce is loaded, you can hit Ctrl-Space to bring up your SCIM package.

Fonts

For additional fonts, especially CJK fonts, check out the packages in http://packages.gentoo.org/category/media-fonts?full_cat.

For more CJK fonts, check these out:

Instruction for how to install additional fonts can be found in this page http://en.gentoo-wiki.com/wiki/X.Org/Fonts.

After you have installed fonts, run "# fc-cache -fv" to re-generate the font cache.

Audio and Video player

The package "media-video/mplayer" is deprecating. There are a few alternative. I've tried "media-video/smplayer", and it works nicely.

For music, media-sound/audacity works fine. The media-sound/rhythmbox for gnome is also very good, except that it is a huge package for Xfce.

Image viewer

media-gfx/ristretto is a good lightweight image view.

Xfce Goodies

The site http://goodies.xfce.org/ has plenty tools for Xfce, including panel plugins, Xfce applications, etc.

References