Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/modules/osk/kspost.50.osk-config.sh
blob: a3780a203ab1d325ac3c6bd49325969517b43263 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright (C) 2010 One Laptop Per Child
# Licensed under the terms of the GNU GPL v2 or later; see COPYING for details.

. $OOB__shlib

langs=$(read_config osk languages)

[ -z "$langs" ] && exit 0

oIFS=$IFS
IFS=$'\n\t, '
for lang in $langs; do
	output+=", libmaliit-keyboard-plugin.so:${lang}"
done
IFS=$oIFS

output="${output:2}"
echo 'mkdir -p /etc/xdg/maliit.org'
echo 'echo "[maliit]" > /etc/xdg/maliit.org/server.conf'
echo "echo 'onscreen\\enabled=${output}' >> /etc/xdg/maliit.org/server.conf"