The time now is Thu 20 Jun 2013, 08:05
All times are UTC - 4 |
|
Page 17 of 132 [1969 Posts] |
Goto page: Previous 1, 2, 3, ..., 15, 16, 17, 18, 19, ..., 130, 131, 132 Next |
| Author |
Message |
Nathan F

Joined: 08 Jun 2005 Posts: 1641 Location: Wadsworth, OH (occasionally home)
|
Posted: Mon 21 Apr 2008, 20:12 Post subject:
|
|
| Quote: | | Code: | # pburn
ls: unrecognized option `--group-directories-first'
Try `ls --help' for more information.
sh: locate: command not found
sh: locate: command not found |
|
Older Puppies used busybox for the ls command, which doesn't recognize the "--group-directories-first" option. I've been working on tweaking Pburn for my new Grafpup and that was one of the first things I found.
This could be fixed (with a bit of work) in the Pburn code, or it might just be easier to provide an ls binary for those who don't have the real thing in their version of Puppy. Zigbert's call here.
I do have a suggestion for the way the theming has been implemented. In v1.4.2. As of right now it does this:
| Code: | | export GTK2_RC_FILES="`cat $HOME/.gtkrc-2.0 | grep -m 1 gtkrc | cut -d'\"' -f2 2> /dev/null`" #get active theme |
This grabs the current theme if it is listed in $HOME/.gtkrc-2.0 (which is normal). However, it misses any custom fonts or icon themes. It also misses any includes. For instance, my .gtkrc-2.0 has this:
| Code: | include "/root/.config/gtk-2.0/gtkrc.icons"
include "/root/.config/gtk-2.0/gtkrc.widgets"
include "/root/.config/gtk-2.0/gtkrc.fonts" |
This is because of how my gtk+ theme manager works in Grafpup (development branch) and Pburn is the only app that doesn't abide my settings, at least not as written. I would suggest this instead:
| Code: | export GTK2_RC_FILES="$HOME/.gtkrc-2.0" #get active theme
export GTK2_RC_FILES="$APPDIR/themes/$THEME/gtk/gtkrc:$GTK2_RC_FILES" |
Quite simple in comparison and it works. I think you were overthinking this one part. Just by exporting gtkrc-2.0 anything included in it will be used automatically - no need to extract the path to the real theme.
I also have a couple issues with running Pburn in a multi-user environment, basically Grafpup or any other distro besides Puppy would have this particular issue. Pburn uses /tmp, which is fine, but lets say it was run as root, root logged out, and then "nathan" logged in and tried to burn something. Well "nathan" can't overwrite any of those files in /tmp so Pburn fails completely. Two relatively painless solutions:
1) Append the users name to the temp files - /tmp/pburn-burn.`whoami`, or conversely put them into a subdir based on uid or username.
2)Use a dir in $HOME instead (I use $HOME/.config/tmp a lot).
This is of course not a concern if you're intention is an app that will only run in Puppy, and I'll take the time to port it myself if need be. I already have a customized version going into Grafpup, but it's then a pain to upgrade when you keep releasing new versions with very worthwhile features and upgrades
Overall I'm very impressed with Pburn, however, and I want to thank you for all the work that has gone into it. Most of the things I saw as problems at first have either already been corrected or I was wrong in my original assumptions anyway.
Nathan
_________________ _________________________________________
Bring on the locusts ...
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5295 Location: Valåmoen, Norway
|
Posted: Tue 22 Apr 2008, 15:20 Post subject:
|
|
Nathan
Thanks for input!
It would be very nice getting Pburn running in Grafpup.
1. Yes, I move all files to $USER/tmp/...
2. I'll check the include gtkrc in Puppy and follow your suggestion if no troubles occur.
3. Do you know when 'ls' was introduced into Puppy? I can give a link, but need to know what Puppy version that needs 'ls'.
There is a huge upgrade with version 1.5.0. Will try to release it during the next weekend. (or the one after that. My sparetime is limited at the moment.)
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
Nathan F

Joined: 08 Jun 2005 Posts: 1641 Location: Wadsworth, OH (occasionally home)
|
Posted: Tue 22 Apr 2008, 17:12 Post subject:
|
|
I searched through Barry's news pages (harder now that the archives are not in a blog, but separate static html pages) and found that the full "ls" utility was introduced into Puppy in v2.16.
I'll continue to check in from time to time, I've got to get back to work for now.
Nathan
_________________ _________________________________________
Bring on the locusts ...
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5295 Location: Valåmoen, Norway
|
Posted: Wed 23 Apr 2008, 09:37 Post subject:
|
|
Thanks for info. I'll add note in main post.
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6201 Location: Auckland, New Zealand
|
Posted: Thu 24 Apr 2008, 19:50 Post subject:
|
|
| Quote: | | 1. Yes, I move all files to $USER/tmp/... |
Please can we make this configurable?
What if I don't have that much free space in ~ ?
What if I want to use a particular partition?
What if I like Puppies with /tmp in a ramdisk, and like temporary files to be there?
   
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
Nathan F

