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 01 Oct 2014, 18:59
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Eye Candy
Message files for the GRUB gfxmenu
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 3 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Author Message
JustGreg

Joined: 24 May 2005
Posts: 683
Location: Connecticut USA

PostPosted: Sun 14 Feb 2010, 12:05    Post_subject:  

Thank you very much, Trapster. The jpg is even better! Have a great day, because you made mine.
_________________
Enjoy life, Just Greg
Live Well, Laugh Often, Love Much
Back to top
View user's profile Send_private_message 
trapster


Joined: 28 Nov 2005
Posts: 2005
Location: Maine, USA

PostPosted: Sun 14 Feb 2010, 12:12    Post_subject:  

You're welcome. Always glad to help a fellow New Englander.
_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send_private_message Visit_website 
vellowax

Joined: 19 Nov 2009
Posts: 45
Location: still playing in the backyard

PostPosted: Mon 15 Feb 2010, 02:02    Post_subject:  

http://kde-look.org/content/show.php/Tuxwin?content=10434
http://kde-look.org/content/show.php/TuXPererience+4+%22Fixed+link%2C+again%3F%22?content=438
Back to top
View user's profile Send_private_message 
CatDude


Joined: 03 Jan 2007
Posts: 1479
Location: UK

PostPosted: Fri 08 Apr 2011, 08:54    Post_subject:  

Hi

I have finally figured out how to change the colour of the Help text (next to the F1)
it appears that there is a typing error in one of the files in the SUSE source code. Rolling Eyes

So, if you would like to change the colour of said text
this is what you need to do:

After unpacking your message file, open gfxboot.cfg in your text editor
and find the line that looks like this:
Code:
panel.fg=0xffffff

and change it to this:
Code:
panel.normal.fg=0xffffff


That's it, obviously you can change the colour from white to whatever you like,
then re-pack the message file as explained in Step 2. of this post.

I also re-compiled using the latest SUSE sources gfxboot-4.3.8-2.2.src.rpm
and hacked the code so the F1 Help is now located in the upper lefthand corner.

Below are some message files using this new layout,
there are two of each size, one with and one without the animated penguins theme.

Those with the penguins have been set to a 50% chance of them showing.

CatDude
.
cool-cat_800x600.png
 Description   
 Filesize   287.63 KB
 Viewed   1883 Time(s)

cool-cat_800x600.png

cool-cat_penguins_800x600.png
 Description   
 Filesize   249.16 KB
 Viewed   1868 Time(s)

cool-cat_penguins_800x600.png

black-cat_1024x768.png
 Description   
 Filesize   93.26 KB
 Viewed   2026 Time(s)

black-cat_1024x768.png

black-cat_penguins_1024x768.png
 Description   
 Filesize   170.77 KB
 Viewed   1761 Time(s)

black-cat_penguins_1024x768.png

cool-cat_800x600.gz
Description  This one contains the animated penguins
gz

 Download 
Filename  cool-cat_800x600.gz 
Filesize  400.68 KB 
Downloaded  667 Time(s) 
cool-cat_no-penguins_800x600.gz
Description 
gz

 Download 
Filename  cool-cat_no-penguins_800x600.gz 
Filesize  259.94 KB 
Downloaded  633 Time(s) 
black-cat_1024x768.gz
Description  This one contains the animated penguins
gz

 Download 
Filename  black-cat_1024x768.gz 
Filesize  343.85 KB 
Downloaded  678 Time(s) 
black-cat_no-penguins1024x768.gz
Description 
gz

 Download 
Filename  black-cat_no-penguins1024x768.gz 
Filesize  195.44 KB 
Downloaded  628 Time(s) 

_________________

Back to top
View user's profile Send_private_message 
ASRI éducation


Joined: 09 May 2009
Posts: 2472
Location: France

PostPosted: Sun 11 Aug 2013, 13:07    Post_subject:  

Hello.

I have a problem to create a boot image (back.jpg) 800x600 for file pupsta1.
I work with Precise Puppy 5.7 and Gimp 2.8.1.
I tried different resolutions, sizes and settings for color, but I do not understand, it does not work.

mikeb has already succeeded in transforming me a picture. But I can not do it.

For better understanding, I provide you an example.
The two files below seem to have the same characteristics.
However, if the file of mike works (back-mike-ok.jpg), mine (back_new.jpg) shows me a black background.
If anyone can help me understand what's wrong.

Link for back-mike-ok.jpg
Link for back_new.jpg
Link for black background

Cordialement

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send_private_message Visit_website 
mikeb


Joined: 23 Nov 2006
Posts: 8257

PostPosted: Sun 11 Aug 2013, 15:11    Post_subject:  

Hmm not a resolution issue it seems.

I also tried using another image...resized and it worked.

In the image properties the 'working' images have a color profile listed....in a hex editor they both have a substantial amount of meta data at the beginning of the file. The one that fails has no mention of profile in the gimp and lacks any significant metadata.

This may suggest that the grub splash code 'expects' a certain amount of data at the file beginning and gets upset without since its working at a low level of code. Without further knowledge and understanding it would seem to be a case of copy and paste to a known good image for now.

mike
Back to top
View user's profile Send_private_message 
ASRI éducation


Joined: 09 May 2009
Posts: 2472
Location: France

PostPosted: Mon 12 Aug 2013, 07:35    Post_subject:  

I like problems, because it allows people to find solutions!
So let me tell you about my research / testing (it may be useful to other users).

1 - I tried copying and pasting with Gimp-5.7 2.8.2 and precise. This does not work because it changes the properties (metadata) of the original file (functional). Suddenly, the new file is not functional.

2 - I tried to remove metadata with command 'exiv2', but nothing improved.

