Hello, I've been on the openmediavault forum for a while but I've never written a post since I consider myself a newbie in Linux. I've had a file server since version 6 of the system came out and I've liked it because of how easy it is to implement and work with Docker compose. Anyway, what we came for:
To change the login wallpaper in openmediavault 7, the test computer I used is the following:
System information
Computer name mark-3.local
Version 7.4.13-1 (Sandworm)
Processor Intel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz
Kernel Linux 6.1.0-27-amd64
The directory we need to access is: /var/www/openmediavault/assets/images/*.* I used WinSCP, but you can use the method that is most familiar to you. There are the login and shutdown wallpaper images, the names are harddisk_on_circuit.jpg and server.jpg
We just have to copy the images and edit them with our favorite editor, in my case I used Photoshop, just paste over the original image to keep the desired image dimensions. When saving, be careful to keep the name and size of the image identical to the original since we will paste them back into the source directory.
At first I didn't notice any changes, everything was the same, I tried Ctrl+Shift+R in the browser and it was useless, but due to a power failure where the server was turned off for 1 hour, when turned the server on the magic was done, It was using the custom images.
I hope this mini guide is useful to all those who want that touch of customization or as I read here in this forum, can use images that give a more professional look to their servers. I'm sorry if my English is not good enough and there are things that sound or in this case become a strange reading.
Edit: (8.12.2024) Greetings again here, with the recent update 7.4.15 (7.4.15-2) of December 2, 2024, where only several improvements are declared, the name of the login background image has been changed internally, the name is: "login.jpg" we apply the changes to the image as I explain at the beginning of this mini guide, we leave it with the same dimensions and name as the original image and that's it.
Edit (05.02.2025)
Greetings everyone, an update that may interest you is to automate the process of changing the wallpaper for the login screen of our server using a script thanks to the plugin. The information is on this page
omv7:omv7_plugins:scripts [omv-extras.org]
and the task is as follows:
#!/bin/sh
# Ensure the script is run as root
if [ "$(id -u)" -ne 0 ]; then
exit 1
fi
# Define the work area
WORKDIR="/var/www/openmediavault/assets/images"
# Check if the file my_wallpaper.jpg exists and make a copy if so
[ -f "$WORKDIR/my_wallpaper.jpg" ] && cp "$WORKDIR/my_wallpaper.jpg" "$WORKDIR/login.jpg"
Alles anzeigen
This is my first script ever, so suggestions, tips or improvements are welcome and if this is not the correct way please enlighten me on how to do it. What I can say is that the above script does the job and is what you are really looking for to customize your login.
Then using the Schedule tab you can run it at the time intervals you consider so that even with updates, your personalized wallpaper is maintained. I hope it helps!!!!