I like to have a text file (vor example /var/log/syslog) as a background image within years. So for example a script that automatically turns the syslog file into a jpg file and then sets it as background image (and deletes the old image). That for exmp. every 30 seconds
I'm using Ubuntu 20.04 LTS gnome
I really recommend to have a black background
EDIT: I know that I can turn a ASCII file into a jpeg file with this command:
soffice --convert-to jpg "Textfile.doc"
and I wrote a script that is doing the work, but I can't read the log files like I open a terminal, because it is extrmly zoomed and more than the half of the text isn't shown (decrease zoom can help showing the whole text and MORE LINES)
How to transform a text file into a picture
france1@macubuntu:~/syslog-wallaper$ cat convert-to-jpg.sh; cat wallaper-changer.sh; cat run.sh
#!/bin/bash
rm -r syslog.jpg
soffice --convert-to jpg "/var/log/syslog"
#####wallaper-changer
#!/bin/bash
gsettings set org.gnome.desktop.background picture-uri file:////home/france1/syslog-wallaper/syslog.jpg
##run-file
!/bin/bash
while [ 1 == 1 ] do
bash ./convert-to-jpg.sh
bash ./wallaper-changer.sh
sleep 30 done
that's it
Oh and: I would like to have a picture, black with white text
syslog
into an image with a black background and white text. – john doe Apr 05 '21 at 20:40tail
command. – meuh Apr 06 '21 at 10:25