Joined: 08 Jun 2005 Posts: 1641 Location: Wadsworth, OH (occasionally home)
|
Posted: Fri 25 Apr 2008, 10:42 Post subject:
|
|
| Quote: | | Please can we make this configurable? |
That to me sounds like an excellent idea. It solves my problem and it keeps from interfering with the way Puppy users expect it to work.
Nathan
_________________ _________________________________________
Bring on the locusts ...
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5295 Location: Valåmoen, Norway
|
Posted: Fri 25 Apr 2008, 11:46 Post subject:
|
|
These files are not big at all, so space issues shouldn't exist. It's nice to clean up /tmp/ at boot, and for Pfind and Picker it would be a true hell, since the pid is added to all file. This to be able to run several instances without interfere with each other. But Pburn will max hold one set of temporary files. Remember that all files with weight (wav, iso, mp3...) are stored in the temporary storage defined in preferences. But hey, it really doesn't matter for me. Maybe a parameter could set tmp-config-path.
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6201 Location: Auckland, New Zealand
|
Posted: Fri 25 Apr 2008, 18:23 Post subject:
|
|
| Quote: | | Remember that all files with weight (wav, iso, mp3...) are stored in the temporary storage defined in preferences. | Oh yes, of course. It doesn't matter then
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5295 Location: Valåmoen, Norway
|
Posted: Sun 27 Apr 2008, 12:45 Post subject:
|
|
Version 1.5.0
See main post
_________________ Stardust resources
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6201 Location: Auckland, New Zealand
|
Posted: Mon 28 Apr 2008, 09:47 Post subject:
|
|
1. If I answer "no" to the "Clear storage and Continue?" question, then the initial progress window isn't killed. It used to be, but isn't with 1.5.0
2. A feature suggestion:
Can anyone think of the best way to change the order of files on an audio CD, other than the up down buttons? Because at the moment if you want to change something from track 8 to track 2, you have to click on it and click up, then click on it and click up, then click on it and click up, then click on it and click up, then click on it and click up, then click on it and click up
Maybe we could have an extra button to move the position of a track, that pops up a window with a button for each position, so it just takes two clicks to move a track? I thought of a few other ways, but they weren't as good...
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5295 Location: Valåmoen, Norway
|
Posted: Mon 28 Apr 2008, 11:43 Post subject:
|
|
disciple
| Quote: | | If I answer "no" to the "Clear storage and Continue?" | The new splash must be killed. Thanks.
The UP/DOWN buttons is on my todo-list, and I think we will make them work properly in the end. Haven't you seen....it works in Picker. The difference is that in Pburn, filename changes when moving, so the variable of burnlist also changes. But when writing this I think of a solution. What if we:
TMP=`echo $BURNLIST | sed -e "s/(..)_//"`
BURNLIST=`cat $WORKDIR/pburn-burn | grep "$TMP" | cut -d '|' -f 1`
If we store this info in $WORKDIR/pburn-BURNLIST move UP/DOWN always know what file that was moved last time.
I'll look at it. Thanks to you, disciple. Go on - push the limits.
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5295 Location: Valåmoen, Norway
|
Posted: Mon 28 Apr 2008, 12:11 Post subject:
|
|
Works!
_________________ Stardust resources
|
|
Back to top
|
|
 |
Botanic

Joined: 05 Sep 2007 Posts: 240 Location: Toulouse, France
|
Posted: Tue 29 Apr 2008, 03:39 Post subject:
|
|
blanking works fine, good work !
but, i shouldn't stop complaining if i want to be useful 
the log window is displaying things in a strange way, as shown in the screenshot. why not use rxvt -title /root/.pburn/tmp/pburn-log -e cdrecord etc.
i think the reason is no emergency stop then ?
also, the "old default" look of the preferences window (same as the log window shown below) is on purpose or not? no problem at all, just to know if it's due to incompatibility of Pburn with Puppy 2.16, or if it's intended (with Pburn 1.4.2 it used my gtk-theme)
| Description |
|
| Filesize |
50.56 KB |
| Viewed |
543 Time(s) |

|
_________________ Puppy 2.16 on HP Vectra VL400 - PIII 800 MHz - 320M RAM
Wary on Acer Aspire X3200 - Phenom X4 - 2.2GHz - 4G RAM
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5295 Location: Valåmoen, Norway
|
Posted: Tue 29 Apr 2008, 11:12 Post subject:
|
|
Botanic
rxvt -e does close rxvt-window after command is executed. I want the user to look at the output to check error messages.
I have tested Pburn on Puppy 3/4. The handling of gtk-themes has changed with Puppys evolution. If you find a way to get it work, please give feedback. From version 1.5.0 it should be compatible with GrafPup.
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5295 Location: Valåmoen, Norway
|
Posted: Wed 30 Apr 2008, 13:03 Post subject:
|
|
Version 1.5.1
See main post
_________________ Stardust resources
|
|
Back to top
|
|
 |
|
|
Page 17 of 132 [1969 Posts] |
Goto page: Previous 1, 2, 3, ..., 15, 16, 17, 18, 19, ..., 130, 131, 132 Next |
|
|
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
|