pBurn 4.3.19

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#151 Post 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 :)
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#152 Post 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

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#153 Post by zigbert »

Version 1.2.0 is uploaded. See main post.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#154 Post 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.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#155 Post 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]
Last edited by mikeb on Sat 08 Mar 2008, 02:29, edited 1 time in total.

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

What did I do wrong?

#156 Post 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?
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

xekarfwtos
Posts: 7
Joined: Tue 19 Feb 2008, 08:57

#157 Post 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.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#158 Post 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

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#159 Post 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.
[i]Actions speak louder than words ... and they usually work when words don't![/i]
SIP:whodo@proxy01.sipphone.com; whodo@realsip.com

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#160 Post 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

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#161 Post by zigbert »

mikeb
You're right!
double brackets for reliable intepretation
can you explain this some more?

Sigmund

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#162 Post 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

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#163 Post by zigbert »

Why shouldn't user get the possibility to repeat 'blank command'?

Sigmund

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#164 Post 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.

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

Theme Support

#165 Post 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

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#166 Post by zigbert »

aragon
I tried to install Pburn with theme in a fresh Puppy 3.01. Worked out of the box..... :?

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#167 Post 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 ;-)
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#168 Post by zigbert »

Thanks Will

Will be fixed!

Jeff
Posts: 23
Joined: Sun 05 Feb 2006, 13:19

#169 Post 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

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#170 Post 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.

Post Reply