Ymount 002

Core libraries and systems
Message
Author
User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

#31 Post 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
Attachments
ymount-0.6.1.png
(10.17 KiB) Downloaded 865 times
ymount-0.6.1.tar.gz
bugfix for extended partitions
(5.39 KiB) Downloaded 708 times
Last edited by L18L on Sun 11 Sep 2011, 13:14, edited 1 time in total.

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#32 Post 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.
Attachments
image-3.jpg
(22.08 KiB) Downloaded 888 times
image-2.jpg
(36.56 KiB) Downloaded 870 times

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

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

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

Re: ymount

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

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: ymount

#35 Post 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
Attachments
ymount-0.6.2.png
test CD/DVD please
(13.23 KiB) Downloaded 835 times
ymount-0.6.2.pet
yad required
(5.64 KiB) Downloaded 716 times
Last edited by L18L on Sun 11 Sep 2011, 13:13, edited 1 time in total.

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#36 Post 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
Attachments
DriveMounter062.jpg
(34.82 KiB) Downloaded 832 times

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

#37 Post 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
Attachments
ymount-0.7_detail.png
-
(15.54 KiB) Downloaded 811 times
ymount-0.7_screen.png
selecting multiple partitions
using Ctrl key for selecting
(15.35 KiB) Downloaded 804 times
ymount-0.7.pet
yad required
CD/DVD reports ?
(5.79 KiB) Downloaded 665 times
Last edited by L18L on Sun 11 Sep 2011, 13:12, edited 1 time in total.

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#38 Post 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.
Attachments
ymount&yeject.jpg
(104.27 KiB) Downloaded 728 times
yeject.jpg
(13.75 KiB) Downloaded 809 times

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

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

stu90

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

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

#41 Post 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 :)

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

#42 Post 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
Attachments
ymount-0.8.png
(24.3 KiB) Downloaded 751 times
ymount-0.8.pet
-
(8.65 KiB) Downloaded 652 times
Last edited by L18L on Sun 11 Sep 2011, 13:11, edited 1 time in total.

User avatar
davids45
Posts: 1326
Joined: Sun 26 Nov 2006, 23:33
Location: Chatswood, NSW

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

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

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

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Ymount

#45 Post 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
Attachments
ymount-0.8.1.pet
mount and unmount multiple partitions
(9.25 KiB) Downloaded 698 times
Last edited by L18L on Sun 11 Sep 2011, 13:10, edited 1 time in total.

Jim1911
Posts: 2460
Joined: Mon 19 May 2008, 20:39
Location: Texas, USA

#46 Post by Jim1911 »

Very well done 0.8.1 should now be release candidate.

Jim

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#47 Post by Bert »

Iguleder and L18L, very nice utility 8)

Attached is the Dutch (nl) localization.

Thanks guys!
Attachments
ymount-NL.tar.gz
(2.79 KiB) Downloaded 692 times
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

#48 Post by L18L »

Bert wrote:Iguleder and L18L, very nice utility 8)

Attached is the Dutch (nl) localization.

Thanks guys!
Thank you very much, Bert :)
Attachments
ymount-ml-0.8.1.png
just a preview
(16.75 KiB) Downloaded 1185 times

User avatar
Bert
Posts: 1103
Joined: Fri 30 Jun 2006, 20:09

#49 Post 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.
Attachments
ymount-screen.png
(22.96 KiB) Downloaded 633 times
[url=http://pupsearch.weebly.com/][img]http://pupsearch.weebly.com/uploads/7/4/6/4/7464374/125791.gif[/img][/url]
[url=https://startpage.com/do/search?q=host%3Awww.murga-linux.com%2F][img]http://i.imgur.com/XJ9Tqc7.png[/img][/url]

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

ymount

#50 Post 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 ?

Post Reply