Chapter 5. Configuring Plasma Active draft
Filename: "cha5-plasma-active.xml"
ID: #cha.plasma_active.configure

Contents

5.1. Systemsettingsdraft
5.2. Binding a WebDAV into your Plasma Activeready
5.3. Soundsettingsdraft
5.4. Configuring Bluetoothdraft
5.5. Configuring the Keyboarddraft

This chapter shows you some options to configure Plasma Active.

5.1. Systemsettingsdraft
Filename: "cha5-plasma-active.xml"
ID: #sec.plasma_active.configure

Plasma Active has a central tool to manage the system settings. In the next steps i will show you the options.

Procedure 5.1. Starting the Systemsettings-Appdraft

  1. Pull down your Systembar.

  2. Tap on Settings.

  3. Now this picture comes up:

  4. Under Start page you can place your preferred Browser Startup page. On Block ads you can enable and disable the Adfilter. With the field Enable plugins you can enable and disable plugins. With the button Clear history you can clean up the browser cache.

  5. Tapping on Time and Date will bring you to this window:

  6. With the switch Use-24-hour clock you can change from 12 to 24 hour clock and back. With the button Timezone you can set your local time. With the switch Set time automatically you can ping a timeserver to get the correct time. If you checked this switch you can with Pick a server choose a timeserver near you.

The Settings-App is right now under heavy development (like Plasma Active too). So the pictures may differ from your view.

5.2. Binding a WebDAV into your Plasma Activeready
Filename: "cha5-plasma-active.xml"
ID: #sec.plasma-active.webdav

Sometimes it is important to access a remote folder. This can be a business WebDAV folder or your own Owncloud. In the next steps I will show you how to add a WebDAV folder from Owncloud into Plasma Active.

  1. First we have to add the filesystem-Repository. To doing that just pull down your Systembar and tap on Konsole. There we type that:

    sudo zypper addrepo --refresh http://download.opensuse.org/repositories/filesystems/openSUSE_12.1 filesystems
  2. Then type::

    sudo zypper in davfs2

    So the package davfs2 will be added to your system.

  3. Then type in the console:

    kdesu kwrite /etc/fstab

    After this entry the Texteditor KWrite will start and the file /etc/fstab will be open.

    [Warning]

    Be careful. Changing these entries just should done by an experienced user, otherwise you can crash your system.

    [Important]

    During my last test of this I had trouble with the virtual keyboard. It does not comes up with rooted KWrite. So you have may to plug in a external USB-Keyboard.

  4. Type now on the end of the file anything like that:

    http://your.owncloudserver.de/files/webdav.php /home/$USER/webdav/your.folder davfs rw,noauto,user 0 0

    First, you have to type the full URL to your Owncloud. Instead of http://your.ownloudserver.de you should use your own URL. Secondly, /home/$USER/webdav/your.folder you should type your Mountpoint. Please keep in mind that you should create this folder after this Tutorial. All after /home/$USER can be fully customized by yourself. If you are planning to use more than one WebDAV it is better to use one folder like webdav to put all other Subfolders inside. Instead of your.folder you can assign it any name.

  5. Now we have to add your username to the group davfs2:

    sudo useradd -G davfs2 $USER

    Instead of $USER you should use your username. Then reboot Plasma Active.

  6. After restarting Plasma Active you will see in your /home a new hidden folder .davfs2. Pull down your Systembar and tap on Dolphin.

  7. Tap on the hidden folder .davfs and tap there on the file secrets.

    [Important]

    If you cant see any hidden folders, then go to View+ Show Hidden Files.

    Now open KWrite with the secrets file. The file looks like:

    # Credential Line
    # ---------------
    # A credential line consists of the mount-point, the user-name and
    # the password. The mount-point must be an absolute path, starting
    # with /. The password may be omitted.
    # For compatibility with older versions, instead of the mount-point
    # the URL may be given. The URL must contain scheme, fully qualified
    # domain name and path. If the path segment is missing, / is assumed.
    
    # Examples
    # /home/otto/foo                otto          g3H\"x\ 7z\\
    # /media/dav/bar                otto          geheim
    # Old style
    # "http://foo.bar/my documents" otto          "geh # heim"
    # https://foo.bar:333/dav       otto          geh\ \#\ heim
  8. Below the last entry you can add something like that:

    http://your.ownloudserver.de/files/webdav.php admin 123456

    The first part should be the URL to your Owncloudserver. admin is a replaceable with your real username in the Owncloud. Also 123456 is a replaceable for your Password there.

  9. Now you have the most important things done and you can create a Shellscript that mounts the WebDAV while logging on into Plasma Active. So you can start KWrite again and you can write anything like that:

    #!/bin/bash
    mount /home/$USER/webdav/your.folder

    Tap now on Save as.... Now you can navigate to your bin folder inside your /home partition. Give the Script a unique name like webdav.sh.

  10. Now start the Console. There we make the Script executable.

    cd bin
    chmod +x webdav.sh

    Now the technical part is done, and you just have to make the Script available in Plasma Active.

  11. Pull down your Systembar, and tap inside the searchfield. Type there System, and tap then on Systemsettings.

  12. Tap inside of Systemsettingson Starten und Beenden. The first part Autostart is important for us. Tap there on Add Script and navigate to your bin and select there webdav.sh.

  13. Tap now on the blue arrow to come again to the main menu. Then you can close the application.

5.3. Soundsettingsdraft
Filename: "cha5-plasma-active.xml"
ID: #sec.plasma_active.sound

5.4. Configuring Bluetoothdraft
Filename: "cha5-plasma-active.xml"
ID: #sec.plasma_active.bluetooth

5.5. Configuring the Keyboarddraft
Filename: "cha5-plasma-active.xml"
ID: #sec.plasma_active.keyboard