Note about battery optimisation of riot app
This commit is contained in:
parent
30f679e7df
commit
89b7087c94
|
@ -53,3 +53,6 @@ Destination: 10 0 8448 [yourmatrixsubdomain]
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
You may also want to make another entry with the same settings but replacing *tcp* with *udp*.
|
You may also want to make another entry with the same settings but replacing *tcp* with *udp*.
|
||||||
|
|
||||||
|
* Mobile app
|
||||||
|
If you're using the Riot mobile app to access your Matrix homeserver then you can significantly improve battery performance by going to the settings and changing *Sync request timeout* to 30 seconds and *Delay between two sync requests* to 600 seconds.
|
||||||
|
|
|
@ -82,6 +82,8 @@ Even with free software apps it's not difficult to get into a situation where yo
|
||||||
|
|
||||||
If you have Syncthing installed then change the settings so that it only syncs when charging and when on wifi. Avoid any apps which might be continuously polling and preventing the device from going into sleep mode when it's not used.
|
If you have Syncthing installed then change the settings so that it only syncs when charging and when on wifi. Avoid any apps which might be continuously polling and preventing the device from going into sleep mode when it's not used.
|
||||||
|
|
||||||
|
If you're using the Riot mobile app to access a Matrix homeserver then you can significantly improve battery performance by going to the settings and changing *Sync request timeout* to 30 seconds and *Delay between two sync requests* to 600 seconds.
|
||||||
|
|
||||||
* Blocking bad domains
|
* Blocking bad domains
|
||||||
You can block known bad domains by editing the */system/etc/hosts* file on your device. It is possible to use extensive ad-blocking hosts files used by other ad-blocking systems such as pi-hole, but merely blocking Facebook and Google Analytics will protect you against much of the corporate surveillance which goes on. Even if you don't have a Facebook account this may still be useful since they will still try to create a "ghost profile" of you, so the less data they have the better.
|
You can block known bad domains by editing the */system/etc/hosts* file on your device. It is possible to use extensive ad-blocking hosts files used by other ad-blocking systems such as pi-hole, but merely blocking Facebook and Google Analytics will protect you against much of the corporate surveillance which goes on. Even if you don't have a Facebook account this may still be useful since they will still try to create a "ghost profile" of you, so the less data they have the better.
|
||||||
|
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2017-08-23 Wed 19:23 -->
|
<!-- 2017-11-19 Sun 23:19 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title></title>
|
<title>‎</title>
|
||||||
<meta name="generator" content="Org mode" />
|
<meta name="generator" content="Org mode" />
|
||||||
<meta name="author" content="Bob Mottram" />
|
<meta name="author" content="Bob Mottram" />
|
||||||
<meta name="description" content="How to use Matrix"
|
<meta name="description" content="How to use Matrix"
|
||||||
|
@ -264,16 +264,16 @@ Matrix is a federated communications system, typically for multi-user chat, with
|
||||||
Another consideration is that since matrix operates on the usual HTTPS port number (443) this may make it difficult for ISPs or governments to censor this type of communications via port blocking without significant blowback.
|
Another consideration is that since matrix operates on the usual HTTPS port number (443) this may make it difficult for ISPs or governments to censor this type of communications via port blocking without significant blowback.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div id="outline-container-orgc78770d" class="outline-2">
|
<div id="outline-container-orgd6cc689" class="outline-2">
|
||||||
<h2 id="orgc78770d">Installation</h2>
|
<h2 id="orgd6cc689">Installation</h2>
|
||||||
<div class="outline-text-2" id="text-orgc78770d">
|
<div class="outline-text-2" id="text-orgd6cc689">
|
||||||
<p>
|
<p>
|
||||||
Log into your system with:
|
Log into your system with:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre><code class="src src-bash">ssh myusername@mydomain -p 2222
|
<pre class="src src-bash">ssh myusername@mydomain -p 2222
|
||||||
</code></pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
@ -286,9 +286,9 @@ Select <b>Add/Remove Apps</b> then <b>matrix</b>. You will then be asked for a d
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5262b52" class="outline-2">
|
<div id="outline-container-org3292734" class="outline-2">
|
||||||
<h2 id="org5262b52">Initial setup</h2>
|
<h2 id="org3292734">Initial setup</h2>
|
||||||
<div class="outline-text-2" id="text-org5262b52">
|
<div class="outline-text-2" id="text-org3292734">
|
||||||
<p>
|
<p>
|
||||||
Go to the <b>Administrator control panel</b> and select <b>Passwords</b> then <b>matrix</b>. This will give you the password to initially log in to the system and you can change it later from a client app if needed.
|
Go to the <b>Administrator control panel</b> and select <b>Passwords</b> then <b>matrix</b>. This will give you the password to initially log in to the system and you can change it later from a client app if needed.
|
||||||
</p>
|
</p>
|
||||||
|
@ -303,19 +303,19 @@ Other client apps are available but are currently mostly only at the alpha stage
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgd8eede9" class="outline-2">
|
<div id="outline-container-org82239c4" class="outline-2">
|
||||||
<h2 id="orgd8eede9">DNS setup</h2>
|
<h2 id="org82239c4">DNS setup</h2>
|
||||||
<div class="outline-text-2" id="text-orgd8eede9">
|
<div class="outline-text-2" id="text-org82239c4">
|
||||||
<p>
|
<p>
|
||||||
It's recommended that you add an SRV record for Matrix to your DNS setup. How you do this will depend upon your dynamic DNS provider and their web interface. On FreeDNS on the subdomains settings in addition to the subdomain which you are using for the matrix server create an extra entry as follows:
|
It's recommended that you add an SRV record for Matrix to your DNS setup. How you do this will depend upon your dynamic DNS provider and their web interface. On FreeDNS on the subdomains settings in addition to the subdomain which you are using for the matrix server create an extra entry as follows:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="org-src-container">
|
<div class="org-src-container">
|
||||||
<pre><code class="src src-text">Type: SRV
|
<pre class="src src-text">Type: SRV
|
||||||
Subdomain: _matrix._tcp
|
Subdomain: _matrix._tcp
|
||||||
Domain: [youdomain]
|
Domain: [youdomain]
|
||||||
Destination: 10 0 8448 [yourmatrixsubdomain]
|
Destination: 10 0 8448 [yourmatrixsubdomain]
|
||||||
</code></pre>
|
</pre>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
@ -323,6 +323,15 @@ You may also want to make another entry with the same settings but replacing <b>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div id="outline-container-org9568212" class="outline-2">
|
||||||
|
<h2 id="org9568212">Mobile app</h2>
|
||||||
|
<div class="outline-text-2" id="text-org9568212">
|
||||||
|
<p>
|
||||||
|
If you're using the Riot mobile app to access your Matrix homeserver then you can significantly improve battery performance by going to the settings and changing <b>Sync request timeout</b> to 30 seconds and <b>Delay between two sync requests</b> to 600 seconds.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="postamble" class="status">
|
<div id="postamble" class="status">
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||||
<head>
|
<head>
|
||||||
<!-- 2017-09-22 Fri 13:18 -->
|
<!-- 2017-11-19 Sun 23:19 -->
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<title>‎</title>
|
<title>‎</title>
|
||||||
|
@ -277,9 +277,9 @@ Mobile phones are insecure devices, but they're regarded as being so essential t
|
||||||
</table>
|
</table>
|
||||||
</center>
|
</center>
|
||||||
|
|
||||||
<div id="outline-container-org066f7fb" class="outline-2">
|
<div id="outline-container-org028bfb1" class="outline-2">
|
||||||
<h2 id="org066f7fb">Open</h2>
|
<h2 id="org028bfb1">Open</h2>
|
||||||
<div class="outline-text-2" id="text-org066f7fb">
|
<div class="outline-text-2" id="text-org028bfb1">
|
||||||
<p>
|
<p>
|
||||||
Use a Linux based phone operating system. Typically this will mean Android, but could also mean LineageOS or Replicant. LineageOS is the most preferable, because you can usually get an up to date image with a recent kernel which will give you better security against exploits. If you're buying a phone then look for a model which is supported by LineageOS. Replicant is the most free (as in freedom) but only runs on a small number of phone models. If you have a phone which runs a full GNU/Linux system then that's fantastic, and you can probably use it in much the same way as a desktop system and the rest of the advice on this page won't apply. If you don't have a phone capable of running a Linux based operating system then consider selling, giving away or bartering your existing one.
|
Use a Linux based phone operating system. Typically this will mean Android, but could also mean LineageOS or Replicant. LineageOS is the most preferable, because you can usually get an up to date image with a recent kernel which will give you better security against exploits. If you're buying a phone then look for a model which is supported by LineageOS. Replicant is the most free (as in freedom) but only runs on a small number of phone models. If you have a phone which runs a full GNU/Linux system then that's fantastic, and you can probably use it in much the same way as a desktop system and the rest of the advice on this page won't apply. If you don't have a phone capable of running a Linux based operating system then consider selling, giving away or bartering your existing one.
|
||||||
</p>
|
</p>
|
||||||
|
@ -290,45 +290,45 @@ Why is it so important to run Linux on a phone? Aren't <i>iThings</i> supposed t
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org1a24680" class="outline-2">
|
<div id="outline-container-orgf5a1356" class="outline-2">
|
||||||
<h2 id="org1a24680">Remove</h2>
|
<h2 id="orgf5a1356">Remove</h2>
|
||||||
<div class="outline-text-2" id="text-org1a24680">
|
<div class="outline-text-2" id="text-orgf5a1356">
|
||||||
<p>
|
<p>
|
||||||
So maybe you're running Android and the phone came with some apps already installed. Almost certainly they'll be proprietary. Go to Settings/Apps and then uninstall or deactivate any apps which you really don't need. Mostly preinstalled apps are intended to send your data to companies who will then sell it to advertisers or governments under the business model of <i>surveillance capital</i>. It's not a good idea to get caught up in that, and to avoid becoming addicted to apps which are surveilling you without consent or installing spyware in the background without your knowledge.
|
So maybe you're running Android and the phone came with some apps already installed. Almost certainly they'll be proprietary. Go to Settings/Apps and then uninstall or deactivate any apps which you really don't need. Mostly preinstalled apps are intended to send your data to companies who will then sell it to advertisers or governments under the business model of <i>surveillance capital</i>. It's not a good idea to get caught up in that, and to avoid becoming addicted to apps which are surveilling you without consent or installing spyware in the background without your knowledge.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org390d2d0" class="outline-2">
|
<div id="outline-container-org8f0466d" class="outline-2">
|
||||||
<h2 id="org390d2d0">Encrypt</h2>
|
<h2 id="org8f0466d">Encrypt</h2>
|
||||||
<div class="outline-text-2" id="text-org390d2d0">
|
<div class="outline-text-2" id="text-org8f0466d">
|
||||||
<p>
|
<p>
|
||||||
Encrypt your phone. This can usually be done via <b>Settings/Security</b> and you may need to fully charge the phone first. Encryption means that if you lose your phone or it gets stolen then there is less chance that anyone who picks it up will get access to your data, photos and so on.
|
Encrypt your phone. This can usually be done via <b>Settings/Security</b> and you may need to fully charge the phone first. Encryption means that if you lose your phone or it gets stolen then there is less chance that anyone who picks it up will get access to your data, photos and so on.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org3d6081e" class="outline-2">
|
<div id="outline-container-orgfec183a" class="outline-2">
|
||||||
<h2 id="org3d6081e">Apps</h2>
|
<h2 id="orgfec183a">Apps</h2>
|
||||||
<div class="outline-text-2" id="text-org3d6081e">
|
<div class="outline-text-2" id="text-orgfec183a">
|
||||||
<p>
|
<p>
|
||||||
Installing <b>F-droid</b> and only adding any new apps via F-droid will ensure that you are always using free and open source software. Open source is not a panacea, since bugs can and do still occur, but it will help you to avoid the worst security and privacy pitfalls.
|
Installing <b>F-droid</b> and only adding any new apps via F-droid will ensure that you are always using free and open source software. Open source is not a panacea, since bugs can and do still occur, but it will help you to avoid the worst security and privacy pitfalls.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org5a55ec6" class="outline-2">
|
<div id="outline-container-org77de138" class="outline-2">
|
||||||
<h2 id="org5a55ec6">Lock</h2>
|
<h2 id="org77de138">Lock</h2>
|
||||||
<div class="outline-text-2" id="text-org5a55ec6">
|
<div class="outline-text-2" id="text-org77de138">
|
||||||
<p>
|
<p>
|
||||||
Add a lock screen, preferably with a password which is not easy for other people to guess or for quicker access with a PIN number. Install an app called <b>Locker</b>, activate it and set the maximum number of password guesses to ten (or whatever you feel comfortable with). If bad people get hold of your phone then they may try to brute force your lock screen password or PIN (i.e. automatically trying millions of common word and number combinations) and the locker app will prevent them from succeeding by resetting the phone back to its factory default condition and wiping the data.
|
Add a lock screen, preferably with a password which is not easy for other people to guess or for quicker access with a PIN number. Install an app called <b>Locker</b>, activate it and set the maximum number of password guesses to ten (or whatever you feel comfortable with). If bad people get hold of your phone then they may try to brute force your lock screen password or PIN (i.e. automatically trying millions of common word and number combinations) and the locker app will prevent them from succeeding by resetting the phone back to its factory default condition and wiping the data.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgaf7fb89" class="outline-2">
|
<div id="outline-container-org4dc0e5b" class="outline-2">
|
||||||
<h2 id="orgaf7fb89">Onion</h2>
|
<h2 id="org4dc0e5b">Onion</h2>
|
||||||
<div class="outline-text-2" id="text-orgaf7fb89">
|
<div class="outline-text-2" id="text-org4dc0e5b">
|
||||||
<p>
|
<p>
|
||||||
Both governments and corporations want to compile matadata dossiers about you. Who you communicated with, when and how often. They want this so that they can data mine, simulate, predict and then ultimately influence (sometimes also called "nudge") your actions and preferences in the directions they prefer. By routing your connections through a number of proxy servers (Tor routers) you can make it perhaps not <i>theoretically</i> impossible but at least <i>very hard</i> for them to have a complete and accurate list of who your friends are, your religion, politics, likely health issues, sexual orientation and what news sites or books you read.
|
Both governments and corporations want to compile matadata dossiers about you. Who you communicated with, when and how often. They want this so that they can data mine, simulate, predict and then ultimately influence (sometimes also called "nudge") your actions and preferences in the directions they prefer. By routing your connections through a number of proxy servers (Tor routers) you can make it perhaps not <i>theoretically</i> impossible but at least <i>very hard</i> for them to have a complete and accurate list of who your friends are, your religion, politics, likely health issues, sexual orientation and what news sites or books you read.
|
||||||
</p>
|
</p>
|
||||||
|
@ -339,26 +339,26 @@ In F-droid under the <b>repositories</b> menu you can enable the <b>guardian pro
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgc7a0b9e" class="outline-2">
|
<div id="outline-container-org466eb29" class="outline-2">
|
||||||
<h2 id="orgc7a0b9e">Email</h2>
|
<h2 id="org466eb29">Email</h2>
|
||||||
<div class="outline-text-2" id="text-orgc7a0b9e">
|
<div class="outline-text-2" id="text-org466eb29">
|
||||||
<p>
|
<p>
|
||||||
The easiest way to access email is by installing the <a href="./app_mailpile.html">Mailpile</a> app. This keeps your GPG keys off of possibly insecure mobile devices but still enables encrypted email communications in an easy way. You can use K9 mail if you prefer, but that will require installing OpenKeychain and having your GPG keys on the device, which is a lot more risky.
|
The easiest way to access email is by installing the <a href="./app_mailpile.html">Mailpile</a> app. This keeps your GPG keys off of possibly insecure mobile devices but still enables encrypted email communications in an easy way. You can use K9 mail if you prefer, but that will require installing OpenKeychain and having your GPG keys on the device, which is a lot more risky.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="outline-container-orgfcecdf8" class="outline-2">
|
<div id="outline-container-org978ea8b" class="outline-2">
|
||||||
<h2 id="orgfcecdf8">Services</h2>
|
<h2 id="org978ea8b">Services</h2>
|
||||||
<div class="outline-text-2" id="text-orgfcecdf8">
|
<div class="outline-text-2" id="text-org978ea8b">
|
||||||
<p>
|
<p>
|
||||||
For information on configuring various apps to work with Freedombone see the <a href="./usage.html">usage section</a>. Also see advice on chat apps in the <a href="./faq.html">FAQ</a>.
|
For information on configuring various apps to work with Freedombone see the <a href="./usage.html">usage section</a>. Also see advice on chat apps in the <a href="./faq.html">FAQ</a>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-org469e667" class="outline-2">
|
<div id="outline-container-org3546225" class="outline-2">
|
||||||
<h2 id="org469e667">Battery preservation</h2>
|
<h2 id="org3546225">Battery preservation</h2>
|
||||||
<div class="outline-text-2" id="text-org469e667">
|
<div class="outline-text-2" id="text-org3546225">
|
||||||
<p>
|
<p>
|
||||||
Even with free software apps it's not difficult to get into a situation where your battery doesn't last for long. To maximize battery life access RSS feeds via the onion-based mobile reader within a Tor-compatible browser and not from a locally installed RSS app.
|
Even with free software apps it's not difficult to get into a situation where your battery doesn't last for long. To maximize battery life access RSS feeds via the onion-based mobile reader within a Tor-compatible browser and not from a locally installed RSS app.
|
||||||
</p>
|
</p>
|
||||||
|
@ -366,12 +366,16 @@ Even with free software apps it's not difficult to get into a situation where yo
|
||||||
<p>
|
<p>
|
||||||
If you have Syncthing installed then change the settings so that it only syncs when charging and when on wifi. Avoid any apps which might be continuously polling and preventing the device from going into sleep mode when it's not used.
|
If you have Syncthing installed then change the settings so that it only syncs when charging and when on wifi. Avoid any apps which might be continuously polling and preventing the device from going into sleep mode when it's not used.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
If you're using the Riot mobile app to access a Matrix homeserver then you can significantly improve battery performance by going to the settings and changing <b>Sync request timeout</b> to 30 seconds and <b>Delay between two sync requests</b> to 600 seconds.
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="outline-container-orgcaf0530" class="outline-2">
|
<div id="outline-container-org6ebc6c4" class="outline-2">
|
||||||
<h2 id="orgcaf0530">Blocking bad domains</h2>
|
<h2 id="org6ebc6c4">Blocking bad domains</h2>
|
||||||
<div class="outline-text-2" id="text-orgcaf0530">
|
<div class="outline-text-2" id="text-org6ebc6c4">
|
||||||
<p>
|
<p>
|
||||||
You can block known bad domains by editing the <b>/system/etc/hosts</b> file on your device. It is possible to use extensive ad-blocking hosts files used by other ad-blocking systems such as pi-hole, but merely blocking Facebook and Google Analytics will protect you against much of the corporate surveillance which goes on. Even if you don't have a Facebook account this may still be useful since they will still try to create a "ghost profile" of you, so the less data they have the better.
|
You can block known bad domains by editing the <b>/system/etc/hosts</b> file on your device. It is possible to use extensive ad-blocking hosts files used by other ad-blocking systems such as pi-hole, but merely blocking Facebook and Google Analytics will protect you against much of the corporate surveillance which goes on. Even if you don't have a Facebook account this may still be useful since they will still try to create a "ghost profile" of you, so the less data they have the better.
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue