Plasma/Active/Installation: Difference between revisions

From KDE Community Wiki
< Plasma‎ | Active
(Added link to Mer wiki)
(Updated WeTab installation instructions, including)
Line 41: Line 41:
1. Plug the flashdrive into the WeTab/ExoPC (In some cases WeTab only works with special flashed BIOS from ExoPC).
1. Plug the flashdrive into the WeTab/ExoPC (In some cases WeTab only works with special flashed BIOS from ExoPC).


2. Get the WeTab/ExoPC running.
2. Press the power button


3. Press the power (top left underside) + softtouch (top left upperside) buttons until it reboots.
3. Once the WeTab starts to boot (Blue LED on WeTab lights up or LED on stick lights up) press power button together with softtouch button (round area in top left corner of touch screen) for approximately 1 second (longer press will shut it down again)


4. When it reboots, press "BBS" to display a boot menu.
4. Press the softtouch button until it boots


5. Choose the flash drive in the boot menu (press the softtouch button briefly to move to the next selection; press the softtouch button longer to emulate Enter).
==== Installation with USB keyboard ====


6. Choose in the boot menu using the softtouch button
1. Connect a USB keyboard to the WeTab
 
2. Follow steps 1-3 above to get to the boot menu
 
3. Press the softtouch button shortly to select "Installation"
 
4. Hold the softtouch button until the boot procedure starts
 
5. When the boot procedure stops, press enter on the USB keyboard and a message saying "Select one disk to install" will appear
 
6. Type the number of the local SSD and hit <Enter>
 
7. Select "Full disc install" <Enter>
 
8. Confirm with <y> <Enter>
 
9. After the installation has finished, remove the USB stick and USB keyboard and press the power button until it shuts down.
 
==== Installation without USB keyboard ====
Please choose via 6 second tab on frontside sensor button the 'Boot MeeGo' instead of 'Installation' entry. Wait until Plasma Active is boot completely into the user interface. Open the 'Konsole' application from the peek area by pulling down the top bar. Enter following commands via virtual keyboard to call the installer (password is 'mer'):
 
<nowiki>
user@device# su
root@device# export PATH=${PATH}:/sbin:/usr/sbin
root@device# installer-shell
root@device# reboot
</nowiki>


=== Balsam Professional live image (includes live installer) ===
=== Balsam Professional live image (includes live installer) ===

Revision as of 19:04, 27 May 2013

Download Plasma Active 3 official release

You can find the operating system image for the official release of Plasma Active 3 at this link at basysKom download center

Install Plasma Active on ARM Systems

Advent Vega and Point of View TAB-TEG-10-1-4GB-3G Mer Plasma Active MMC raw image

The Mer project creates a Plasma Active MMC Image which is build for the armv7hl target devices like the ARM Tegra 2 tablet. For more details please see the related Mer Wiki.

You can also download the kernel boot image, the external MMC image and some additional helper scripts from basysKom download center.

Archos gen9 Mer Plasma Active root filesystem tarballs

basysKom creates weekly Plasma Active Mer development and testing tarballs for the Archos gen9.

There are tarballs with and without hardware acceleration available and also different kernel images to setup an dual boot system with Plasma Active. Login Data: User mer password mer; User root password mer

You can try the Archos gen9 Plasma Active Mer root filesystem tarballs from basysKom download center.

Read http://basyskom.com/news/138-archos-plasma-active.html for additional information

Other Systems

Viewsonic Viewpad 10s / Advent Vega / Point of View tablets

Read KDE Forum page

Deploying a Plasma Active (MMC) raw Image to a MultiMediaCard

A Installation description for MultiMediaCards could be found in the MeeGo ARM Wiki.

Plasma Active for Nexus 7

There is a testing release of Plasma Active for Nexus 7. Event though very much already works reasonably well, there are still some glitches. So, please don’t expect a 100% working system.

For detailed installation instructions, see the article on the Mer Wiki

Install Plasma Active on x86 Systems

Live Images

Live-Images of plasma active are provided. Installation sources are mentioned below and how to use them. For plasma active images are provided to run native on the system like ARM-Image or as a boot-stick imaga that can be used to play around an then probably install it on your system. These images are probably the easies and fastest way to get the plasma active user experience, play around, first app development, demos and show cases.

Booting the Live Image on a WeTab/ExoPC

1. Plug the flashdrive into the WeTab/ExoPC (In some cases WeTab only works with special flashed BIOS from ExoPC).

2. Press the power button

3. Once the WeTab starts to boot (Blue LED on WeTab lights up or LED on stick lights up) press power button together with softtouch button (round area in top left corner of touch screen) for approximately 1 second (longer press will shut it down again)

4. Press the softtouch button until it boots

Installation with USB keyboard

1. Connect a USB keyboard to the WeTab

2. Follow steps 1-3 above to get to the boot menu

3. Press the softtouch button shortly to select "Installation"

4. Hold the softtouch button until the boot procedure starts

5. When the boot procedure stops, press enter on the USB keyboard and a message saying "Select one disk to install" will appear

6. Type the number of the local SSD and hit <Enter>

7. Select "Full disc install" <Enter>

8. Confirm with <y> <Enter>

9. After the installation has finished, remove the USB stick and USB keyboard and press the power button until it shuts down.

Installation without USB keyboard

Please choose via 6 second tab on frontside sensor button the 'Boot MeeGo' instead of 'Installation' entry. Wait until Plasma Active is boot completely into the user interface. Open the 'Konsole' application from the peek area by pulling down the top bar. Enter following commands via virtual keyboard to call the installer (password is 'mer'):

 user@device# su 
 root@device# export PATH=${PATH}:/sbin:/usr/sbin 
 root@device# installer-shell 
 root@device# reboot
 

Balsam Professional live image (includes live installer)

open-slx creates regularly updated packages of Plasma Active which includes a preconfigured Balsam Professional. You can try the Live ISO from a USB stick. Download the Balsam Professional live image download.open-slx.com/iso/12.1/plasma-active-2.iso (checksum).

The image plasma-active-2.iso is always the newest one and a link to the plasma-active-<xxx>.iso in the download repo. Please check the changelog and README. The images are also booting WeTabs without flashed BIOS. Remember WeTabs won't start normal usb-sticks. They need a special mbrid-configuration.

The image comes with a live-installer. This is currently availible via Konsole. This works:

- Download the image and put it on a stick. See also README and Changelog on download.open-slx.com/iso/12.1

- connect a usb-keyboard to the system

- Boot the stick and wait until Plasma Active is running

- Open a konsole and change to root via typing: su -

- Enter yast2 live-installer

- Follow the instructions. You can configure dualboot, user and partioning the native system

If this does not work please contact us on the active mailing list or direcly at open-slx to improve this description with an email: [email protected].

Kubuntu Active

Current stable release of a Kubuntu remix with Plasma Active is available at

http://cdimage.ubuntu.com/kubuntu-active/releases/12.10/release/

Daily unstable images of a Kubuntu Active are at

http://cdimage.ubuntu.com/kubuntu-active/daily-live/

You can burn image to CD (e.g. with k3b) or USB (e.g. with usb-creator-kde)

https://help.ubuntu.com/community/BurningIsoHowto#Kubuntu

It includes an installer ubiquity.

MeeGo Plasma Active Live (Installable) Image

basysKom creates weekly Plasma Active MeeGo development and testing images.

This image is an adaption of the public meego-tablet-ia32-pinetrail variant and it is bootable on x86 based devices like WeTab, ExoPC or the Idea Pad. Login Data: User meego password meego; User root password meego

You can try the installable MeeGo Live ISO for a USB flash drive or CD/DVD from basysKom download center.

Mer Plasma Active Live (Installable) Image

basysKom creates weekly Plasma Active Mer development and testing images.

