The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)
Sailfish/ButterflyTouch
From Mer Wiki
< Sailfish(Difference between revisions)
(Corrected Xorg configuration file typo) |
(Update to use new SDK alpha with Qt5 and Wayland) |
||
Line 12: | Line 12: | ||
=== USB key setup === | === USB key setup === | ||
* Extract root filesystem from emulator virtualbox image | * Extract root filesystem from emulator virtualbox image | ||
− | VBoxManage internalcommands converttoraw sailfishos.vdi sailfish.raw | + | VBoxManage internalcommands converttoraw ~/SailfishOS/emulator/sailfishos.vdi sailfish.raw |
* Copy to flash key | * Copy to flash key | ||
sudo dd if=sailfish.raw of=/dev/sd* bs=4M | sudo dd if=sailfish.raw of=/dev/sd* bs=4M | ||
Line 23: | Line 23: | ||
* Place the USB key in ButteflyTouch | * Place the USB key in ButteflyTouch | ||
* Boot, press F12 button to access boot device selection menu and select USB | * Boot, press F12 button to access boot device selection menu and select USB | ||
− | * Ctrl/Alt F2 - Login root/ | + | * Ctrl/Alt F2 - Login root/(no password) |
− | * | + | * sshd is already launched by default, but the root account needs a password to allow to connect to it. |
− | * | + | * launch command "passwd", and set the password to nemo. |
− | From now on, you can connect remotely to do the following (it allows copy/pasting the command from a browser and | + | From now on, you can connect remotely to do the following (it allows copy/pasting the command from a browser and not typing by hand). |
− | + | * Edit /usr/lib/qt5/qml/Sailfish/Silica/ApplicationWindow.qml | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | * Edit | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
//width: _transpose ? screen.height : screen.width | //width: _transpose ? screen.height : screen.width | ||
//height: _transpose ? screen.width : screen.height | //height: _transpose ? screen.width : screen.height | ||
Line 97: | Line 36: | ||
height: 768 | height: 768 | ||
− | * Put the display in portrait mode. | + | * Put the display in portrait mode. |
+ | The original command don't work anymore, so edit the file manually : | ||
+ | vim /etc/gconf/gconf.xml.mandatory/desktop/jolla/components/%gconf.xml | ||
+ | and replace the angle "0" by "90". | ||
+ | |||
+ | The original command was: | ||
su nemo # to switch to nemo user | su nemo # to switch to nemo user | ||
gconftool-2 --set /desktop/jolla/components/screen_rotation_angle --type int 90 | gconftool-2 --set /desktop/jolla/components/screen_rotation_angle --type int 90 | ||
* reboot the system, press F12 to select boot from USB, and then it should boot to sailfish, with the graphical interface showing. | * reboot the system, press F12 to select boot from USB, and then it should boot to sailfish, with the graphical interface showing. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Working parts == | == Working parts == | ||
− | * Touchscreen | + | * Touchscreen |
− | + | * General sailfish interface | |
− | * General sailfish interface | + | * The silica component demo |
− | * The silica component demo | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
== Known issues == | == Known issues == | ||
− | * | + | * None yet... |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 14:13, 4 August 2013
Work in progress. This is mostly inspired from the ExoPC tutorial, with adaptation for this hardware.
Contents |
Install Sailfish SDK Emulator on ButterflyTouch
This page has instructions on how to install Sailfish SDK emulator on your Packard Bell Butterfly Touch.
It is a x86 (Intel SU4100 dual core x86_64) based laptop/tablet PC. It has a 11.6" resistive touch screen (1366x768). It uses a Intel GM45 Express Chipset.
Install Steps
USB key setup
- Extract root filesystem from emulator virtualbox image
VBoxManage internalcommands converttoraw ~/SailfishOS/emulator/sailfishos.vdi sailfish.raw
- Copy to flash key
sudo dd if=sailfish.raw of=/dev/sd* bs=4M sync
- Mount flash key
- Edit /boot/extlinux/extlinux.conf to boot from sdb1 and add rootwait
Running on the ButterflyTouch
- The following has been done with Ethernet cable plugged. Wifi activation could be added later on.
- Place the USB key in ButteflyTouch
- Boot, press F12 button to access boot device selection menu and select USB
- Ctrl/Alt F2 - Login root/(no password)
- sshd is already launched by default, but the root account needs a password to allow to connect to it.
- launch command "passwd", and set the password to nemo.
From now on, you can connect remotely to do the following (it allows copy/pasting the command from a browser and not typing by hand).
- Edit /usr/lib/qt5/qml/Sailfish/Silica/ApplicationWindow.qml
//width: _transpose ? screen.height : screen.width //height: _transpose ? screen.width : screen.height width: 1366 height: 768
- Put the display in portrait mode.
The original command don't work anymore, so edit the file manually :
vim /etc/gconf/gconf.xml.mandatory/desktop/jolla/components/%gconf.xml
and replace the angle "0" by "90".
The original command was:
su nemo # to switch to nemo user gconftool-2 --set /desktop/jolla/components/screen_rotation_angle --type int 90
- reboot the system, press F12 to select boot from USB, and then it should boot to sailfish, with the graphical interface showing.
Working parts
- Touchscreen
- General sailfish interface
- The silica component demo
Known issues
- None yet...