Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 21 Oct 2014, 23:35
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to have my desktop show nothing but removable drives?
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
ashes

Joined: 22 Aug 2011
Posts: 46

PostPosted: Sun 02 Dec 2012, 17:37    Post_subject:  How to have my desktop show nothing but removable drives?  

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
Back to top
View user's profile Send_private_message 
darkcity


Joined: 23 May 2010
Posts: 2462
Location: near here

PostPosted: Mon 03 Dec 2012, 12:35    Post_subject:  

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?

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send_private_message Visit_website 
ashes

Joined: 22 Aug 2011
Posts: 46

PostPosted: Tue 04 Dec 2012, 01:54    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
darkcity


Joined: 23 May 2010
Posts: 2462
Location: near here

PostPosted: Tue 04 Dec 2012, 09:16    Post_subject:  

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?

_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send_private_message Visit_website 
ashes

Joined: 22 Aug 2011
Posts: 46

PostPosted: Wed 05 Dec 2012, 09:25    Post_subject:  

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
Back to top
View user's profile Send_private_message 
darkcity


Joined: 23 May 2010
Posts: 2462
Location: near here

PostPosted: Wed 05 Dec 2012, 12:10    Post_subject:  

good idea, are you going to make a hacked version of Pmount?
_________________
helping Wiki for help | IF SendSpace link = "dead" THEN PM me ("up file to http://meownplanet.net/")
Back to top
View user's profile Send_private_message Visit_website 
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Wed 05 Dec 2012, 14:16    Post_subject: Re: How to have my desktop show nothing but removable drives?  

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.

_________________
  • I don't know why laboratories are named a hospitals.
  • The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.

Back to top
View user's profile Send_private_message 
ashes

Joined: 22 Aug 2011
Posts: 46

PostPosted: Wed 05 Dec 2012, 19:17    Post_subject:  

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 Wink
Back to top
View user's profile Send_private_message 
ashes

Joined: 22 Aug 2011
Posts: 46

PostPosted: Wed 05 Dec 2012, 19:21    Post_subject: Re: How to have my desktop show nothing but removable drives?  

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
Back to top
View user's profile Send_private_message 
ocpaul20

Joined: 31 Jan 2008
Posts: 189
Location: Right on top of CERN

PostPosted: Tue 11 Dec 2012, 03:12    Post_subject:  

could you not let the kids run as user spot and deny access to spot ? Would that work?
Back to top
View user's profile Send_private_message 
xophist


Joined: 10 Dec 2012
Posts: 26
Location: Coastal Texas

PostPosted: Tue 11 Dec 2012, 19:47    Post_subject: Re: How to have my desktop show nothing but removable drives?  

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
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0606s ][ Queries: 12 (0.0044s) ][ GZIP on ]