Page 1 of 1

How to have my desktop show nothing but removable drives?

Posted: Sun 02 Dec 2012, 21:37
by ashes
I have chosen the desktop to be blank but I would like an icon to show up when a usb stick gets connected

how can I configure puppy as such?

thanks in advance

Posted: Mon 03 Dec 2012, 16:35
by darkcity
Puppy usually adds an icon when new removable media is insert.

Which Puppy and by which method have you set the desktop to be blank?

Posted: Tue 04 Dec 2012, 05:54
by ashes
I'm running lucid 528. I have used Desksetup to set the desktop blank.

I'm configuring a puppy session for kids and I don't want them to be able to access the hard drive easily.
However if they connect some usb device , I would like desktop to show this icon so that they just have to click it in order to have access.

Posted: Tue 04 Dec 2012, 13:16
by darkcity
nice find, I didn't know about 'Desktop Setup ...'

The file it configures is /etc/eventmanager

Unfortunately, I can't find a way for it to let you have usb (removable) icons and not the harddrive icons. Maybe a work around would be another way to let your children access only usb, or maybe one folder. Unless someone knows better?

Posted: Wed 05 Dec 2012, 13:25
by ashes
thank you so far,
there might be a way, finding a possibility to show only the usb division of pmount
I will post this question on a new thread

Posted: Wed 05 Dec 2012, 16:10
by darkcity
good idea, are you going to make a hacked version of Pmount?

Re: How to have my desktop show nothing but removable drives?

Posted: Wed 05 Dec 2012, 18:16
by postfs1
ashes wrote:I have chosen the desktop to be blank but I would like an icon to show up when a usb stick gets connected

how can I configure puppy as such?

thanks in advance
Maybe through /etc/fstab --->
perhaps the user has an opportunity to turn on the AUTO MOUNT for USB sticks and to turn off the AUTO MOUNT for HDDs.

Posted: Wed 05 Dec 2012, 23:17
by ashes
darkcity wrote:good idea, are you going to make a hacked version of Pmount?
yes, I guess so. with help of the forum if I find no other solution ;)

Re: How to have my desktop show nothing but removable drives?

Posted: Wed 05 Dec 2012, 23:21
by ashes
postfs1 wrote: Maybe through /etc/fstab --->
perhaps the user has an opportunity to turn on the AUTO MOUNT for USB sticks and to turn off the AUTO MOUNT for HDDs.
I've had that that idea, too, but fstab looks very blank by default

Posted: Tue 11 Dec 2012, 07:12
by ocpaul20
could you not let the kids run as user spot and deny access to spot ? Would that work?

Re: How to have my desktop show nothing but removable drives?

Posted: Tue 11 Dec 2012, 23:47
by xophist
ashes wrote:I have chosen the desktop to be blank but I would like an icon to show up when a usb stick gets connected

how can I configure puppy as such?
I run my setup script after booting. Among other things, it runs this:

rox -p <path>/PuppyPin_bare

PuppyPin_bare is just a copy of /root/Choices/ROX-Filer/PuppyPin with all the unwanted icons commented out:
<!--
unwanted line
unwanted line
-->

So the session starts with a bare desktop, but new icons appear for devices added later, such as flash drives.

Here's a recap:
1. copy the default PuppyPin somewhere
2. comment out blocks of lines using the XML comment syntax show above
3. execute "rox -p <path to modified PuppyPin>"

Devices added later will automagically be allocated desktop icons. At least that's how it worked for slacko5.3.3 and now slacko5.4

HTH