We have moved to a new Sailfish OS Forum. Please start new discussions there.
![]() | 1 | initial version | posted 2015-02-08 11:27:45 +0200 |
I'm trying to play with the UI. I figure I'll try to write my own keyboard layout. What do I need to do to apply the modified layout without reboot?
I looked at a package that includes a keyboard layout:
$ rpm -qp --scripts hebrewvkbnew-2ar-2lang-0.8-1.armv7hl.rpm
postinstall scriptlet (using /bin/sh):
if [ $1 = 1 ]; then
// Do stuff specific for first install
echo "It's first time install"
fc-cache -f
killall maliit-server
killall jolla-messages
killall jolla-email
killall jolla-notes
killall jolla-clock
else
if [ $1 = 2 ]; then
// Do stuff specific to upgrades
killall maliit-server
fi
fi
postuninstall scriptlet (using /bin/sh):
if [ $1 = 0 ]; then
// Do stuff specific to uninstalls
rm -rf /usr/share/maliit/plugins/com/jolla/custom-he
killall maliit-server
else
if [ $1 = 1 ]; then
// Do stuff specific to upgrades
echo "It's just upgrade"
fi
fi
Is this what I should do? Kill malit-server (it will restart itself?)
![]() | 2 | No.2 Revision |
I'm trying to play with the UI. I figure I'll try to write my own keyboard layout. What do I need to do to apply the modified layout without reboot?
I looked at a package that includes a keyboard layout:
$ rpm -qp --scripts hebrewvkbnew-2ar-2lang-0.8-1.armv7hl.rpm
postinstall scriptlet (using /bin/sh):
if [ $1 = 1 ]; then
// Do stuff specific for first install
echo "It's first time install"
fc-cache -f
killall maliit-server
killall jolla-messages
killall jolla-email
killall jolla-notes
killall jolla-clock
else
if [ $1 = 2 ]; then
// Do stuff specific to upgrades
killall maliit-server
fi
fi
postuninstall scriptlet (using /bin/sh):
if [ $1 = 0 ]; then
// Do stuff specific to uninstalls
rm -rf /usr/share/maliit/plugins/com/jolla/custom-he
killall maliit-server
else
if [ $1 = 1 ]; then
// Do stuff specific to upgrades
echo "It's just upgrade"
fi
fi
Is this what I should do? Kill malit-server maliit-server (it will restart itself?)