This image bootable on x86 based devices like WeTab, ExoPC or the Idea Pad. Login Data: User mer password mer; User root password mer

You can try the installable Mer Live ISO for a USB flash drive or CD/DVD from basysKom download center.


On Linux you can compare the hash between the image and related checksum file using the following command (with both the image and the checksum file in the same directory):

   user@host# sha1sum -c <checksum file>
   user@host# md5sum -c <checksum file>

If the command returns "<image name>: FAILED", please download the image one more time and check again.


After validation feel free to deploy the image to a not mounted USB flashdrive. In the following example we use the tool 'dd' for this:

   root@host# dd if=<image file> of=/dev/<USB flashdrive> bs=1M

Please note, the usage of this tool is potentially dangerous! In case of a mistaken output device, all data on it will be irrecoverably lost.

To get the correct output device for this tool, please follow the steps below:

1. Remove all mobile flashdrives from your host system.

2. Enter the command below and note the output.

   user@host# cat /proc/partitions
   major minor  #blocks  name
     8     0    3000000  sda
     8     1    2999998  sda1

3. Plug the Flashdrive for deploying into the host system.

4. Enter the following command and note the output again.

   user@host# cat /proc/partitions
   major minor  #blocks  name
     8     0    30000000 sda
     8     1    29999998 sda1
     8     16    3872256 sdb
     8     17     594944 sdb1

5. In this example the correct dd parameter is sdb in the position of <USB flashdrive>.

If you prefer you can disable connman and install Plasma NetworkManagement to manage your network devices (wireless for example).

Running Plasma Active in a Virtual Machine

When running Plasma Active in a virtual machine, consider that performance will not be as good as when it runs natively on the devices it has been designed for. For testing, we strongly recommend running Plasma Active on a device. The following limitations need consideration when using a virtual machine instead of a real device:

  • Performance, especially graphics, boot and application startup might be reduced
  • Advanced visual effects might not be available or work correctly in the virtual machine. This can lead to degradation of certain features, performance, visual effects and possibly stability
  • User interfaces designed for touch-screens often work less efficiently for mouse and keyboard based input methods, or feel less natural.

We have found VirtualBox to basically work, albeit in some cases the above problems have been noted. Read on for instructions on how to have a first look at Plasma Active, even without suitable hardware.

Virtual Box

Before you can start the image via VirtualBox, please configure the virtual device as below.

VirtualBox OSE Manager

  Settings
  ├── General
  │   └── Basic
  │       ├── Name --> e.g. Plasma-contour
  │       ├── Operating System --> Linux
  │       └── Version --> Linux 2.6
  ├── System
  │   ├── Motherboard
  │   │   ├── Boot Order
  │   │   │   ├── CD/DVD-ROM
  │   │   │   └── Hard Disk
  │   │   └── Base Memory --> 1024MB
  │   └── Processor
  │       └── Enable PAE/NX
  ├── Display
  │   └── Video
  │       ├── Video Memory --> 128 MB
  │       └── Enable 3D Acceleration
  └── Storage
      ├── IDE Controller
      │   └── IDE Secondary Master
      │       └── Set up the virtual CD/DVD drive
      │           └── <ISO image>
      └── SATA Controller
          └── Hard Disk
              └── Set up the virtual hard disk
                  ├── Dynamically expanding storage
                  └── Virtual Size --> 8.00 GB

Please note, only live images since 2011-07-20-10-50-meego-plasma-contour-in-progress-USB-live.iso are runnable via VirtualBox.

Please note, if you'd like to install our live image to an VirtualBox hard drive, you have to remove the live image from the virtual CD/DVD-ROM after installation. This will be done after Power off the machine via VirtualBox OSE Manager.

  Settings
  └── System
      └── Motherboard
          └── Boot Order
              ├── CD/DVD-ROM --> disable
              └── Hard Disk

Once MeeGo/Plasma Active is installed, you may want to enable the mouse cursor.

Installation on Balsam Professional

