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 Sat 25 Oct 2014, 03:33
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
DIR-to-ISO 2.0
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Tue 04 Dec 2012, 01:56    Post_subject:  DIR-to-ISO 2.0  

Hello.

Before I've had written the LazY Puppy LazY Remaster Suite I did forget sometimes to keep files in /root or /etc. So, everytime then I had to choose, to make a new remaster to put these files into the os or to edit the sfs manually. Remastering needs time, editing manually results in a non-bootable iso, if the new iso would be made then via the right-click option dir-to-iso (script in /usr/bin).

So, to get a bootable iso one has to remaster anyway.

I have now refined the script dir-to-iso in /usr/bin in a way, that it is now usable to create bootable iso files.

It checks if the directory to build a iso from contains a bootloader like grldr and/or isolinux.bin. If, it creates a bootable iso, if not, it creates the standard iso as usual.

The attached .pet installs the new script, renames the old script to dir-to-iso-old and then renames the new script to dir-to-iso. It contains only the new dir-to-iso script. If your puppy doesn't have the right-click option to use this script with right-click action on a directory, you have to define this feature by youself.

I did not want this .pet to change anything else, but the dir-to-iso script.

Hope this works for you and your puppy.

RSH
Dir-to-ISO-2.0.pet
Description  Make bootable iso files with righ-click
pet

 Download 
Filename  Dir-to-ISO-2.0.pet 
Filesize  1.02 KB 
Downloaded  455 Time(s) 

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3345
Location: Ontario

PostPosted: Wed 05 Dec 2012, 20:24    Post_subject: script DIR-to-ISO in my Right click pet package  

I put the script DIR-to-ISO in my Right click pet package.
http://murga-linux.com/puppy/viewtopic.php?p=669224#669224

I only checked a regular folder since I don't make bootable ISOs.

I made one small change to warn users...

After line 34 I put in a simple warning message

Code:


Xdialog  --ok-label "OK" --backtitle "\n\n A bootable ISO will be created now. "  --msgbox  "" 0 0



______________________________________
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Thu 06 Dec 2012, 11:33    Post_subject:  

Quote:
I put the script DIR-to-ISO in my Right click pet package.

Yes, thanks. Nice Idea!

Quote:
I only checked a regular folder since I don't make bootable ISOs

So, this means the original script was written by yourself? Then please, add your name at the top of the script. Original doesn't have that.

Quote:
I made one small change to warn users...

Uuppss, I've had a "yaf-splash" in mind. Just overseen. Laughing

Never mind. All what's needed finds its way to "fit together", as we can see. Very Happy

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3345
Location: Ontario

PostPosted: Thu 06 Dec 2012, 21:29    Post_subject:  

I've just noticed that there are still some puppy variants which don't
have gtkdialog-splash installed which can cause some confusion
when programmers use yaf-splash (which is often a link to gtkdialog-splash).

So it's a good procedure to make warning and info messages with
Xdialog instead!!! Avoid yaf-splash unless you know which puppy
where the script is installed.

...And gxmessage is even worse because only old versions are
installed in puppy ---> the old version doesn't support foreign
characters

It's easy to put color in the background of a Xdialog message box
It's explained at their site.

I just learned this by studying fatdog
http://murga-linux.com/puppy/viewtopic.php?t=82611

By the way I stole most of my utility scripts from Tazoc (Lighthouse)
because I didn't know anything about writing scripts Laughing

________________________________________________
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
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.0570s ][ Queries: 13 (0.0049s) ][ GZIP on ]