I'm sponsoring this fast-track case for Kazuhiko Maekawa. The time is set to 08/05/2010.
Template Version: @(#)sac_nextcase 1.70 03/30/10 SMI This information is Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 1. Introduction 1.1. Project/Component Working Name: Input Method Framework selector and IMF default change 1.2. Name of Document Author/Supplier: Author: Kazuhiko Maekawa 1.3 Date of This Document: 29 July, 2010 4. Technical Description Input Method Framework selector and IMF default change 4. Technical Description OVERVIEW IMF (Input Method Framework) selector, imf-selector, enables users to select their preferred IMF (IIIMF[1], SCIM[2], IBus[3]) and also start/stop IMF daemon on their desktop through GUI. This case is also to change system default IMF from IIIMF to IBus which becomes de-facto standard in recent major Linux distributions. Locales that IMF is invoked by default is also changed from all UTF-8 locales to only Asian locales since EMEA users most likely prefer Gnome Keyboard Switcher GUI (PSARC/2009/558) which is popular in Linux. Note - the IMF default change is planned in later build after imf-selector integration. DETAILES To switch IMF, currently users need to change GTK_IM_MODULE env variable (eg, in $HOME/.profile) and also enable/disable each IMF daemon through gnome-session-properties(1). This project makes users to switch IMF easily by providing one consolidated configuration tool. The current IMF startup mechanism is not consistent among IMFs. This project also makes the mechanism consistent. - Each IMF package will have a startup configuration file <number>.<name> and it will be stored under /etc/X11/xinit/imf.d directory. - /etc/X11/xinit/xinitrc.d/0210.im script which is called as a part of gdm session startup, will refer to the imf.d directory and start one IMF with the smallest numbering file name by default. Note - 0210.im script will be moved from SUNWdesktop-startup-root to a new G11N package (system:input-method:enabler). - When user configures preferred IMF through imf-selector GUI, corresponding IMF config file will be is saved as $HOME/.imf, and will be used prior to system default IMF in future desktop login session. The 0210.im script decides the invoking IMF according to the the following configurations in priority order. 1. $HOME/.imf 2. GTK_IM_MODULE or xmodifie...@im variable specified by users 3. /etc/X11/xinitrc/imf.d/ USER OPERATION /usr/bin/imf-selector can be invoked via "System->Preferences-> Input Method Selector" menu or terminal. The imf-selector shows available IMFs on user's system. User can select one of them and also start/stop IMF daemon on user's desktop. Then, imf-selector shows up a dialog to notify users that the configuration change will be effective from next desktop login. INTERFACE STABILITIES INTERFACE NAME STABILITY NOTE ----------------------------------------------------------------------- system:input-method:enabler Uncommitted package (svr4: SUNWimf-enabler SUNWimf-enabler-root) /usr/bin/imf-selector Committed imf-selector GUI launcher The following are all Project Private. $HOME/.imf User's preference save file /etc/X11/xinitrc/imf.d/ IMF config file store dir /etc/X11/xinit/xinitrc.d/0210.im Xsession script for IMF /usr/share/applications/imf-selector.desktop Desktop menu /usr/share/gnome/help/imf-selector Help contents /usr/share/omf/imf-selector/imf-selector-C.omf Help entry file /etc/iiim/xsession Obsolate iiimf startup script /etc/scim/xsession Obsolete scim startup script /etc/xdg/autostart/iiim.desktop Obsolete iiimf daemon launcher /etc/xdg/autostart/ibus.desktop Obsolete ibus daemon launcher RELEASE BINDING The project team asks for Micro/Path release binding REFERENCES [1] IIIMF r12 PSARC 2005/525 IIIMF upgrade to revision 12 [2] SCIM PSARC/2008/418 integrate SCIM to Solaris [3] IBus Input Method framework PSARC 2009/499 IBus integration [4] gnome keyboard switcher PSARC/2009/558 gnome keyboard switcher re-integration 6. Resources and Schedule 6.4. Steering Committee requested information 6.4.1. Consolidation C-team Name: G11N 6.5. ARC review type: FastTrack 6.6. ARC Exposure: open _______________________________________________ opensolaris-arc mailing list opensolaris-arc@opensolaris.org