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:

#91 Post by 01micko »

xcleaner

I can confirm the usb bug.

if you navigate to '/usr/local/Startmount/Startmount', directly after line 122 add as the next line

Code: Select all

export pupmode
That fixes it, thank you for reporting. It will be fixed in the next version.

Nancy

We decided not to support "live" installations. If pupmode is 5 then Startmount can't work as nothing is saved. If pupmode is 77 we have no way to tell if you are going to save that session or not. If you don't save it then of course Startmount can't work. However, if you save back to CD and decide you are happy with how you have things then I suppose we can support "live", as in save back to CD (pupmode 77).

Cheers
Puppy Linux Blog - contact me for access

nancy reagan
Posts: 544
Joined: Thu 22 Jan 2009, 14:20

yes with "save to cd"

#92 Post by nancy reagan »

01micko wrote:xcleaner

I can confirm the usb bug.

if
Nancy

We decided not to support "live" installations. If pupmode is 5 then Startmount can't work as nothing is saved. If pupmode is 77 we have no way to tell if you are going to save that session or not. If you don't save it then of course Startmount can't work. However, if you save back to CD and decide you are happy with how you have things then I suppose we can support "live", as in save back to CD (pupmode 77).

Cheers
Micko thx for the prompt answer.

Maybe Grancy does not quite understand ye, but still I understand it only works after a "save to cd" not "to the sky".

But maybe that was not what you were explaning ?

It would be heaven if cd would autostart some progs and mount some disks ..

Flash might be a great tester for this ?.

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

#93 Post by 01micko »

Hi nancy

I think you got the grasp of what I was explaining. :wink:

I have managed to get support for running live saving back to CD/DVD working, and I certainly agree that it would be very handy for Flash. I think he said he saves some files to a usb stick while he runs live off a DVD, so (theoretically :wink: :lol: , assuming it works correcrly) he could have his usb drive auto mounted. I will put a reminder splash screen in the program so you remember that the CD/DVD session must be saved for Startmount to work.

A new version will be released soon.

Cheers
Puppy Linux Blog - contact me for access

nancy reagan
Posts: 544
Joined: Thu 22 Jan 2009, 14:20

Already -before- saving anythin

#94 Post by nancy reagan »

01micko wrote:Hi nancy

I think you got the grasp of what I was explaining. :wink:

I have managed to get support for running live saving back to CD/DVD working, and I certainly agree that it would be very handy for Flash. I think he said he saves some files to a usb stick while he runs live off a DVD, so (theoretically :wink: :lol: , assuming it works correcrly) he could have his usb drive auto mounted. I will put a reminder splash screen in the program so you remember that the CD/DVD session must be saved for Startmount to work.

A new version will be released soon.

Cheers
Hi Micko,

After I'd "installed" the pet (or wanting to run it for the 1st time, forgot) I already got the msg something like "we don't handle live cd's" or something of the like.

So I was not trying to save anything, for the horse had not even started. You see ?

Thx again

xcleaner
Posts: 11
Joined: Mon 21 Dec 2009, 10:52

Anwer to 01micko

#95 Post by xcleaner »

Hello!

Thank you very much for your answer about USB Install

adding export pupmode after line 122 works fine and every drives are automounted
at startup!

I will put this issue in the french forum so it can help someone !

DAN

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

#96 Post by tasmod »

Version 0.4.0 released with Live CD support.
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:

#97 Post by 01micko »

Starmount 0.5.0 is released,

See the 3rd post on the first page. (my post)

There are numerous changes. I have released this because Rob is very busy at the moment and is taking a well earned rest from Startmount duties. 8) .

This will be the last version for some time as work on Puppy 5 will be taking priority.

Please report bugs, they will be dealt with post haste.

Cheers.
Puppy Linux Blog - contact me for access

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

#98 Post by zigbert »

Thank you

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

#99 Post by tasmod »

Version 0.5.0 released, see first post.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
sasaqqdan
Posts: 39
Joined: Fri 06 Jun 2008, 13:56
Location: China,Zhejiang,Hangzhou
Contact:

