Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tails
tails
Commits
55cade99
Commit
55cade99
authored
Nov 07, 2013
by
Tails developers
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'winterfairy/bugfix/ibus' into devel
parents
bd354cea
2f381501
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
63 additions
and
8 deletions
+63
-8
config/chroot_local-includes/etc/X11/Xsession.d/80im-starter
config/chroot_local-includes/etc/X11/Xsession.d/80im-starter
+36
-0
config/chroot_local-packageslists/tails-common.list
config/chroot_local-packageslists/tails-common.list
+11
-8
wiki/src/contribute/design.mdwn
wiki/src/contribute/design.mdwn
+16
-0
No files found.
config/chroot_local-includes/etc/X11/Xsession.d/80im-starter
0 → 100644
View file @
55cade99
#!/bin/sh
# Start the IBus input method and configure it with
# sensible settings for use in Tails.
# The input method will be configured so it is usable
# no matter what locale the user login with, but with
# correct default engine for those locales that need it.
# Deside order in which input methods are preferred
# (chinese needs pinyin, japanese needs anthy, korean needs hangul)
# (bopomofo is an alternative input method for chinese)
LANGPREFIX
=
`
echo
"
$LANG
"
|
sed
's/_.*//'
`
case
"
$LANGPREFIX
"
in
ja
)
PREFLIST
=
'[anthy,pinyin,hangul,bopomofo]'
;;
ko
)
PREFLIST
=
'[hangul,pinyin,anthy,bopomofo]'
;;
*
)
PREFLIST
=
'[pinyin,anthy,hangul,bopomofo]'
esac
# Configure enabled input methods and their preferred order
gconftool-2
--type
=
list
--list-type
=
string
--set
\
/desktop/ibus/general/preload_engines
"
$PREFLIST
"
# Start the IBus input method daemon
/usr/bin/ibus-daemon
--daemonize
--xim
# Export environment variables to enable use of IBus
export
GTK_IM_MODULE
=
'ibus'
export
QT_IM_MODULE
=
'ibus'
export
XMODIFIERS
=
'@im=ibus'
config/chroot_local-packageslists/tails-common.list
View file @
55cade99
...
...
@@ -236,16 +236,23 @@ xserver-xorg-video-geode
#endif
xserver-xorg-video-all
### Input methods
ibus-gtk
ibus-qt4
## Chinese
ibus-pinyin
## Japanese
ibus-anthy
## Korean
ibus-hangul
### l10n, i18n
## precompiled locales
locales-all
## arabic fonts
ttf-kacst
ttf-farsiweb
## chinese fonts and input systems
scim-pinyin
scim-tables-zh
scim-uim
## chinese fonts
xfonts-intl-chinese
ttf-arphic-ukai
ttf-arphic-uming
...
...
@@ -255,14 +262,10 @@ culmus
libfribidi0
## indic fonts
ttf-indic-fonts
## Japanese input systems
scim-anthy
## Khmer language, used in Cambodia
ttf-khmeros
## Korean fonts
ttf-unfonts-core
## Korean input systems
scim-hangul
## Lao fonts
ttf-lao
## russian fonts
...
...
wiki/src/contribute/design.mdwn
View file @
55cade99
...
...
@@ -748,6 +748,22 @@ are installed. Spell checking software and data is installed for the
set of best supported languages; it is usable at least is Iceweasel,
OpenOffice.org and gedit.
### 3.3.1 Input methods
Tails ships with IBus and a few engines (Anthy for Japanese, Pinyin
and Bopomofo for Chinese, and Hangul for Korean).
A login script configures and enables IBus for all locales: it must be
started at login time to be fully usable (environment variables must
be set up); also, one may want to work on documents written in
Chinese, Japanese or Korean even when selecting English as their
preferred language.
When a Japanese, Chinese or Korean locale is selected, this login
script also selects the right default input method.
- [[!tails_gitweb config/chroot_local-includes/etc/X11/Xsession.d/80im-starter]]
## 3.4 Notification of security issues and new Tails release
Shipped in Tails is a script that checks at each desktop start if
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment