tricks-and-fixes.html 26.2 KB
Newer Older
Milan's avatar
Milan committed
1 2 3 4 5 6 7 8 9 10 11
<!DOCTYPE html>
<html lang="de">
<head>
   <meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta name="keywords" content="oneplus oneplusone opo sailfish sailfish on opo sailfishos">
	<meta name="description" content="Help for you and your Oneplus One with SailfishOS">
 <title>
        Sailfish for Oneplus One - Tricks & Tricks Fixes Fixes
 </title>
</head>
Milan's avatar
Milan committed
12
<link href='scripts/custom.css' rel="stylesheet" type="text/css">
Milan's avatar
Milan committed
13
<script src="scripts/bootstrap/js/jquery.min.js"></script>
Milan's avatar
Milan committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
<body link="#c7c7c7" vlink="#c7c7c7" alink="#c7c7c7">
    <div class="space-top"></div>
    <div class="container shader" id="content">
        <div align="left">
            <ul class="nav nav-tabs">
                <li role="presentation"><a href="home"><img src="img/sailfish-app-icon.png" id="img-frame"> Home</a></li>
                <li role="presentation"><a href="install"><img src="img/sailfish-app-icon.png" id="img-frame"> Installing</a></li>
                <li role="presentation"><a href="warehouse"><img src="img/sailfish-app-icon.png" id="img-frame"> Warehouse</a></li>
                <li role="presentation"><a href="apps"><img src="img/sailfish-app-icon.png" id="img-frame"> Additional Packages</a></li>
                <li role="presentation" class="active"><a href="tricks-and-fixes"><img src="img/sailfish-app-icon.png" id="img-frame"> Tricks & Fixes</a></li>
            </ul>
            <div style="padding-top:50px;"></div>
            <ol class="breadcrumb">
                <li class="active">Start</li>
                <li><a href="#skip-tutorial">skip the tutorial</a></li>
                <li><a href="#bash">first steps with the terminal</a></li>
                <li><a href="#ssh">establish ssh connection</a></li>
                <li><a href="#mtp">activate MTP</a></li>
                <li><a href="#sftp">filetransfer with sftp</a></li>
                <li><a href="#fstab">put data in the fstab</a></li>
                <li><a href="#headphones">sound with headphones</a></li>
                <li><a href="#mp3">mp3 playback</a>
Milan's avatar
Milan committed
36
                <li><a href="#video">video playback</a></li>
Milan's avatar
Milan committed
37 38 39 40 41 42
                <li><a href="#sensor-feedback">sensor feedback</a></li>
                <li><a href="#fix-mobiledata">fix mobile data</a></li>
                <li><a href="#reactivate-mobiledata">reactivate mobile data</a></li>
                <li><a href="#apn-permissions">make APN settings staying saved</a></li>
                <li><a href="#android-share">sharing media with Android</a></li>
                <li><a href="#predictions">keyboard predictions</a></li>
Milan's avatar
Milan committed
43
                <li><a href="#nextcloud">contacts and calendar with nextcloud</a></li>
Milan's avatar
Milan committed
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
                <li><a href="#xmpp">xmpp support</a></li>
            </ol>
            <ul>
                <div class="space-top-sm"></div>                
                <a name="skip-tutorial"></a>
                <h4>Skip the tutorial</h4>
                You can skip the tutorial on tapping into the edges of the screen,<br>
                in clockwise.<br>
                → thanks to <a href="https://forums.oneplus.net/members/horst58.349680/" target="_blank">@horst58</a>
                <div class="space-top-sm"></div>
                <a name="bash"></a>
                <h4>First steps with the terminal</h4>
                If you doesn't have any experience with the terminal, <br>
                the following words might be very helpful:
                <ol>
                    <li>You can autocomplete the most commands, paths and filenames on pressing the tabulator key.</li>
                    <li>You can use the arrow keys to show old commands again and edit them.</li>
                    <ol>
                        <li>arrow up/down will show you the history</li>
                        <li>arrow left/right let you move into the command to correct typos for example</li>
                    </ol>
Milan's avatar
Milan committed
65 66 67
                    <li>The preinstalled terminal application has a very small fontsize.<br>
                        you can change it in the menu, marked with three lines on the top-right located menu in the terminal.</li>
                    <li><i>You define the <code>devel-su</code> password in the developer settings!</i></li>
Milan's avatar
Milan committed
68 69 70 71 72 73 74
                </ol>
                <div class="space-top-sm"></div>
                <a name="ssh"></a>
                <h4>Establish SSH Connection</h4>
                <h5>Why?</h5>
                Working with the Terminal can be pain in the ass, on smartphone keyboards.<br>
                You can use your computer to do this, with a real keyboard.<br>
Milan's avatar
Milan committed
75
                <h5>Lets get started!</h5>
Milan's avatar
Milan committed
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333
                <ol>
                    <li>Open the Settings Application</li>
                    <li>select <strong>`Developer mode`</strong></li>
                    <li>enter an individual password into the <strong>`Set password for SSH and root access`</strong> prompt.</li>
                    <li>press <strong>`safe`</strong></li>
                </ol>
                You will see an IP adress below, in the developer settings.<br>
                On Linux or OS X just open your terminal, maybe called `console` on your pc.<br>
                For Windows users, maybe <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_blank">Putty</a> is a good choice.<br>
                Type <code>ssh nemo@my.ip.ad.re.ss</code> and enter the prevous created password.<br>
                <small>(yes, the default user on the opo build is called "nemo")</small><br>
                <button class="btn btn-info btn-xs" type="button" data-toggle="collapse" data-target="#sshd" aria-expanded="false" aria-controls="sshd">
                    I can't connect to it :'(
                </button>
                <div class="collapse" id="sshd">
                    <div class="well" style="max-width:580px;margin-top:10px;">
                        <h4>Is SSH running on your phone?</h4>
                        <li>open the <strong>`Terminal`</strong> application on your phone</li>
                        <li>run <code>devel-su</code> to get root permissions</li>
                        <li>run <code>systemctl status sshd</code></li>
                        <li>if it doesn't running, start it with <code>systemctl start sshd</code></li>
                        <h4>Is the router blocking your connection?</h4>
                        <li>open the site from your router on your browser (different for every router model)</li>
                        <li>goto Port Mapping (location and name may be different for routermodel)</li>
                        <li>choose/insert your phones IP adress (shown in dev settings in your phone)</li>
                        <li>activate port 22 for this IP adress</li>
                        <li>safe, if needed by your router</li>
                        <li>now, use you <i>public</i> IP adress for connection to your phone,<br>
                            it should be marked as WAN IP adress on the landingpage of your router.</li>
                        <li>Have Fun <strong>:-)</strong></li>
                    </div>
                </div>                
                <div class="space-top-sm"></div>
                <a name="mtp"></a>
                <h4>Activate MTP</h4>
                <ol>
                    <li>Let’s say you want to add your own music to your SailfishOS installation.<br>
                        But you connect it to your PC and it does not open the A0001 or Sailfish folder?<br>
                        Follow these steps to enable Media Transfer Protocol:</li>
                    <ol>
                        <li>Go to the <strong>‘Settings’</strong> application.</li>
                        <li>Select <strong>‘USB’</strong> from the list.</li>
                        <li>Change <strong>‘Default USB mode’</strong> to <strong>‘PC connection’</strong>.</li>
                        <ol>
                            <li>There are more options, you can choose  <code>Always  ask</code> if you change between
                                these modes a lot.</li>
                        </ol>
                        <li>After changing the setting, connect the phone to the computer and start copying!</li>
                    </ol>
                </ol>
                <div class="space-top-sm"></div>
                <a name="sftp"></a>
                <h4>Transferring files using SFTP from Computer to OPO or vice versa.</h4>
                 <img src="img/sf_ip.png" style="display:inline-block;width:204px;border: 4px solid #ccc;" id="f-right">
                    To transfer files using a wireless connection you can use SFTP.<br>
                    Make sure you have set a developer password, and are running a<br>
                    SFTP client on your Computer.<br>
                    For example: FileZilla.<br><br>
                <ol>
                    <li>Find OnePlus One it’s IP address, which can
                        befound under Developer Options in Settings:</li>
                    <li>Open your SFTP application on your
                        Computer and find the ‘Connect’ button</li>
                    <li>Enter the IP address found in Step 1 as<br>
                        remote  server, Use Username nemo and <br>
                        password from ‘Developer tools’ under ‘Settings’. <br>
                        Make sure to use SFTP and Port 22.</li>
                    <li>Click‘Connect’ and you’ll see a basic home folder structure of your OnePlus One.</li>
                    <li>Now you can start uploading the files you like.</li>
                    <li>@Hex reached a 6 Megabyte per second upload while uploading Music,<br>  
                        so this is a bit quicker than MTP, at least for him.</li>

                </ol>
                <div class="space-top-sm"></div>
                <a name="fstab"></a>
                <h4>Put Data in the fstab if lost</h4>
                    <div class="alert alert-danger" style="max-width:320px;"><strong>Do not touch anything in fstab if it looks fine!</strong></div>
                    Let's take a look into the fstab:<br>
                    <code> cat /etc/fstab</code><br>
                    If its empfy, fill it with the following code,<br>
                    to go sure to dont come in trouble with that.<br>
                    You can use your favorite text Editor e.g. <code>Nano</code> or <code>Vim</code><br>
                    Or just do it like that:
                <ol>
                    <li>
                        Paste the following in it:<br><br>
                        <div class="well well-sm" style="max-width:295px;">
                            /dev/root / None defaults,noatime 0 0<br>
                            devpts /dev/pts devpts gid=5,mode=620 0 0<br>
                            tmpfs /dev/shm tmpfs defaults 0 0<br>
                            proc /proc proc defaults 0 0<br>
                            sysfs /sys sysfs defaults 0 0 
                        </div>
                        If the keyboard allow this, use <code>> /etc/fstab</code>, paste it and close the pastebox with ctrl+d.
                    </li>
                    <a href="https://forums.oneplus.net/threads/sailfish-os-for-oneplus-one.279537/page-80#post-14405205" target="_blank"> → for reference see this post</a>
                </ol>
                <div class="space-top-sm"></div>
                <a name="headphones"></a>
                <h4>Enable sound with headphones</h4>
                    For some reason the sound in Headphones is broken after first(?) booting into Sailfish.<br>
                    If you affected by this Problem just do the following:<br>
                <ol>
                    <li>Open the Terminal App</li>
                    <li>Run <code>devel-su</code> to get root permissions</li>
                    <li>Run <code>systemctl restart ohmd.service</code></li>
                    <li>Enjoy</li>
                </ol>
                <div class="space-top-sm"></div>
                <a name="mp3"></a>
                <h4>Enable MP3 playback</h4>
                <ol>
                    <li>Open the Terminal App</li>
                    <li>Run <code>devel-su</code> to get root permissions</li>
                    <li>Run <code>pkcon install gstreamer1.0-libav </code></li>
                    <li><code>cd /home/nemo/Downloads</code></li>
                    <li><code>curl https://openrepos.net/sites/default/files/packages/945/gst-plugins-bad-extra-1.4.5-1.armv7hl.rpm > gst-plugins-bad-extra.rpm </code><small>//the package name is your choice</small></li>
                    <li><code>pkcon install-local gst-plugins-bad-extra.rpm</code></li>
                    <li>try to play some mp3 (maybe restart the player)</li><br>
                    <small><strong>Note:</strong> as every Linux Distribution, you may find other codecs if needed for unfree mediatypes.<br>
                        Maybe you want to search after codec-package names for multimedia in the internet.<br>
                        The package names for fedora might be helpful!</small><br><br>
                <strong>Information:</strong><br>
                I tryed to install a bunch of codecs. If it says, there is something missed, <br>
                go to <a href="http://openrepos.net/" target="_blank">openrepos.net</a>, search it there and grap it.<br>
                Please report me how it works, if there was anything more to install and if mp3 is working.<br>
                If you have Warehouse you may can it install from there, <br>
                but be warned: sometimes there are Warehouse related issues<br>
                and you have better experience with the terminal.
                </ol>
                <div class="space-top-sm"></div>
                <a name="video"></a>
                <h4>Enable video playback</h4>
                Open your <a href="https://sailfish-for-opo.tchncs.de/warehouse">Warehouse App</a> and search for the following packages:
                <ol>
                    <li><code>gstreamer010-ffmpeg-extra</code> from sailfishlib</li>
                    <li><code>gstreamer-1x-bad-extra-codecs-145</code> from larswad</li>
                    <li><code>gstreamer-1x-ugly-codecs-145</code> from larswad</li>
                    <li><code>gstreamer10-libav</code> from ruedigergad</li>
                </ol>
                Please make sure to install them in order as written.
                <br><br>
                Of course you can use your Terminal also:
                <ol>
                    <li>Open the Terminal App</li>
                    <li>Run <code>devel-su</code> to get root permissions</li>
                    <li>Download the packages using <code>curl path/to/online/package.armv7hl.rpm > mypackagename.armv7hl.rpm</code></li>
                    <ol>
                        Fetch the latest packages here:
                        <li><a href="https://openrepos.net/content/sailfishlib/gstreamer010-ffmpeg-extra" target="_blank">gstreamer010-ffmpeg-extra</a></li>
                        <li><a href="https://openrepos.net/content/larswad/gstreamer-1x-bad-extra-codecs-145" target="_blank">gstreamer-1x-bad-extra-codecs-145</a></li>
                        <li><a href="https://openrepos.net/content/larswad/gstreamer-1x-ugly-codecs-145" target="_blank">gstreamer-1x-ugly-codecs-145</a></li>
                        <li><a href="https://openrepos.net/content/ruedigergad/gstreamer10-libav" target="_blank">gstreamer10-libav</a></li>
                    </ol>
                    <li>Install them using <code>pkcon install-local mypackage.armv7hl.rpm</code></li>
                </ol>
                Maybe you have to restart your player. Have fun!<br>
                    <a href="https://forums.oneplus.net/threads/sailfish-os-for-oneplus-one.279537/page-100#post-14515616" target="_blank"> → for reference see this post</a>
                <div class="space-top-sm"></div>
                <a name="sensor-feedback"></a>
                <div class="selected">
                <h4>Sensor Feedback</h4>
                To get some Sensor Feedback, you may interested in the <a href="https://openrepos.net/content/cfr34k/messwerk" target="_blank">Messwerk</a> Application.<br>
                <a href="https://forums.oneplus.net/threads/sailfish-os-for-oneplus-one.279537/page-78#post-14401291" target="_blank"> → for reference and screenshots see this post</a>
                <div class="space-top-sm"></div>
                <a name="fix-mobiledata"></a>
                <h4>fix mobile data connection for some carriers</h4>
                If you have trouble to get your internet connection working,<br>
                you have should try to restart <code>statefs</code><br>
                <ol>
                    <li>Open the Terminal App</li>
                    <li>Run <code>devel-su</code> to get root permissions</li>
                    <li>Run <code>systemctl restart statefs</code></li>
                    <li>Enjoy. <small>hopefully</small></li>
                </ol>
                <strong>Note:</strong> it seems to be needed after every reboot currently, also for calls.<div style="padding-top:8px;"></div>
                If your phone calls and text messages work, but mobile data is not connecting it is likely an APN issue.<br>
                <ol>
                    <li>Open the Terminal App again</li>
                    <li>Run <code>dconf reset /apps/jolla-settings/maskedSettings</code></li>
                    <li>Open the Settings App</li>
                    <li>select “Internet” and edit the APN settings</li>
                    <li>In the example of T-Mobile, its <i>fast.t-mobile.com</i></li>
                </ol>
                <div class="space-top-sm"></div>
                <a name="reactivate-mobiledata"></a>
                <h4>reactivate mobile data even after setting apn settings</h4>
                <ol>
                    <li>Open the Settings App</li>
                    <li>navigate to <strong>`cellular network`</strong></li>
                    <li>on network mode, switch <strong>`3G`</strong> to <strong>`2G`</strong></li>
                    <li>switch 3G back on</li>
                    <button class="btn btn-default btn-xs" type="button" data-toggle="collapse" data-target="#oldsol1" aria-expanded="false" aria-controls="oldsol1">
                        view old solution
                	</button>
                    <span data-toggle="tooltip" data-placement="right" title="update requested by writer of reference post"><strong> ? </strong></span>
                    <div class="collapse" id="oldsol1">
                        <div class="well" style="max-width:377px;margin-top:10px;">
                            <li>Open the Settings App</li>
		                    <li>navigate to <code>cellular network > manually</code></li>
		                    <li>set the network to other than your own</li>
		                    <li>ignore the following error</li>
		                    <li>select your network from the available networks again</li>
                        </div>
                    </div>
                </ol>
                <a href="https://forums.oneplus.net/threads/sailfish-os-for-oneplus-one.279537/page-85#post-14415891" target="_blank"> → for reference see this post</a>
                </div>
                <div class="space-top-sm"></div>
                <a name="apn-permissions"></a>
                <h4>Make manual APN settings staying saved</h4>
                If you have trouble because your manual APN settings be resetted every reboot<br>
                just make the following:
                <ol>
                    <li>Open the Terminal App</li>
                    <li>Run <code>devel-su</code> to get root permissions</li>
                    <li>Run <code>chown -R radio:radio /var/lib/ofono</code></li>
                </ol>
                Thats it. Should be fixed now.<br>
                <a href="https://forums.oneplus.net/threads/sailfish-os-for-oneplus-one.279537/page-99#post-14507672" target="_blank"> → for reference see this post</a>
                <div class="space-top-sm"></div>
                <a name="android-share"></a>
                <h4>Sharing your Media from and with Android</h4>
                There is no reason to seperate your media from your android,<br>
                if you had installed both.<br>
                Here is how to share the files between them:<br>
                <ol><br>
                    <li>Open The Terminal App</li><br>
                    <li>Run <code>devel-su</code> to get root permissions</li><br>
                    <li>create a mount point and mount:</li>
                    <ol>
                        <li><code>mkdir /android</code> <small>//use ever name you want</small></li>
                        <li><code>mount /dev/mmcblk0p28 /android</code></li>
                    </ol><br>
                    <li>Make sure it will mount <code>/android</code> after every reboot:<br>
                        <code>echo "/dev/mmcblk0p28 /android ext4 rw,relatime,data 0 0" >> /etc/fstab</code></li><br>
                    <li>We have to allow our user to handle the files under the created mountpoint:<br>
                        To make this, run: <code>usermod -a -G media_rw nemo</code></li><br>
                    <li>Now we create symbolic links</li>
                    <ol>
                        <li>Music</li>
                        <ol>
                            <li>Delete the Music folder on Sailfish:<br>
                                <code>rm -rf Music</code></li>
                            <li>symlinking from Android:<br>
                                <code>ln -s /android/media/0/Music /home/nemo/Music</code></li>
                        </ol><br>
                        <li>Video</li>
                        <ol>
                            <li>Delete the Pictures folder on Sailfish:<br>
                                <code>rm -rf Pictures</code></li>
                            <li>symlinking from Android:<br>
                                <code>ln -s /android/media/0/DCIM /home/nemo/Pictures</code></li>
                        </ol>
                    </ol>
                    <div class="space-top-sm"></div>
                    <a name="predictions"></a>
                    <h4>Keyboard Predictions</h4>
Milan's avatar
Milan committed
334
                    <strong>//FIXME: These apps are currently not available, see <a href="https://together.jolla.com/question/155542/jolla-xt9-missing/" target="_blank">this question</a>.</strong><br>
Milan's avatar
Milan committed
335 336 337 338 339 340 341
                    For word suggestions while typing, just do the following:
                    <ol>
                        <li>Open the Terminal App</li>
                        <li>Run <code>devel-su</code> to get root permissions</li>
                        <li>Run <code>pkcon install jolla-xt9 jolla-xt9-cp</code></li>
                    </ol>
                    <div class="space-top-sm"></div>
Milan's avatar
Milan committed
342
                    <a name="nextcloud"></a>
Milan's avatar
Milan committed
343
                    <a name="owncloud"></a>
Milan's avatar
Milan committed
344
                    <h4>Syncronize your Contacts and Calendar with ownCloud/Nextcloud</h4>
Milan's avatar
Milan committed
345 346 347 348
                    <ol>
                        <li>open the <strong>`Settings`</strong> and open the accounts menu</li>
                        <li>select <strong>`add account`</strong></li>
                        <li>choose <strong>`CalDAV and CardDAV`</strong></li>
Milan's avatar
Milan committed
349 350 351
                        <li>enter your login credentials</li>
                        <li>enter the <strong>full</strong> adress in the server field:<br>
                            in my case: <br><code>https://my.nextcloud.adress/remote.php/dav</code></li>
Milan's avatar
Milan committed
352 353
                            <div style="padding-top:5px;"></div> 
                            <button class="btn btn-info btn-xs" type="button" data-toggle="collapse" data-target="#contacts-adress" aria-expanded="false" aria-controls="contacts-adress">
Milan's avatar
Milan committed
354
                                Help! I can't find my adress!
Milan's avatar
Milan committed
355 356 357
                            </button>
                            <div class="collapse" id="contacts-adress">
                                <div class="well" style="max-width:580px;margin-top:10px;">
Milan's avatar
Milan committed
358 359 360
                                    <li>open your Nextcloud and go to the calendar app</li>
                                    <li>on the buttom-left corner, you have a menu, open it</li>
                                    <li>use the "Primary CALDAV-Adress"</li>
Milan's avatar
Milan committed
361 362 363 364 365 366
                                </div>
                            </div></li>
                        <li>thats all. have fun <strong>:-)</strong></li>
                    </ol>
                    <div class="space-top-sm"></div>
                    <a name="xmpp"></a>
Milan's avatar
Milan committed
367
                    <h4>(completly) enable XMPP support</h4>
Milan's avatar
Milan committed
368 369 370 371 372 373 374 375
                    In case you can add your Jabberaccount but nothing happends, you may need the following packages:
                    <ol>
                        <li><code>libpurple</code></li>
                        <li><code>telepathy-haze</code></li>
                    </ol>
            </ul>
        </div>
        <br>
