When you have an icon / shortcut on your tablet or mobile phone, I usually add "desktop to desktop" in browser. Is there anyone able to change the icon that comes on the desktop? Is there a way in LM5 lite to enter the desired icon?
It's not supported directly, but can be done via a script. You need to upload visualization.png and touch.png via FTP to LM. Note that you need to clear cache after this and icons will be reset after firmware upgrade.
Code:
123456789
data = io.readfile('/home/ftp/visualization.png')
ifdatathenio.writefile('/www/scada/resources/images/visualization.png', data)
enddata = io.readfile('/home/ftp/touch.png')
ifdatathenio.writefile('/www/scada/resources/images/touch.png', data)
end
Thank you, I have uploaded two files via FTP, but where should the script be? event-resident-user libaries-commond functions or start-up?
Is there any requirement that the size of the picture
13.11.2018, 09:50 (This post was last modified: 13.11.2018, 09:53 by oyvindnordbo.)
Unfortunately, I do not get this to work, have now created a resident script, set the interval to 30sec, pasted the script I received, enabled the script and immediately disabled it. When I see in the "show logs window" there are no error messages.
I'm now trying on a spacelynk because I had no access to the LM now
Hi everybody !
I really don't know where to copy the 2 files that need to be changed to be able to do it. Can someone tell me where to copy it? .I also tried copying it to several places, then running the script but it didn't work
30.05.2024, 03:12 (This post was last modified: 30.05.2024, 03:12 by phongvucba.)
oh, I was wrong, thank you!
Can you tell me, now that I'm here, how can I replace the LM Icon every time I create a shortcut on the home screen?
I don't see a folder at all Empty ..
Thank everyone !
You need to upload visualization.png and touch.png to the root directory of FTP (the one that is empty right now). Then run the script from the previous post.