Page 8 of 118

Posted: Tue 04 Mar 2008, 00:04
by ttuuxxx
zigbert wrote:How to make a Pburn Theme
Themes are put in /usr/local/pburn/themes/NAME_OF_THEME/image.png
Install the theme Pburn-original to see how that works.

You can freely use the size of images that you feel look best.
Use *.png format.
You can also specify a unique gtk-theme for Pburn. This is put inside /usr/local/pburn/themes/gtk/.
If using same image in several dialogs, - make a symlink to save space.
See theme Pburn-original for complete file list.

Theme: Pburn-original (151 kb).


Good luck!
Sigmund
that sounds excellent and so easy :)

Posted: Tue 04 Mar 2008, 07:35
by zigbert
I have made a edit on the theme post. - Button images shoudn't be higher than 63 pixels.

Also MU helped out to change the radiobuttons in the main window. See this. http://www.murga-linux.com/puppy/viewto ... 053#179053

Sigmund

Posted: Wed 05 Mar 2008, 08:53
by zigbert
Version 1.2.0 is uploaded. See main post.

Posted: Fri 07 Mar 2008, 06:53
by zigbert
I have tweaked the original theme. It mainly look the same, but now it is only 89kb compared with the old version of 152kb. To handle this tweak you need the new Version 1.2.1. see main post.

Posted: Fri 07 Mar 2008, 21:38
by mikeb
Hi Zigbert

something resembling the following is needed in func_exec just before
done #repeat-action-loop right at the end

Code: Select all

	eject $BURNDEV 
	IMG="dialog-info"; FRAME="Repeat Burn"
	TXT1="Please insert blank disk.
Press OK when ready."
	. "$APPDIR"/box_ok
in order that the disk can be changed for repeat burns.

Haven't progressed with the iso verify as all my cd/rw's are past their useful life so not ideal for checking for good burns :? ..

Nice one for the verify implementation and skinning functionality...

ok, off to melt some silver.............

mike

also

added to func_blank

Code: Select all

fi

[u]export BURN=blank # to avoid verify message[/u]

if [ "$MEDIATYPE" = "CD" ];then
and amended in func_exec

Code: Select all

if [ $BURN_DATA = true && $BURN != "blank" ]; then #verify button
.....removes verify button etc when blanking without (as far as I can tell) other functions.[/code]

What did I do wrong?

Posted: Sat 08 Mar 2008, 01:23
by WhoDo
I'm running Pburn 1.2.1 and I have downloaded the original theme supplied by zigbert, but I can't get Pburn to display that theme presumably because nothing happens when I click "Preferences" in the File menu.

Any ideas?

Posted: Sat 08 Mar 2008, 15:29
by xekarfwtos
I have the same problem.

I'm running Pburn 1.2.1 in Puppy 3.01 (frugal) I have downloaded the original theme, but nothing happens when I click "Preferences" in the File menu or "Advanced search".

If i run it from console, I get
cat: /root/.gtkrc-2.0: No such file or directory
cat: /root/.gtkrc-2.0: No such file or directory
when I hit "Preferences", I get
cat: /root/.gtkrc-2.0: No such file or directory

** ERROR **: gtkdialog: Error in line 49, near token '</default>': syntax error

aborting...
when I hit "Advanced search", I get
** ERROR **: gtkdialog: Error in line 43, near token '</default>': syntax error

