Mobile skin and plugin for Roundcube webmail
The "Melanie2" mobile skin and plugin seems to make Roundcube work on phones. And it is easier to install than it would seem when only briefly looking at the github instructions.
These are the commands I needed on a Debian 10 ("Buster") machine where roundcube 1.3.10 was installed. (the base install was done from the Debian repositories: apt install roundcube roundcube-sqlite3
. Instead of sqlite3, it is also possible to use PostgreSQL or MySQL with the roundcube-pgsql
or roundcube-mysql
packages).
For the mobile stuff:
Create a directory to store the extra stuff and make upgrades easier:
mkdir -p /opt/roundcube-stuff cd /opt/roundcube-stuff/
Get the files from Github:
git clone https://github.com/messagerie-melanie2/roundcube_skin_melanie2_larry_mobile git clone https://github.com/messagerie-melanie2/roundcube_jquery_mobile git clone https://github.com/messagerie-melanie2/roundcube_mobile
Instead of renaming and copying the directories, create symlinks and copy them to roundcube's skins and plugins folders:
ln -si $(pwd)/roundcube_skin_melanie2_larry_mobile/ melanie2_larry_mobile ln -si $(pwd)/roundcube_jquery_mobile/ jquery_mobile ln -si $(pwd)/roundcube_mobile mobile cp -vd /opt/roundcube-stuff/melanie2_larry_mobile /var/lib/roundcube/skins/ cp -vd /opt/roundcube-stuff/jquery_mobile /var/lib/roundcube/plugins/ cp -vd /opt/roundcube-stuff/mobile /var/lib/roundcube/plugins/
Finally, add 'mobile'
to the $config['plugins']
array in /etc/roundcube/config.inc.php
. If doing it by hand is too much work, copy/pasting this should work:
echo 'array_push( $config["plugins"], "mobile" );' | tee -a /etc/roundcube/config.inc.php #or: ## echo '$config["plugins"][] = "mobile";' | tee -a /etc/roundcube/config.inc.php
0 Comments:
Post a Comment
<< Home