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, 11:45
All times are UTC - 4
 Forum index » Taking the Puppy out for a walk » Suggestions
Some suggestions that will make Puppy excellent
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Author Message
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Wed 08 Dec 2010, 12:17    Post_subject:  

Awesome! I will add this to my next release of Puppeee and Fluppy.
Back to top
View user's profile Send_private_message Visit_website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Wed 08 Dec 2010, 15:50    Post_subject:  

If you make this modification, then the drives with out labels will line up vertically.

Code:
   if [ "$DRLABEL" = "" ]; then
      echo -e "$@\n "
   else
      echo "$DRLABEL
($@)"
   fi
Back to top
View user's profile Send_private_message Visit_website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Wed 08 Dec 2010, 18:20    Post_subject:  

I don't suppose anyone's interested in writing a simple GUI to change the disk label?

Note that Gparted can do it, but Mtools must be installed to change FAT labels. Mtools 4 doesn't seem to work, but Mtools3 does.
Back to top
View user's profile Send_private_message Visit_website 
akash_rawal

Joined: 25 Aug 2010
Posts: 232
Location: ISM Dhanbad, Jharkhand, India

PostPosted: Thu 09 Dec 2010, 10:02    Post_subject:    

jemimah wrote:
If you make this modification, then the drives with out labels will line up vertically...

Yes, it does make the drive icons look tidier.

Edited_times_total
Back to top
View user's profile Send_private_message 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Thu 09 Dec 2010, 14:15    Post_subject:  

Thanks muchly. I have been wanting this for a long time Very Happy.

What about drive labels for mount points? Would it be possible to have links in "/media" pointing to mount points in "/mnt"? Then drive icons will show up in the side panel of the GTK File Dialogue Smile.

_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send_private_message Visit_website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Thu 09 Dec 2010, 18:53    Post_subject:  

I got the mount point names working. Unfortunately a symlink to /media is not good enough. The drive must actually be mounted there. Sad

EDIT: Moving everything to /media doesn't seem to really cause any problems. I wonder if there's any gotchas I'm not thinking of.
Back to top
View user's profile Send_private_message Visit_website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Sat 11 Dec 2010, 19:16    Post_subject:  

jemimah wrote:
I got the mount point names working. Unfortunately a symlink to /media is not good enough. The drive must actually be mounted there. Sad
What about hard links?

jemimah wrote:
EDIT: Moving everything to /media doesn't seem to really cause any problems. I wonder if there's any gotchas I'm not thinking of.
A lot of scripts need to be updated.
_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send_private_message Visit_website 
disciple

Joined: 20 May 2006
Posts: 6447
Location: Auckland, New Zealand

PostPosted: Sat 11 Dec 2010, 19:24    Post_subject:  

Might be easier to patch GTK to use /mnt instead of /media Wink
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sat 11 Dec 2010, 20:12    Post_subject:  

abushcrafter wrote:
jemimah wrote:
I got the mount point names working. Unfortunately a symlink to /media is not good enough. The drive must actually be mounted there. Sad
What about hard links?

jemimah wrote:
EDIT: Moving everything to /media doesn't seem to really cause any problems. I wonder if there's any gotchas I'm not thinking of.
A lot of scripts need to be updated.


It won't let you hard link directories. (Plus I think it actually runs something like "mount |grep "/media".) As far as I can tell, only two scripts need to be patched, drive_all, and pmount. /mnt/home stays where it is.

Disciple's probably right though, a gtk patch is a more elegant solution.
Back to top
View user's profile Send_private_message Visit_website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sat 11 Dec 2010, 23:18    Post_subject:  

Great! I now have a working patch for libgio that fixes this.
Back to top
View user's profile Send_private_message Visit_website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Sun 12 Dec 2010, 15:36    Post_subject:  

jemimah wrote:
Great! I now have a working patch for libgio that fixes this.
Great Cool.

With the drive labels for the desktop drive icons. I find I need more padding between the icons because I have longer labels than you two do. Examples: "goodcontent" and "alexanderspuppyl".

_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send_private_message Visit_website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Sun 12 Dec 2010, 17:22    Post_subject:  

Yup I've fixed that too.
Back to top
View user's profile Send_private_message Visit_website 
abushcrafter


Joined: 30 Oct 2009
Posts: 1447
Location: England

PostPosted: Mon 13 Dec 2010, 08:22    Post_subject:  

So why does the syslink "/mnt/home" work then?

Looking forward to you sharing your goodies Wink. I hope they could be squeezed into the next/current Lupu, LHP and Wary releases.

_________________
adobe flash is rubbish!
My Quote:"Humans are stupid, though some are clever but stupid." http://www.dependent.de/media/audio/mp3/System_Syn_Heres_to_You.zip http://www.systemsyn.com/
Back to top
View user's profile Send_private_message Visit_website 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Wed 02 Feb 2011, 05:19    Post_subject: Suggestion on drive icons with volume label  

Thank you very much akash_rawal and upnorth and jemimah, this is really useful!

Suggestion --if anyone is skilled enough and cares:

When the drive icons are arranged vertically, as in this screencap, the justification of the labels (both volume label and partition drive+number) should not be "center" but rather should match the orientation of the icons, e.g. "right", "left". This will enable placement of the drive icon as close to the edge as possible, which allows a little bit bigger windows without totally eclipsing the drive icons.

Also it would allow perfect alignment even in the case when some (or in my case, most) of the drive partitions do not have volume labels.

I must say...the screencap is of Puppy Studio 3.3's icewm, on a 20" monitor at 1600x1200, with the positions of the icewm taskbar and wbar swapped...drive icons told to line up "left" in
/etc/eventmanager...gkrellm added...this Puppy Studio 3.3 version of icewm (icewm-1.3.7pre2-L519-lucid) is the best window manager I have ever seen in Puppy. Windows open in logical places and usually at reasonable sizes. It is even better than openbox and enlightenment e17. And that's saying something.

If it were possible to set margins in icewm, like you can in openbox, it is hard to imagine how it could be better. Well, maybe if it had the same right-click-on-titlebar, remember-position-and-size that e17 has. But even without an explicit remember function it does much better than jwm, openbox, e17 and earlier versions of icewm as far as opening new windows in logical places.

Edited_times_total
Back to top
View user's profile Send_private_message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Wed 02 Feb 2011, 07:38    Post_subject:  

Looks very helpful this one.

Don't get angry now but when one do search using google then labels and Label can get mixed very easily Smile

labels being what can be read under the icon on a desktop
Label being the UUID that is a random? long unintelligent uuid 7ak5.... human not easily remembered line of chars.

Desktop label
Harddisk label

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Taking the Puppy out for a walk » Suggestions
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.0830s ][ Queries: 12 (0.0099s) ][ GZIP on ]