aborting...
rm: cannot remove `/tmp/pfilesearch*': No such file or directory
cat: /root/.gtkrc-2.0: No such file or directory
edit:

I delete /root/.pfilesearch and run pfilesearch. Then I run pburn and works fine.

Posted: Sat 08 Mar 2008, 21:47
by zigbert
Thank you guys for your bugreports. Try this new version uploaded. But before that, please install the newest [url=
http://www.murga-linux.com/puppy/viewtopic.php?p=180081]Pfilesearch[/url] package. Also remove file /root/.pfilesearch/pfilesearchrc if it exists.

Please give feedback if it works.

mikeb

It is nice to hear that you plan to works further on the verify-function. I will focus on another puppy project for some time, but I hope, that it will be time for looking at CD-text support.

To avoid the 'verify-button' after 'blanking disc' I just put

Code: Select all

export BURN_DATA=false
in the beginning of func_blanc.

Sigmund

Posted: Sat 08 Mar 2008, 22:49
by WhoDo
zigbert wrote:Thank you guys for your bugreports. Try this new version uploaded. But before that, please install the newest Pfilesearch package. Also remove file /root/.pfilesearch/pfilesearchrc if it exists.
Please give feedback if it works.
Worked like a charm, Sigmund. Thanks. Now Puppy has a truly professional-look and -performing burning interface. Well done!
I can't wait until the world gets a really good look at the next generation of Puppy ... it'll knock their socks off, in large part due to your tireless efforts. Thank you, mate.

Posted: Sun 09 Mar 2008, 01:29
by mikeb
Hi Zigbert
To avoid the 'verify-button' after 'blanking disc' I just put
Code:
export BURN_DATA=false
in the beginning of func_blanc.
I was going to do this but in the scenerio of

launch pburn > blank disk > burn data disk

BURN_DATA will remain as false .
It is set to true initally but will only be set again if the 'burn data' radiobutton is pressed.. though the data burn still occurs by default (I thought it wouldn't!) the verify button (I am obsessed) will not show.

I afterwards also thought that the 'blank' flag could be used to disable the 'repeat burn' button if you see what I mean.

I have now gone crosseyed wih logic

have fun..it's the weekend :)

Mike

edit

if [[ $BURN_DATA = true && $BURN != "blank" ]]; then #verify button

double brackets for reliable intepretation

Posted: Sun 09 Mar 2008, 09:00
by zigbert
mikeb
You're right!
double brackets for reliable intepretation
can you explain this some more?

Sigmund

Posted: Sun 09 Mar 2008, 13:33
by mikeb
No I'm half left.....
double brackets for reliable intepretation
the test for needing a verify button refused to work last night.

Seems that the logic for the AND comparison can be messed up using a single '[' as this is the command 'test' whereas '[[' is something else............bash is a funky language to work with :D

added one of these

Code: Select all

			if [ $BURN != "blank" ]; then #repeat button
				GUI_REPEAT="<button><input file icon=\"gtk-cdrom\"></input>
			    <label>$LOC408</label><action type=\"exit\">repeat</action></button>"
			fi
and a stack of these

Code: Select all

			   $GUI_REPEAT
			   $GUI_SAVE_ISO
			   $GUI_VERIFY
to finish the job off :)

mike

Posted: Sun 09 Mar 2008, 18:04
by zigbert
Why shouldn't user get the possibility to repeat 'blank command'?

Sigmund

Posted: Sun 09 Mar 2008, 18:50
by mikeb
Why shouldn't user get the possibility to repeat 'blank command'?
indeed why not..I was getting carried away :D

mike

edit

I have not had much success with doing an md5 based verify for iso...seems to fail regardless :(
If the source iso is mounted as a file system then checking can be done by using diff in a similar fashion to data disks...the only thing not checked would be boot sectors.(if any)

Also how about verify for copied disks..mount and diff seem to work ok?

On the subject of copying could there be an option on the dialog for changing the write speed...good idea for on the fly mode to avoid underruns.

Theme Support

Posted: Mon 10 Mar 2008, 11:07
by aragon
Dear Zigbert,

it seems to me, that the links to the themes are not correspondent to the folder the theme is installed to.

If i start pburn from console it searches the theme in /usr/local/pburn/themes.

If i install the pburn-theme with the *.pet it installs to /usr/local/pburn/themes/Pburn-original.

Copying by hand solves the problem.

Using Pburn 1.22, pfilesearch 1.1 and Theme of 07.03.

Cheers
aragon

Posted: Wed 12 Mar 2008, 14:02
by zigbert
aragon
I tried to install Pburn with theme in a fresh Puppy 3.01. Worked out of the box..... :?

Posted: Wed 12 Mar 2008, 16:24
by HairyWill
Is the problem associated with updating a version of pburn >= 1.0.0.
It looks like if the version is older than this then .pburnrc is replace but if it is newer then only the release number gets updated in the config file. The "export THEME=Pburn-original" doesn't get added to the existing config.

To fix this you can just delete the .pburnrc file or if you want to keep the settings add the line
export THEME=Pburn-original

I think ;-)

Posted: Wed 12 Mar 2008, 17:06
by zigbert
Thanks Will

Will be fixed!

Posted: Sun 16 Mar 2008, 13:50
by Jeff
Anyone have an idea why I get the message on pburn 1.2.2

readlink: /tmp/: Invalid argument

starting from prompt with command pburn on Puppy 2.15CE

Regards

Jeff

Posted: Sun 16 Mar 2008, 14:58
by zigbert
You don't mention if Pburn starts, but I guess it does, since the message occur while calculating available size on your system. Pburn checks this to report back when you burn with a temporary storage. But message shouldn't be pointed to terminal, even if it doesn't make any harm. So I have now fixed it. Thanks.