I spent last night (I'm a geek) to test different solutions, but I found nothing.
So, I continue my research... Wink

@ mikeb
What software do you use for your copy and paste?

Cordialement,

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send_private_message Visit_website 
mikeb


Joined: 23 Nov 2006
Posts: 8257

PostPosted: Mon 12 Aug 2013, 08:58    Post_subject:  

In this case GIMP 2.4.6 window to window and it appears it keeps the metadata of the 'pasted to' image. The core workings of GIMP are unlikely to change significantly with versions plus updates give me indigestion Very Happy

Problem with this is that there is no way I know of to log grub to attempt to trace the cause of the problem...we are working semi blind on a visual enhancement

mike
Back to top
View user's profile Send_private_message 
ASRI éducation


Joined: 09 May 2009
Posts: 2472
Location: France

PostPosted: Mon 12 Aug 2013, 09:09    Post_subject:  

mikeb wrote:
Problem with this is that there is no way I know of to log grub to attempt to trace the cause of the problem...we are working semi blind on a visual enhancement

Ok. Confused
And of course, thank you for all !
Très cordialement,

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send_private_message Visit_website 
mikeb


Joined: 23 Nov 2006
Posts: 8257

PostPosted: Mon 12 Aug 2013, 09:19    Post_subject:  

At least by posting our info anyone else will
1. have a clue when it does not work and

2. have a workaround.

This may be the best solution we get...its not just windows that has its devine mysteries...

mike
Back to top
View user's profile Send_private_message 
CatDude


Joined: 03 Jan 2007
Posts: 1479
Location: UK

PostPosted: Mon 12 Aug 2013, 15:25    Post_subject:  

Hello ASRI éducation & mikeb

Sorry i haven't responed sooner but i have also been trying to figure out this problem.

I can confirm ASRI éducation's findings,
in so much as GIMP 2.8.4 also appears to be 'mangling' jpg images. Shocked

I loaded up a copy of back-mike-ok.jpg (after verifying it worked in a GRUB gfxmenu file)
then exported it as a jpg with a different name, at which point it became corrupted
and i could not get it to work in a GRUB gfxmenu file.

This behaviour does not happen when i use GIMP 2.6.10

Another workaround to fixing these 'corrupted images',
is to open them up using mtpaint
and the use Save As to either overwrite it or save it with another name.

That does something which allows the image to display OK in a GRUB gfxmenu file.


CatDude
.

_________________

Back to top
View user's profile Send_private_message 
greengeek

Joined: 20 Jul 2010
Posts: 2560
Location: New Zealand

PostPosted: Mon 12 Aug 2013, 15:37    Post_subject:  

Is this problem anything to do with palette depth or indexing perhaps? When I was playing around with boot images it seemed that the image parameters were restricted in some ways and I think I recall having to use irfanview on windows to (possibly) reduce colour depth or something (didn't know how to use Gimp or mtPaint properly). Sorry I can't remember much more...
Back to top
View user's profile Send_private_message 
ASRI éducation


Joined: 09 May 2009
Posts: 2472
Location: France

PostPosted: Tue 13 Aug 2013, 12:01    Post_subject:  

greengeek wrote:
Is this problem anything to do with palette depth or indexing perhaps? When I was playing around with boot images it seemed that the image parameters were restricted in some ways and I think I recall having to use irfanview on windows to (possibly) reduce colour depth or something (didn't know how to use Gimp or mtPaint properly). Sorry I can't remember much more...

I will perform complementary tests, but at first sight, I do not think the color is decisive.
It's a difference with the Splash image method (cf. HOWTO add splash image to grub).

_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send_private_message Visit_website 
ASRI éducation


Joined: 09 May 2009
Posts: 2472
Location: France

PostPosted: Tue 13 Aug 2013, 14:14    Post_subject:  

I followed the advice CatDude. That's ok, I have an image compatible with the gfxmenu!

I want to say how I did it to create compatible files back.jpg for grub-gfxmenu (it might be useful to other users).


Steps for creating the image
1 - Gimp
Creating a project: 1600x200 image 300x300 ppi, 24b RGB color (sRGB). Note: The project is created with a size and a resolution larger than the file that will be used for gfxmenu, it is always better to have a good matrix, then it is sufficient to reduce the image in the desired size .
At the end, save the project in Gimp format (.xcf) and in jpg format (which will be used to create back.jpg file).
Reduce the size and resolution of the jpg file created => Image | Scale image (800x600 size, resolution 72x72 ppi).

Characteristics of the final image back.jpg
Format: jpg
Size: 800x600 pixels or more large
Colors: 24b RGB color (sRGB)
Resolution: 72x72 ppi
Recording quality: 100%

2 - Remove metadata
In terminal "exiv2 rm /my_folder/my_image.jpg"

3 - mtpaint (workaround with Gimp 2.8.2/4)
Open the image with mtpaint, then save it under the name "pupsat1".

4 - Creation of file pupsta1
Test the image (back.jpg) by creating a pupsta1 file. => All is ok.


Cordialement,
asrimenu_20130813.png
 Description   
 Filesize   98.06 KB
 Viewed   562 Time(s)

asrimenu_20130813.png


_________________
Projet ASRI éducation => Association | Forum | Dépôt | Espace kids
Back to top
View user's profile Send_private_message Visit_website 
mikeb


Joined: 23 Nov 2006
Posts: 8257

PostPosted: Tue 13 Aug 2013, 15:40    Post_subject:  

More glorious workarounds...so in a nutshell its a lack of/messed up meta data from the GIMP.

Hi CatDude.... thought I'd pop into the forum just to upset the locals Very Happy

have fun

Mike
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 3 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Eye Candy
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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