Create a background during bootup

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

Create a background during bootup

#1 Post by don570 »

Create a background during bootup

Warning! You must install a recent version of mtpaint

mtpaint now has the ability to create a detailed image without launching the GUI.

I've found an interesting and useful application for this feature.

An operating system doesn't need to have a stored background image ,
instead it can be generated during bootup. See the images for
examples. Yellow and Blue images are shown. Many other colors are possible.

Image
Image

The method is simple.
Warning! You must install a recent version of mtpaint
version 3.44.89 or better.

Here's the procedure step by step...

1) Use your wallpaper program to change current background
to /usr/share/backgrounds/default.jpg
This will change at least two files (perhaps more).
/root/.config/rox.sourceforge.net/ROX-Filer/PuppyPin
~/.config/wallpaper/bg_img

This ensures that /usr/share/backgrounds/default.jpg will
be your desktop background when you bootup next time.


2) Go to the folder /usr/share/backgrounds/
and delete default.jpg. If you wish you can delete all the other
images in that folder to save space.

3) Change the file --> /etc/init.d/00sys_logger

Here's an example. Remove the fake extension.

Warning! The font you use is very important since it must be available to the operating system.
I suggest...

Code: Select all

font='DejaVu Sans'
or

Code: Select all

font='Nimbus Sans L'
___________________________________________________

Benefits:

Carefully examine the mtpaint command and you will see
how flexible this method is.

Text characters can be changed. --> name of distro and version number
Size of text can be changed.
Position of text and gradient can be changed
Colors of gradient and text can be changed.
Attachments
00sys_logger.gz
Remove fake extension
(1.04 KiB) Downloaded 401 times

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#2 Post by don570 »

I made the font grey ---> a=9
Reduced the font size ---> 70 to 50

Text characters ---> Fatdog Arm 4

Changed the position of text --> 700,500

It's also possible to change the color and angle of the gradient,
but I'll leave that up to people to experiment with.

Image

___________________________________
Last edited by don570 on Tue 14 Feb 2017, 00:38, edited 1 time in total.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#3 Post by BarryK »

I had a look at 00sys_logger, fascinating that you can now do all that on the commandline!
[url]https://bkhome.org/news/[/url]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#4 Post by don570 »

Warning! If you put a changing SVG image on top of gradient like the clock in the current
fatdog arm

Image


Two of mtpaint's disk clipboards are used over and over (every two minutes).
This could confuse mtpaint users.

So I will change the code to use clipboard 8 and clipboard 9 rather than
the more common clipboard 1 and clipboard 2.
______________________________________________________

wjaguar
Posts: 359
Joined: Wed 21 Jun 2006, 14:16

#5 Post by wjaguar »

don570 wrote:Two of mtpaint's disk clipboards are used over and over (every two minutes).
This could confuse mtpaint users.
You could have used layers as temporary storage instead. No real need to save/load clipboards at all.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#6 Post by don570 »

You could have used layers as temporary storage instead.
Thanks for the tip.

I'll revise the code in my next fatdog arm version.
_____________________________________

Post Reply