User Tools

Site Tools


webapps:nextcloud_18.04

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
webapps:nextcloud_18.04 [2020/02/02 14:13] – created lucidwebapps:nextcloud_18.04 [2021/06/18 16:36] (current) – external edit 127.0.0.1
Line 447: Line 447:
  
 Source: [[https://help.nextcloud.com/t/howto-setup-nextcloud-talk-with-turn-server/30794|HowTo: Setup Nextcloud Talk with TURN server]] Source: [[https://help.nextcloud.com/t/howto-setup-nextcloud-talk-with-turn-server/30794|HowTo: Setup Nextcloud Talk with TURN server]]
- 
- 
-===== Linux Desktop Sharing ===== 
-You can share the desktop right away on any OS with the tool built into the browser, but in order to share the desktop at greater then 2fps, you need to implement a hack.  
- 
-On Arch: 
-<code>$ yaourt -S v4l2loopback-dkms-git</code> 
-I think that the aur package enables the kernel module automatically so... 
-<code># rmmode v4l2loopback</code> 
-then, the exclusive_caps=1 options does something to make it work better in chromium 
-<code># insmod v4l2loopback exclusive_caps=1</code> 
-Now to stream the desktop or video to /dev/video0. 
-Where ''-r 24'' is the frames per second and ''-s 1920x1080'' is the size to capture. 
-<code>$ ffmpeg -f x11grab -r 24 -s 1920x1080 -i :0.0+0,0 -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0</code> 
- 
-====== Keeweb ====== 
-Keeweb is a webapp that allows you to use keepass databases from the browser. It is no longer being developed so it does not work out the box with the latest version of Nextcloud. 
- 
-Download and extract the last release of keeweb. 
-<code>$ wget https://github.com/jhass/nextcloud-keeweb/releases/download/v0.4.0/keeweb-0.4.0.tar.gz 
-$ tar xvf keeweb-0.4.0.tar.gz 
-</code> 
- 
-Before you add this to Nextcloud some modifications need to be done. The ''**info.xml**'' needs a minor tweak to allow keeweb to run on the newer versions of Nextcloud, just changing 12 to 14.  
- 
-**''[keeweb/appinfo/info.xml]''** 
-<code><nextcloud min-version="11" max-version="<change this from 12 to 14>" /></code> 
-In the ''**styles.css**'' another small change to make the app use the full screen width, just replace the entire contents of the file.  
-<code>#app { 
-  overflow-y: hidden; 
-  width: 100%; 
-} 
- 
-#app > iframe { 
-  width: 100%; 
-  height: 100%; 
-} 
-</code> 
-Copy the inner folder named keeweb to Nextcloud's app directory, then change ownership to the www-data user. 
-<code>$ sudo cp -R nextcloud-keeweb/keeweb /var/www/nextcloud/apps 
-$ sudo chown www-data:www-data -R /var/www/nextcloud/apps/keeweb</code> 
- 
- 
-FIXME 
-Mimetype detection 
-Unfortunately, apps can't declare new mimetypes on the fly. To make 
-Keeweb work properly, you need to add a new mimetype in the 
-**''mimetypemapping.json''** file (at Nextcloud level). 
-To proceed, just copy **''/resources/config/mimetypemapping.dist.json''** to 
-`/config/mimetypemapping.json 
-<code>$ sudo cp /var/www/nextcloud/resources/config/mimetypemapping.dist.json /var/www/nextcloud/config/mimetypemapping.json</code> 
- 
-Afterwards add the following line to **''/var/www/nextcloud/config/mimetypemapping.json''**. You should see a large list of other mime definitions in this file, if you do not, you did something wrong. 
-<code>"kdbx": ["x-application/kdbx"],</code> 
- 
-After that, run the following command: 
-<code>$ sudo -u www-data php occ files:scan --all</code> 
- 
-Source: [[https://github.com/jhass/nextcloud-keeweb/pull/81/files|Compabilitiy with NC13 and documentation about mimetype mapping for Keeweb]] 
- 
webapps/nextcloud_18.04.1580652802.txt.gz · Last modified: 2021/06/18 16:36 (external edit)