Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 28 Sep 2016, 03:14
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Create a background during bootup
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
don570


Joined: 10 Mar 2010
Posts: 4380
Location: Ontario

PostPosted: Mon 11 Apr 2016, 20:21    Post subject:  Create a background during bootup  

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.




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:
font='DejaVu Sans'

or
Code:
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.
00sys_logger.gz
Description  Remove fake extension
gz

 Download 
Filename  00sys_logger.gz 
Filesize  1.04 KB 
Downloaded  85 Time(s) 
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 4380
Location: Ontario

PostPosted: Tue 12 Apr 2016, 19:53    Post subject:  

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.



___________________________________
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7798
Location: Perth, Western Australia

PostPosted: Wed 22 Jun 2016, 21:42    Post subject:  

I had a look at 00sys_logger, fascinating that you can now do all that on the commandline!
_________________
http://bkhome.org/news/
Back to top
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 4380
Location: Ontario

PostPosted: Thu 23 Jun 2016, 14:32    Post subject:  

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




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.
______________________________________________________
Back to top
View user's profile Send private message 
wjaguar

Joined: 21 Jun 2006
Posts: 334

PostPosted: Fri 24 Jun 2016, 16:30    Post subject:  

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.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 4380
Location: Ontario

PostPosted: Wed 29 Jun 2016, 19:07    Post subject:  

Quote:

You could have used layers as temporary storage instead.


Thanks for the tip.

I'll revise the code in my next fatdog arm version.
_____________________________________
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0761s ][ Queries: 12 (0.0042s) ][ GZIP on ]