Change owncloud welcome desktop

hello to all I wanted to know how to change your home page with a custom owncloud

thank you

You can check if the owncloud theming page is of help:

1 Like

In theory, to change the welcome message the /var/www/html/owncloud/apps/firstrunwizard/templates/wizard.php file can be edited (changes will be lost on updates) or moved to a new custom theme folder (changes should remain after updates).

Hi, you need to edit the file /var/www/html/owncloud/config/config.php. Add a line

 'theme' => 'newtheme'.

In the /var/www/html/owncloud/themes creates a folder with the name of the theme (newtheme) and a subfolder core .

cd /var/www/html/owncloud/themes
mkdir newtheme
mkdir newtheme/core

Inside the folder you create the files (css) with modifications (same structure /var/www/html/owncloud/core).

cd /var/www/html/owncloud/themes/newtheme/core
mkdir css

For example create a file styles.css and add

#body-login {
        text-align: center;
        background: #bfdfff; /* Old browsers */
        background: url('../img/noise.png'), -moz-linear-gradient(top, #006cd9 0%, #bfdfff 100%); /* FF3.6+ */
        background: url('../img/noise.png'), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#006cd9), color-stop(100%,#bfdfff)); /* Chrome,Safari4+ */
        background: url('../img/noise.png'), -webkit-linear-gradient(top, #006cd9 0%,#bfdfff 100%); /* Chrome10+,Safari5.1+ */
        background: url('../img/noise.png'), -o-linear-gradient(top, #006cd9 0%,#bfdfff 100%); /* Opera11.10+ */
        background: url('../img/noise.png'), -ms-linear-gradient(top, #006cd9 0%,#bfdfff 100%); /* IE10+ */
        background: url('../img/noise.png'), linear-gradient(top, #006cd9 0%,#bfdfff 100%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#006cd9', endColorstr='#bfdfff',GradientType=0 ); /* IE6-9 */
}

This changes the color of the login screen.
If you prefer, copy file from default theme

cd /var/www/html/owncloud/themes/newtheme
cp /var/www/html/owncloud/core/css/styles.css core/css

and change it

3 Likes