#100 Post by sasaqqdan »

Startmount v0.5.0,/usr/local/Startmount/startfunc,line99:

Code: Select all

echo "exec $WORKDIR/mount-drives.sh" >> /etc/rc.d/rc.local
fix:

Code: Select all

[ "`grep '.startmount/mount-drives.sh'  /etc/rc.d/rc.local`" = "" ]  && echo "exec $WORKDIR/mount-drives.sh" >> /etc/rc.d/rc.local

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

#101 Post by 01micko »

Thanks
Puppy Linux Blog - contact me for access

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

#102 Post by tasmod »

Version 0.5.1 released on first page.

Two minor bugfixes.

Multiple entries in rc.local. Fixed slightly differently but thanks to sasaqqdan for pointing it out.

The use of '&' in the menu title entry and in the .desktop file causes JWM to "corrupt config file" error for tray desktop settings when using tray configuration manager.
This comes from the dir2pet allowing '&' in entry and JWM interpreting it as a command.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
sasaqqdan
Posts: 39
Joined: Fri 06 Jun 2008, 13:56
Location: China,Zhejiang,Hangzhou
Contact:

#103 Post by sasaqqdan »

/usr/local/Startmount/startfunc,line 81:

Code: Select all

echo  "$(if [ "`grep $i $WORKDIR/drive | awk '{print $4}'`" = "ntfs" ]; then  echo "mount ntfs-3g";else echo "mount" ;fi) /dev/$i /mnt/$i 2>/dev/null"  >> $WORKDIR/mount-drives.sh ; done
fixed:

Code: Select all

echo  "$(if [ "`grep $i $WORKDIR/drive | awk '{print $4}'`" = "ntfs" ]; then  echo "mount ntfs-3g";elif [ "`grep $i $WORKDIR/drive | awk '{print $4}'`" = "vfat" ]; then  echo "mount -o shortname=mixed,quiet,utf8";else echo "mount" ;fi) /dev/$i /mnt/$i 2>/dev/null"  >> $WORKDIR/mount-drives.sh ; done
Attachments
startmount-cn051.jpg
startmount vfat error for CJK
(123.97 KiB) Downloaded 910 times
Last edited by sasaqqdan on Fri 16 Apr 2010, 06:43, edited 2 times in total.

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

#104 Post by 01micko »

sasaqqdan

Thank you for finding bugs :) . Will be fixed soon

_____________

Bug reporting is important, if you find one please report.

Cheers
Puppy Linux Blog - contact me for access

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#105 Post by jemimah »

I'm planning to add this to Puppeee, but no startup programs show up on the programs pane. It's supposed to list the things in /root/Startup, right?

Also you have two pets in the first post with the same name, do I want the first one or the second one?

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

#106 Post by 01micko »

Hi jemimah

the 2 pet thing, AFAIK they are the same, I know Rob was having forum issues at the time.

Now, the main issue, are you reporting a bug? Are you selecting programs from the top pane, adding to bottom and clicking apply?

Or are you saying that the programs in the top pane aren't appearing? It gets those from all the 'default*' programs in /usr/local/bin

More info please :)

Cheers
Puppy Linux Blog - contact me for access

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

#107 Post by tasmod »

Second instance of pet removed. Sorry, forum issues.

Forum's not playing well for me.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#108 Post by jemimah »

I'm not sure if it's a bug or not. How do I get startup programs to appear in here?
Attachments
startmount.jpg
(39.72 KiB) Downloaded 1957 times

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

#109 Post by 01micko »

Hmmm...

that sure looks like a bug, I'll investigate, thanks.

See the screeny in my first post on page 1.
Puppy Linux Blog - contact me for access

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

#110 Post by 01micko »

ok, heres a bugfix

drop it in /usr/local/Startmount, gunzip and make it executable
Attachments
Startmount.gz
(3.93 KiB) Downloaded 1041 times
Puppy Linux Blog - contact me for access

Post Reply