Milan's avatar
Milan committed
376
        <div id="disqus_thread"></div><script>var disqus_config=function(){this.page.url="https://sailfish-for-opo.tchncs.de",this.page.identifier=4};!function(){var t=document,e=t.createElement("script");e.src="//https-sailfish-for-opo-tchncs-de.disqus.com/embed.js",e.setAttribute("data-timestamp",+new Date),(t.head||t.body).appendChild(e)}();</script><noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
Milan's avatar
Milan committed
377 378 379
        <a href="#" class="back-to-top nohover">Back to Top</a>
    </div>
    </div>
Milan's avatar
Milan committed
380 381
</body>
<footer><p class="pull-left"> A site by <a href="//tchncs.de" class="tchncs">tchncs.de</a></p><p class="pull-right">More from tchncs.de:<a href="//illuna.rocks">Illuna Minetest</a><a href="//wiuwiu.net">WiuWiu Minecraft (association)</a></p></footer>
Milan's avatar
Milan committed
382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398
<script src="scripts/bootstrap/js/bootstrap.min.js"></script>
<script src="scripts/jquery/back-to-top.js"></script>
<script src="scripts/jquery/to-position.js"></script>
<script src="scripts/jquery/on-click.js"></script>
<script src="../scripts/bootstrap/js/tooltip.js"></script>
<script>
$( document ).ready(function () { // this has to be done after the document has been rendered
$("[data-toggle='tooltip']").tooltip({html: true}); // enable bootstrap 3 tooltips
$('[data-toggle="popover"]').popover({
trigger: 'hover',
'show': true
});
});
</script>
<script src="scripts/jquery/piwik.js"></script>
</html>