In order to install the latest development snapshots on Balsam Professional. You have to add two repositories to your system.

Important: Since Balsam Professional 12.1 no special KDE updates are needed. Just use the plasma active repo from open-slx.

Installation Recipe

You can also install plasma active in fist installing a standard desktop environment, add plasma active to the installation and then change the starting UX. We explain this here with a KDE4 live-image that is later changed to plasma active ux.

Preparation

For initial installation, a mouse is helpful and an external keyboard is essential.


As you are going to install packages from a different repository, or so-called "vendor", you can make your life easier by telling zypper to automatically resolve packages across vendors (Each repository is a new vendor). In /etc/zypp/zypp.conf, change the following line

solver.allowVendorChange = false

to

solver.allowVendorChange = true

(You don't need to perform the step above if you follow the YaST-based alternatives offered below.)

Repository Setup

Register KDE:Active repositories:

zypper addrepo --refresh \
    http://download.open-slx.com/balsam/professional/distribution/plasma-active/12.1/ plasma-active
 

Increase KDE:Active packages' priority, we want the KDE:Active versions that are built with Active-specific options (higher prio than Balsam Professional which is 99 by default):

zypper modifyrepo --priority 90 plasma-active
 

(Alternative: Use YaST's Software Repositories feature to add the repository http://download.open-slx.com/balsam/professional/distribution/plasma-active/12.1/, and set its priority to 90.)


Installation

In order to install the Plasma Active specific packages and have the device boot into the Active workspace by default, do the following:

zypper install plasma-contour-config plasma-declarative-widgets contour
 

Make sure you install everything offered from the updated repositories. (The vendor change config option should already take care of that.)

Installation of Plasma Active from sources (developer only)

While the recommended way to test Plasma Active is with the above recipe using the binary packages, it is possible to build Plasma Active from the source repository, anyone who wants to try the versions or get the bleeding edge from the repository can build plasma-mobile from sources. The recommended way is to follow the usual kde from sources build instructions. It is also possible to use the binary kde packages as a base.

It is necessary to install some packages (and their dependencies) to have a working development environment: sudo zypper install gcc gcc-c++ git cmake, kdelibs-devel

Released Versions

Released versions are on the KDE FTP server ftp://ftp.kde.org/pub/kde/stable/active/

Revision Control

The latest sources are in KDE's Git repository. Clone the plasma mobile source repository and build:

 git clone git://anongit.kde.org/plasma-mobile
 cd plasma-mobile
 mkdir build
 cd build
 cmake .. -DCMAKE_INSTALL_PREFIX=/usr
 make
 sudo make install

Installing Additional Software

There are a few KDE projects that have created touch friendly versions of their applications already. These versions are included in the plasma-active repository. Currently, these are:

  • Calligra Active - Install package calligra-active
  • Kontact Touch - Install package kontact
  • Bangarang - Install package bangarang

In addition, some applications already work quite well together with active. The following is a list of applications that work ok on a touchscreen:

  • Okular - For viewing documents.
  • Marble - Virtual globe, includes routing support.
  • Bangarang - Media player, uses Nepomuk for listing media.
  • Dolphin - File manager.

MeeGo Installation from meego repository

Installation

A repository of most of KDE components, including Plasma Active for MeeGo is at https://build.pub.meego.com/project/show?project=Project%3AKDE%3ATrunk%3ATesting and is available for both i586 and ARM, which is added by running the following command if you are using MeeGo trunk

zypper ar http://repo.pub.meego.com/Project:/KDE:/Trunk:/Testing/Trunk/Project:KDE:Trunk:Testing.repo
 

or for MeeGo 1.2 users:

zypper ar http://repo.pub.meego.com/Project:/KDE:/Trunk:/Testing/MeeGo_1.2_oss/Project:KDE:Trunk:Testing.repo
 

To install the software run the following command:

zypper install plasma-contour-config
 

UX Launch

uxlaunch is the MeeGo component that actually launches the shell. There are two ways of switching the default MeeGo Tablet UX shell to Plasma.

Changing UX permanently

Edit /etc/sysconfig/uxlaunch and change the session key to "/usr/bin/startkde" (Plasma Active One) or "/usr/bin/startactive" (Plasma Active Two).

Dynamic UX selection at boot

Finally, to switch to using the plasma tablet UX in MeeGo, use the uxselector project, following the instructions found here: http://wiki.meego.com/MeeGo_Desktop/Changing_Desktops#UXSelect_Switcher_Tool_.28alpha.29 - edit the /etc/xdg/aard/uxselect.conf file to include the following section:

 [plasma]

 name=Plasma Active

 description=The Plasma Active Tablet UX

 # Use this in Plasma Active One
 #path=/usr/bin/startkde

 # Use this in Plasma Active Two
 path=/usr/bin/startactive
 

and add the text plasma text to the uxlist property in the General section.

Known Issues

The Meego tablet UX installs a number of files in /etc/xdg/autostart that are also executed when running Plasma Active, resulting in elements of the Meego tablet UX showing up nevertheless. Workaround is to rename/remove that folder.

Installing Additional Software

There are a few KDE projects that have created touch friendly versions of their applications already. These versions are included in the MeeGo repository. Currently, these are:

  • Calligra Active - Install package calligra-active
  • Kontact Touch - Install package kontact-touch

In addition, some applications already work quite well together with Active. The following is a list of applications that work ok on a touchscreen:

  • Okular - For viewing documents.
  • Marble - Virtual globe, includes routing support.
  • Konsole - Support for virtual keyboard

Other Systems

If you have installed Plasma Active on a system not yet listed here, please add detailed installation instructions in a new section.

HP Slate 500

  • Install Instruction:

This Installaion Procedure is really a mess as you have to patch some files in a unusual way.

    • Step 2 Install kernel
      • Now we have to compile the kernel i do this from runlevel 3 you get into it by either passing 3 to the kernel boot options or entering "#: init 3". Warning make sure you have your Power Cord plugged in during this, else you have to install the system again in the worst case, after that follow this steps:
        • 1. first make sure you dont have any kernel images around rpm -e kernel.
        • 1. cd /root
        • 2. wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.2.tar.bz2
        • 3. tar -jxvf linux-3.2.2.tar.bz2 -C /usr/src
        • 4. cd /usr/src/linux-3.2.2
        • 5. download the config file File:Config-kernel-slate500-1.0.gz
        • 6. run /<path-to-config>/Config-kernel-slate500-1.0.gz > gzip | echo >> /usr/src/linux-3.2.5/.config
        • 7. make oldconfig
        • 8. make ARCH=x86 -j2
        • 9. make ARCH=x86 -j2 modules
        • 10. make ARCH=x86 -j2 modules_install
        • 11. make ARCH=x86 -j2 install
        • 12. cd /boot
        • 13. /usr/libexec -f /boot/initrd.img-3.2.2 3.2.2
        • 14. ln -s vmlinuz-3.2.5 extlinux/vmlinuz-3.2.2
        • 15. ln -s initrd.img-3.2.5 extlinux/initrd-3.2.2
        • 16. modify extlinux.conf and create a entry to the kernel and pass initrd=initrd-3.2.2 to the "append" Line
        • For Wifi you have to place the brcm firmware under /lib/firmware you can get it from here linux-firmware.git
    • Step 3 Install EMGD
      • You can download the emgd-1.10 package from Intel and patch it yourself you can find the patches in yocto-project. Or you can download this patched emgd driver Download. After Unpacking / Patching run "sh install.sh in the Utilities folder.
      • Xorg configuration Download File:09-emgd.conf.tar.gz and run "cat 09-emgd.conf.tar.gz > gzip | echo >> /etc/X11/xorg.conf.d/09-emgd.conf"


    • Step 4 Reboot
      • You should now boot directly into Plasma Active with working emgd driver.