Transform your Lenovo s10-3t into a MeeGo Slate

January 6, 2011 Posted by admin

You can do this the easy way or the lazy way.  For the easy way follow the instructions here or for the lazy way follow the instructions below.

Go to Applications -> System Tools -> Terminal.   Type the following into the Terminal.

gedit s103tslate.sh

Copy and paste the script below into gedit then save the file and exit.

#!/bin/sh
set -u
set -e
outfile="`pwd`/s103tslate.log"

# Check for Super User
if [ "`whoami`" != "root" ]
then
  echo "Please run this script using the sudo command."
  echo "$ sudo ./s103tslate.sh"
fi

echo -n "Adding handset repositories..."
cd /etc/zypp/repos.d/
sed 's/netbook/handset/' netbook.repo > handset.repo
zypper refresh &>>$outfile
echo [done]

echo -n "Installing touch utilities and theme..."
zypper --non-interactive install meegotouch-inputmethodbridges meegotouch-inputmethodkeyboard meegotouch-theme meegotouch-theme-meego libmeegotouch-qtstyle meegotouch-systemui &>>$outfile
echo [done]

echo -n "Modifying autostart theme..."
sed 's/^Exec.*$/Exec=\/usr\/bin\/meego-im-uiserver -target slate -bypass-wm-hint/' -i /etc/xdg/autostart/meego-im-uiserver.desktop
sed 's/\(^OnlyShowIn.*;$\)/\1X-MEEGO-NB;/' -i /etc/xdg/autostart/meego-im-uiserver.desktop &>>$outfile
echo [done]

echo -n "Making keyboard background transparent..."
sed 's/\(^.*style="enable-background:new.*;\)/\1opacity:0.4;/' -i /usr/share/themes/base/meegotouch/svg/meegotouch-keyboard.svg
echo [done]

echo
echo "You must restart for the changes to take effect!"

Type the following commands

chmod +x s103tslate.sh
sudo ./s103tslate.sh

If all goes well then after a reboot you should have an onscreen virtual keyboard.  If there are any issues look in the s103tslate.log file for more information.

Remember this is a script that requires superuser privileges.  Though it is highly unlikely I am not responsible for any damage or problems this script may cause on your system.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

css.php