Startmount-0.5.5 Drive automount and program starter

Filemanagers, partitioning tools, etc.
Message
Author
User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#61 Post by 01micko »

ahhhh, you are running puppy 3 too, that may be the problem.
Puppy Linux Blog - contact me for access

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#62 Post by abushcrafter »

No 431 the latest version!

Flash drive install.

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

#63 Post by 01micko »

hmmm, different shell? just the "sh-3.00#" prompt threw me, never saw that one on any puppy after 4.0.

Ok seems the usb install may be the cause, it is experimental, well seems experiment returned negative results, ok we will find a solution, hopefully for the next version.

Thanks

One more thing, do you get the splash screen warning that you are running a usb install?
Puppy Linux Blog - contact me for access

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#64 Post by abushcrafter »

Yes.

I ran it in LxTerminal

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

#65 Post by tasmod »

Version 0.1.5 released, better support for usb drive install.
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:

#66 Post by 01micko »

abushcrafter,

Could you please test this latest version?

USB installs should work now.

Thank you,

01micko
Puppy Linux Blog - contact me for access

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#67 Post by abushcrafter »

Sorry. Yes I have tested 0.1.5. The drives now appears in the list but the drives that are selected are not mounted at boot :(.

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

#68 Post by 01micko »

Ok, thanks for persisting,

I will look into this further... stay tuned over the coming days.

Cheers
Puppy Linux Blog - contact me for access

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

#69 Post by 01micko »

abushcrafter

I think I found the bug.

If you get time could you please test this experimental release which should fix the usb bug.

Anyone else with a usb install is welcome to test this release.

Cheers

EDIT: Bugfix ver removed, get the latest version...See main post.
Last edited by 01micko on Fri 22 Jan 2010, 20:57, edited 1 time in total.
Puppy Linux Blog - contact me for access

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#70 Post by abushcrafter »

Mounting now works :D! I did set 2 drives to be mounted for the test. The run custom app on startup does not work though.

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#71 Post by abushcrafter »

Here is a better .desktop file:

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Name=Startmount (mount & run @ boot)
Comment=Mount drives & run apps at boot.
Icon=/usr/local/Startmount/startmount.xpm
Exec=/usr/local/Startmount/Startmount
Terminal=false
Type=Application
Categories=X-Desktop;

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

#72 Post by tasmod »

Why better ?

The desktop file is generated from input when petting.

Don't you like the entry, it's descriptive. It's not a desktop app but a filesystem app.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#73 Post by abushcrafter »

tasmod wrote:The desktop file is generated from input when petting
You can replace the one in your "files to go into a pet" and it will use that one instead when you make the pet again.
tasmod wrote:Don't you like the entry, it's descriptive.
Its ok. Yes it does have a better description for cases like someone who is not a English speaking native, but it does take up a lot of screen state.
tasmod wrote: It's not a desktop app but a filesystem app.
I thought X-Desktop was for configuration and filesystem for file managers, search apps, rename apps ,ect. Not for file system configuration?


So maybe "better" was the wrong word, "alternative" is probably a better description.

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

#74 Post by tasmod »

OK, I've cleared my test machine and loaded 0.1.5-1

Set a drive and entered pmusic in the program entry field.

Checked Startup and they are there as entries.

Rebooted, drive mounted , then 2 seconds pause and pmusic opened.

So, I'm unable to replicate the problem.

What program were you entering to start at boot ?
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#75 Post by abushcrafter »

artha

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

#76 Post by tasmod »

This is one of the things I'm working on, rather than default apps , programs based upon the menu entries.

Do you have a menu entry for 'artha' in the Document menu?

If you check /root/Startup/start-mount.sh is there an entry for a call to 'programs' ?
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#77 Post by abushcrafter »

tasmod wrote:This is one of the things I'm working on, rather than default apps , programs based upon the menu entries.
Me likes :)!

1. Yes:

Code: Select all

[Desktop Entry]
Version=1.0
Name=Artha
GenericName=thesaurus
Comment=Handy thesaurus based on WordNet
Exec=artha
Icon=artha.png
Terminal=false
Type=Application
StartupNotify=true
Categories=X-Document
2. hang on....

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#78 Post by abushcrafter »

yes

Code: Select all

#!/bin/sh
sleep 4
mkdir /mnt/sda6
mount /dev/sda6 /mnt/sda6 2>/dev/null
sleep 2
. /usr/local/Startmount/programs
/usr/local/Startmount/programs

Code: Select all

 &
artha &

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

#79 Post by tasmod »

Hmm, a stray & at beginning, this will cause it to error out.

Ok, just delete the '&' alone and try rebooting, it should run the program then.

I'll have a look where this is coming from, but I suspect it may be generated by pressing the button with an empty field.

I'll try and replicate it.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
abushcrafter
Posts: 1418
Joined: Fri 30 Oct 2009, 16:57
Location: England
Contact:

#80 Post by abushcrafter »

like enter?

Post Reply