How to have my desktop show nothing but removable drives?

Using applications, configuring, problems
Post Reply
Message
Author
ashes
Posts: 45
Joined: Mon 22 Aug 2011, 23:27

How to have my desktop show nothing but removable drives?

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

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

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

ashes
Posts: 45
Joined: Mon 22 Aug 2011, 23:27

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

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

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

ashes
Posts: 45
Joined: Mon 22 Aug 2011, 23:27

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

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#6 Post by darkcity »

good idea, are you going to make a hacked version of Pmount?

postfs1

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

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

ashes
Posts: 45
Joined: Mon 22 Aug 2011, 23:27

#8 Post 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 ;)

ashes
Posts: 45
Joined: Mon 22 Aug 2011, 23:27

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

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

ocpaul20
Posts: 260
Joined: Thu 31 Jan 2008, 08:00
Location: PRC

#10 Post by ocpaul20 »

could you not let the kids run as user spot and deny access to spot ? Would that work?

User avatar
xophist
Posts: 26
Joined: Mon 10 Dec 2012, 17:00
Location: Coastal Texas

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

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

Post Reply