| Author |
Message |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Wed 08 Dec 2010, 12:17 Post subject:
|
|
Awesome! I will add this to my next release of Puppeee and Fluppy.
|
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: 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
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: 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
|
|
 |
akash_rawal

Joined: 25 Aug 2010 Posts: 199 Location: Pune, Maharashtra, India
|
Posted: 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.
Last edited by akash_rawal on Mon 17 Jan 2011, 14:14; edited 2 times in total
|
|
Back to top
|
|
 |
abushcrafter

Joined: 30 Oct 2009 Posts: 1447 Location: England
|
Posted: Thu 09 Dec 2010, 14:15 Post subject:
|
|
Thanks muchly. I have been wanting this for a long time .
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 .
_________________ 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
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: 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.
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
|
|
 |
abushcrafter

Joined: 30 Oct 2009 Posts: 1447 Location: England
|
Posted: 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.  | 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
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6179 Location: Auckland, New Zealand
|
Posted: Sat 11 Dec 2010, 19:24 Post subject:
|
|
Might be easier to patch GTK to use /mnt instead of /media
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: 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.  | 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
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Sat 11 Dec 2010, 23:18 Post subject:
|
|
Great! I now have a working patch for libgio that fixes this.
|
|
Back to top
|
|
 |
abushcrafter

Joined: 30 Oct 2009 Posts: 1447 Location: England
|
Posted: Sun 12 Dec 2010, 15:36 Post subject:
|
|
| jemimah wrote: | | Great! I now have a working patch for libgio that fixes this. | Great .
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
|
|
 |
jemimah

Joined: 26 Aug 2009 Posts: 4309 Location: Tampa, FL
|
Posted: Sun 12 Dec 2010, 17:22 Post subject:
|
|
Yup I've fixed that too.
|
|
Back to top
|
|
 |
abushcrafter

Joined: 30 Oct 2009 Posts: 1447 Location: England
|
Posted: Mon 13 Dec 2010, 08:22 Post subject:
|
|
So why does the syslink "/mnt/home" work then?
Looking forward to you sharing your goodies . 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
|
|
 |
Sit Heel Speak

Joined: 30 Mar 2006 Posts: 2595 Location: downwind
|
Posted: 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.
Last edited by Sit Heel Speak on Wed 02 Feb 2011, 13:28; edited 3 times in total
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9385 Location: SwedenEurope
|
Posted: 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
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'm a noob so I use Google Search of Puppy Forum
|
|
Back to top
|
|
 |
|