Page 2 of 6

ymount

Posted: Wed 03 Aug 2011, 18:44
by L18L
Jim1911,
thank you for reporting :)

Here is bugfix version 0.6.1

Mounted partitions are listed first.
The other partitions appended.
You can select for mount or unmount before the listing has finished.
Sorting columns is very handy and fast.

Testers needed for CD/DVD (and floppy drives?)

For error reports please start it from command line

Code: Select all

#ymount
and send any messages appearing there.

davids45,
please report if problem2 still exists.
Thank you

L

Edited 2011-09-11
Link to latest version provided always here:
http://www.murga-linux.com/puppy/viewtopic.php?p=557739

Posted: Wed 03 Aug 2011, 19:31
by Jim1911
Partitions on drive sdb are still not reported correctly. This is using puppy squeeze 5.0.0.3. Report shown by pmount is correct with the exception of a floppy drive that is not present (no disk was present in sr0 when image-2 was made). USB and DVD drives are presented correctly by ymount in image-3. Starting from command line produced no error reports.

ymount

Posted: Wed 03 Aug 2011, 19:58
by L18L
Jim1911,

Your sdb6 is swap ! Right?
I have reproduced the bug and will fix it tomorrow.
It is bed time here now

Thank you.

Re: ymount

Posted: Wed 03 Aug 2011, 20:04
by Jim1911
L18L wrote:Jim1911,

Your sdb6 is swap ! Right?
I have reproduced the bug and will fix it tomorrow.
It is bed time here now

Thank you.
That's right, you've produced a fine utility.

Thanks,
Jim

Re: ymount

Posted: Thu 04 Aug 2011, 09:49
by L18L
Jim1911 wrote:you've produced a fine utility.
Thank you, and thanks to Iguleder, stu90, technosaurus and all testers :)

Here is bugfix version 0.6.2 for swap partitions.


Edited 2011-09-11
Link to latest version provided always here:
http://www.murga-linux.com/puppy/viewtopic.php?p=557739

Posted: Thu 04 Aug 2011, 13:48
by Jim1911
Great, it now recognizes all partitions on sdb. Tested on latest spup.

Consider, resizing the opening screen so that it shows all drive information.

Thank you for a fine little utility.

Jim

ymount

Posted: Thu 04 Aug 2011, 15:26
by L18L
Jim1911 wrote:Consider, resizing the opening screen so that it shows all drive information.
Your wish is my command :lol:

Edit: sorry, I have changed the wrong height.
please edit /bin/ymount and change line 33 from
| yad --width 354 --height 200 \
to
| yad --width 354 --height 300 \
(or any other height)

version 0.7: Select multiple partitions

Why?
Image you want full info of all your partitions.
How?
Select using shift and Enter (everything between)
or Ctrl and Enter (add single items)

Mounting/unmounting is of course not faster but you can have a break :)
Enjoy

Waiting for other feature requests
L


Edited 2011-09-11
Link to latest version provided always here:
http://www.murga-linux.com/puppy/viewtopic.php?p=557739

Posted: Thu 04 Aug 2011, 17:01
by Jim1911
Thanks, however, I used width 500 --height 310 with both ymount and yeject which shows all of my data without having to scroll.

Another suggestion for both ymount and yeject. The X in the upper right corner should exit the program.

There is a problem with yeject, as you can see I get the following message regardless of the mounted condition of the device. In this case, sro has a disk in it and is highlighted to eject. Sro is not mounted.

ymount

Posted: Thu 04 Aug 2011, 20:15
by L18L
Jim1911 wrote:Thanks, however, I used width 500 --height 310 with both ymount and yeject which shows all of my data without having to scroll.

Another suggestion for both ymount and yeject. The X in the upper right corner should exit the program.

There is a problem with yeject, as you can see I get the following message regardless of the mounted condition of the device. In this case, sro has a disk in it and is highlighted to eject. Sro is not mounted.
width and height depends on userĀ“s hardware. Best will be if individual window geometry will be saved over restart/reboot.

The X....yes.

Yeject: display is broken. Please fix it by adding column Size in /bin/yeject

--column="Type" --column="Model" --column="Size:NUM $size_unit" )

And the last line should be:

Code: Select all

eject $device
not

Code: Select all

eject_device $device
We are getting closer to 1.0

Thanks for reporting.
L

Posted: Fri 05 Aug 2011, 14:44
by stu90
Great work L18L 8)
My usb drives are now listed correctly in the single window and can mount / unmount ok
your Yeject fix works as well :)

It is very handy to quickly access all drives and partitions in the one window when rox pinboard is disabled.

I will be adding Ymount as a default application to my next build of D-Lite puppy. :D

cheers.

ymount

Posted: Fri 05 Aug 2011, 18:59
by L18L
stu90 wrote:Great work L18L 8)
My usb drives are now listed correctly in the single window and can mount / unmount ok
your Yeject fix works as well :)

It is very handy to quickly access all drives and partitions in the one window when rox pinboard is disabled.

I will be adding Ymount as a default application to my next build of D-Lite puppy. :D

cheers.
Take version 0.8 (coming soon)
# v 0.8 select multiple devices, no more preferences, help added

Thanks :)

ymount

Posted: Fri 05 Aug 2011, 19:17
by L18L
No more preferences but selected (one or several or all) devices are stored in the config file an used at each start.

