Startmount-0.5.5 Drive automount and program starter

Filemanagers, partitioning tools, etc.
Post Reply
Message
Author
User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

Startmount-0.5.5 Drive automount and program starter

#1 Post by tasmod »

Startmount-0.5.5 - 01micko and tasmod

An application to read your drives available for mounting and to let you choose which one(s) or all, to automount at next boot.
It can also auto-run a chosen program(s)

So, boot, it will mount drive and launch a program, if chosen.

Handy to start music, launch a browser or whatever your choice from menu of default apps.

Choices, choices, choices. :D


The gui is self explanatory, choose your drive partition(s) to automount next boot, click apply and that's it. Same for program(s) to start at boot.

At next boot the partition(s) will mount at startup and the program chosen will launch. Or just one, maybe a drive or maybe a program only, your choice.

The program list is auto-generated from your default applications. If you install another application as default, say Firefox instead of Sea-Monkey it will auto update.
There is an entry field for you to enter your own program choice and start parameter.

USB support is experimental.

Usual caveat, use at your own risk!


Update:
Version 0.5.5

Small bugfix for ntfs filesystem.


Update:
Version 0.5.3

Small bugfix

Bugfix for .desktop and menu entry '&' in file corrupting tray desktops setting.

Bugfix for multiple entries in rc.local

GUI Change and support for multiple partitions.

Option to choose all drives mounted at start up or just all Linux drives.

USB bug patch added.

Option in menu/preferences for all drives to mount at start up.

Live CD support added. This is assuming you save back, it's in the menu.


Version 0.3.0

Menu option to delay start of program chosen until wireless connection is up and running.

Update to support USB better.

The GUI has been changed to a tabbed version and a menu system added to select the options.

Drive free space is now a menu choice to add to drive details.

Also now a menu choice.
A splash screen opens on boot to remind you drive(s) are selected for mounting at boot time.

On the Programs side there is an entry box for user to enter their favourite application and start parameter. This must be the start command for the application entered.
Attachments
Startmount-0.5.5.pet
(8.2 KiB) Downloaded 6413 times
startoptions.png
(23.75 KiB) Downloaded 31579 times
startmain.png
(30.9 KiB) Downloaded 31729 times
Last edited by tasmod on Thu 07 Apr 2011, 08:00, edited 37 times in total.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#2 Post by tasmod »

Version 0.4.0 released..
Last edited by tasmod on Sun 21 Feb 2010, 16:26, edited 5 times in total.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#3 Post by 01micko »

prog gui
Attachments
SM-alt.jpg
(46.85 KiB) Downloaded 20901 times
Last edited by 01micko on Tue 06 Apr 2010, 10:57, edited 5 times in total.
Puppy Linux Blog - contact me for access

User avatar
trio
Posts: 2076
Joined: Sun 21 Dec 2008, 15:50
Location: अनà¥￾मोदना

#4 Post by trio »

Hello :lol: :lol: :lol:
Last edited by trio on Sun 03 Jan 2010, 11:56, edited 1 time in total.

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#5 Post by dejan555 »

Um, I'm a bit confused, my home partition hda5 is not ommited and I'm not sure which hda2 is I think it's extended partition, see attached:

Code: Select all

sh-3.00# fdisk -l

Disk /dev/hda: 20.0 GB, 20003880960 bytes
255 heads, 63 sectors/track, 2432 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf845406c

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1275    10241406    7  HPFS/NTFS
/dev/hda2            1276        2431     9285570    f  W95 Ext'd (LBA)
/dev/hda5            1278        2366     8747392+  83  Linux
/dev/hda6            2367        2431      522081   82  Linux swap / Solaris

Attachments
drives.jpg
(20.38 KiB) Downloaded 21481 times
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#6 Post by trapster »

Nice.
Does this also unmount them when shutting down?
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#7 Post by tasmod »

dejan,
that gui is different to one expected.
what u using, frugal, full etc. JWM
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#8 Post by dejan555 »

Okay, I see you have:

Code: Select all

grep -v "Extended"
in script but fdisk shows "Ext'd" on my part as you can see, maybe has to do with fdisk version? I'm trying this out on my 214X frugal install on laptop.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#9 Post by 01micko »

trapster wrote:Nice.
Does this also unmount them when shutting down?
Relies on shutdown script for that
Puppy Linux Blog - contact me for access

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#10 Post by dejan555 »

I see that it also uses fstab that's good but I reported once in Bugs forum issue with ntfs rw and fstab, how do you handle that?
http://www.murga-linux.com/puppy/viewtopic.php?t=47699
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#11 Post by tasmod »

If you pass 0 0 parameter it will bug, however if you just leave as auto it will detect and carry on.

When 'disable' is used, all files used are deleted, except program of course. Original fstab restored.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#12 Post by tasmod »

I expected to see drive info as well, this is derived from 'tooltip' so it appears in 214 it is not there.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#13 Post by tasmod »

Now added pic.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#14 Post by dejan555 »

auto detects ntfs and mounts it ro, doesn't use ntfs-3g
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

davesurrey
Posts: 1198
Joined: Tue 05 Aug 2008, 18:12
Location: UK

#15 Post by davesurrey »

Works well on my test setup when I tried it for hda and hdb drives and also the usb stick sda. This is running under ttuuxxx's 214RC2.
Except that it does display hdb5 which is my home partition.

Code: Select all

bash-3.00# fdisk -l 

Disk /dev/hda: 81.9 GB, 81964302336 bytes 
255 heads, 63 sectors/track, 9964 cylinders 
Units = cylinders of 16065 * 512 = 8225280 bytes 
Disk identifier: 0xcdd71121 

   Device Boot      Start         End      Blocks   Id  System 
/dev/hda1   *           1        3824    30716248+   7  HPFS/NTFS 
/dev/hda2            3825        4079     2048287+  82  Linux swap / Solaris 
/dev/hda3            4080        7351    26282340   83  Linux 
/dev/hda4            7352        9964    20988922+  83  Linux 

Disk /dev/hdb: 251.0 GB, 251000193024 bytes 
255 heads, 63 sectors/track, 30515 cylinders 
Units = cylinders of 16065 * 512 = 8225280 bytes 
Disk identifier: 0x7a4a68f9 

   Device Boot      Start         End      Blocks   Id  System 
/dev/hdb1               1        2685    21567231   83  Linux 
/dev/hdb2   *        2686        5468    22354447+  83  Linux 
/dev/hdb3            5469        7973    20121412+  83  Linux 
/dev/hdb4            7974       30515   181068615    5  Extended 
/dev/hdb5            7974       11850    31141971   83  Linux 
/dev/hdb6           11851       11875      200781   83  Linux 
/dev/hdb7           11876       13545    13414243+  83  Linux 
/dev/hdb8           13546       15215    13414243+  83  Linux 
/dev/hdb9           15216       17785    20643493+  83  Linux 
/dev/hdb10          17786       30515   102253693+   b  W95 FAT32 

Disk /dev/sda: 8254 MB, 8254390272 bytes 
255 heads, 63 sectors/track, 1003 cylinders 
Units = cylinders of 16065 * 512 = 8225280 bytes 
Disk identifier: 0x000c3013 

   Device Boot      Start         End      Blocks   Id  System 
/dev/sda1   *           1        1003     8056566    b  W95 FAT32 
bash-3.00#
Now that this app is just over an hour old may I make a feature request?
:-)
It seems that once StartMount has been setup and rebooted it continues to mount the selected drives after each subsequant reboot. I can see the logic here but it could also not be what folk want/expect.

So could StartMount display the current setup rather than display a fresh screen after a reboot. eg if I have already set it to start hda1 and hdb3 then can it remind me by displaying this fact after a fresh reboot (you might not need disable then.)

Hope that's clear.
Thanks as ever for your efforts.

Dave

EDIT:
just seen your pics and mine is like dejan's as I am using 214X RC2. ie no drive info.

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#16 Post by tasmod »

For ease we used the drive tooltip text rather than working out drives size, why not if already done?

It appears that in 214 this tooltip is not there or else in another location.

On desktop when you hover over drive, is tooltip displayed ?
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#17 Post by 01micko »

Seems it is a feature introduced later on davesurrey, not available in 2.14, amazing it doesn't just error out...

If you boot a puppy 4X you will see tooltips when you hover over a drive, that's the info.

Cheers
Puppy Linux Blog - contact me for access

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#18 Post by dejan555 »

I'll test this later on dpup I have like 10 partitions on my desktop PC.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#19 Post by tasmod »

dave,

One of the features we intended to add was an autostart of selected apps.

Scenario: 8)

Pmusic.

Start computer, windows partition or other partition mounts with your music files in it, pmusic starts and uses playlist. there, instant music.

Will look into further options for running the Startmount app. :D
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

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

#20 Post by zigbert »

Mmmmmmmm!!!!!!!!!!!!! :D :D :D

Goes of course straight into Stardust


Sigmund

Post Reply