Yad required

Super fast mount and/or unmount

Enjoy :)


Edited 2011-09-11
Link to latest version provided always here:
http://www.murga-linux.com/puppy/viewtopic.php?p=557739

Posted: Sat 06 Aug 2011, 01:08
by davids45
G'day L18L,
Using ymount 0.8 on a 1600x900 monitor.

Optical drives (2) worked well (double lines now gone). Minor problem that Rox window is blank - mounting the disk takes a little time so Rox opens before the disk is ready to be read? Refreshing Rox shows the CD details.

The start-up box is not wide enough on my 1600x900 monitor to see the right-hand column details. I can drag it wider but could the default width be increased (I see earlier posts with a similar request).

I have an external, 4-partition USB drive which ymount opened correctly - I selected the drive (eg sde), and mounted one of its partitions (eg sde4). I unmounted this partition, unmounted the drive and turned off the USB drive. I closed ymount. Opening ymount, the dialog box was trying to display the details for the now not present USB drive. Would it be better to start ymount at the all-drives option instead of the last mounted drive/partition if that is not available?

And the top-right corner X did not close ymount for me.

ymount-0.8 is a very nice package, much better than 0.02 - could you edit the thread heading to tell others how far you've got :) ?

David S.

ymount

Posted: Sat 06 Aug 2011, 18:19
by L18L
Jim1911 wrote:Another suggestion for both ymount and yeject. The X in the upper right corner should exit the program.
L18L wrote:The X....yes.
davids45 wrote:And the top-right corner X did not close ymount for me.
Problem solved now, next version coming soon!
Including floppy drives (Jim1911, please test)
davids45 wrote: Minor problem that Rox window is blank - mounting the disk takes a little time so Rox opens before the disk is ready to be read? Refreshing Rox shows the CD details.
Problem solved, thanks for pointing to this, I could reproduce it with a slow USB stick.
The start-up box is not wide enough on my 1600x900 monitor to see the right-hand column details. I can drag it wider but could the default width be increased (I see earlier posts with a similar request).

Code: Select all

device=$(list_devices_friendly \
          | yad --width 500 --height 310 \
How wide should it be?
Would it be better to start ymount at the all-drives option instead of the last mounted drive/partition if that is not available?
Hmmm...
I have changed the code to test if the drives of the last session are still plugged in deleting the ones which are not present from the list of drives in the header.
could you edit the thread heading to tell others how far you've got Smile ?
No, I cannot, it is Iguleder's thread. :wink:

Thanks again to all testers, we are getting closer to 1.0

Ymount

Posted: Sat 06 Aug 2011, 19:13
by L18L
Here is version 0.8.1
bugfixes, floppy, code tidied

Requires rox and yad
yad should run on all recent puppies (5xxx)
seaside wrote: Here's a link for yad compiled for pup431
http://murga-linux.com/puppy/viewtopic. ... h&id=38895
in case anyone would like it.

Cheers,
s
Thanks seaside :)



Edited 2011-09-11
Link to latest version provided always here:
http://www.murga-linux.com/puppy/viewtopic.php?p=557739

Posted: Sat 06 Aug 2011, 20:20
by Jim1911
Very well done 0.8.1 should now be release candidate.

Jim

Posted: Sat 06 Aug 2011, 20:35
by Bert
Iguleder and L18L, very nice utility 8)

Attached is the Dutch (nl) localization.

Thanks guys!

ymount

Posted: Sun 07 Aug 2011, 15:21
by L18L
Bert wrote:Iguleder and L18L, very nice utility 8)

Attached is the Dutch (nl) localization.

Thanks guys!
Thank you very much, Bert :)

Posted: Sun 07 Aug 2011, 18:16
by Bert
Hi L18L,

1. Looks like you have a special developers version, with language change enabled? :wink:

2. I noticed the "Quit" button is not translated.

ymount

Posted: Sun 07 Aug 2011, 19:34
by L18L
Hi Bert,
you wrote:1. Looks like you have a special developers version, with language change enabled?
No special version, it is a preview on next feature "Language switcher".
0.8.1 means: same as before
ml multi language
English Onlys might stay with version 0.8.1 as Jim1911 suggested. :)

Or anyone will complain about bad English
(I hope so, don't be shy.
It is important to correct English text as early as possible
because English texts are keywords in translation)

Bert wrote:2. I noticed the "Quit" button is not translated.
This translation is done (or NOT in your case) by gtk20.mo
If you have /usr/share/locale/nl/LC_MESSAGES/gtk20.mo then your quit button will display verlaten

Another advantage of gettext: No need to translate gtk buttons
So Help is Dutch :!:

I have noticed something in your translation that will be of general interest

_Unmount and _Mount

The underscores are in ymount.po

In the GUI they are underlines
and enable jumps to them by keyboard strokes
(not everybody is always using a mouse [hello AJ :) ])

So the translator has to take care of this
Use the underscore clearly and meaningful

In the example
U an M
are meaningful
and different from each other and from other shortcuts.

So I suggest for Dutch to make it:
A_fkoppelen and Aa_nkoppelen

I have already changed this in my version which will be uploaded soon.

Any other suggestions will be always welcomed.

Thanks again for your contribution, may others follow :)

My regards
L

PS
thinking about version numbering: this preview should better become simply 0.9 ?