| Author |
Message |
lumi
Joined: 24 May 2010 Posts: 61
|
Posted: Tue 10 Jan 2012, 19:33 Post subject:
puppy 5.2.8 icon issue |
|
i have a full install of puppy 5.2.8 and a frugal install on the hdd
the frugal correctly displays the icon for my usb device sdb1
however the full install shows it as a floppy disk drive icon
i would like it to be the correct icon
any ideas help, thank you
|
|
Back to top
|
|
 |
Dewbie
Joined: 15 Apr 2010 Posts: 1456
|
Posted: Tue 10 Jan 2012, 22:35 Post subject:
|
|
Have a look at this thread.
|
|
Back to top
|
|
 |
lumi
Joined: 24 May 2010 Posts: 61
|
Posted: Wed 11 Jan 2012, 10:47 Post subject:
|
|
thanks but that does not work
its a drive icon not an app icon
and i tried
for some reason it sees the usb drive and assigns the floppy drive icon
or thinks it is a floppy when its not its a usb drive
it still works etc just not right icons assigned
|
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Wed 11 Jan 2012, 14:36 Post subject:
|
|
Try this:
Run menu>desktop>desktop settings>Desktop drive icons manager.
Choose TAG "Legacy".
Tick or untick "Tick box for floppy drive icon on desktop".
Maybe restart X is needed!
If this does not help, you should try connect the USB device after puppy has booted and X is running?
RSH
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
lumi
Joined: 24 May 2010 Posts: 61
|
Posted: Wed 11 Jan 2012, 18:27 Post subject:
|
|
thanks for reply
ive tried that with no success
i repeated the install
1 full install to a partition ( have frugals as well)
on completion i reboot
and bang the icon is changed to floppy drive
now the hardware is an old evo n410c so to get the cd drive u have to dock it in its docking station which contins a floppy drive and cd
all icons show correctly from booting with live cd
i set up partition n install
then remove the docking bay so the floppy and cd are nolonger there
on rebooting and im not sure if i have to do this for full i followed the shutdown instuctions to make a pupsave and copy files from cd
then rebooted to see the usb as a floppy drive icon
Last edited by lumi on Wed 11 Jan 2012, 18:51; edited 1 time in total
|
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Wed 11 Jan 2012, 18:37 Post subject:
|
|
try inserting a floppy in the floppy drive. if there is no floppy inserted, maybe that's the reason why floppy is not shown and then usb is shown as floppy.
try inserting floppy before boot; after boot and before connecting usb etc.pp.
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
lumi
Joined: 24 May 2010 Posts: 61
|
Posted: Wed 11 Jan 2012, 18:52 Post subject:
|
|
i just edtiting last post to be clearer
after the install i remove the docking bay
so floppy n cd are now removed
then reboot
then see usb as a floppy icon as well as a floppy icon so now there are 2 floppy icons
still works ok though for usb
i can remove the legacy floppy as u said but the usb is still a floppy icon
Last edited by lumi on Wed 11 Jan 2012, 18:56; edited 1 time in total
|
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Wed 11 Jan 2012, 18:54 Post subject:
|
|
disable the floppy in bios
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
lumi
Joined: 24 May 2010 Posts: 61
|
Posted: Wed 11 Jan 2012, 19:02 Post subject:
|
|
bios is extremely limited in this is old compaq evo n410c p3 1200
no option in there i can see to disable floppy
its more like puppy isnt applying the correct icon if somethings changed eg floppy n cd are removed
|
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Wed 11 Jan 2012, 19:21 Post subject:
|
|
stick a note on it and write USB to the note
Sorry, actually out of ideas...
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Wed 11 Jan 2012, 19:25 Post subject:
|
|
| Quote: | | on rebooting and im not sure if i have to do this for full i followed the shutdown instuctions to make a pupsave and copy files from cd |
Usually this is not necessary on fulll installation.
i am a bit confused you getting this option while rebooting or shutdown a full install???
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2736 Location: Kiel,Germany
|
Posted: Wed 11 Jan 2012, 19:29 Post subject:
|
|
The code for assigning the drive icons is in
/etc/rc.d/functions4puppy4
| Code: | icon_unmounted_func() {
#DBG echo "icon_unmounted_func BEGIN" #DBG echo
#DBG echo "1:" $1 "2:" $2 "3:" $3
if test "$2" != "" ; then
#passed params: drivename category ex: sda usbdrv
DRVICON="drive48.png" #default.
[ "$2" = "usbdrv" ] && DRVICON="usbdrv48.png"
[ "$2" = "card" ] && DRVICON="card48.png"
[ "$2" = "floppy" ] && DRVICON="floppy48.png"
[ "$2" = "optical" ] && DRVICON="optical48.png"
echo "$DBG line 51 DRVICON $DRVICON"
fi |
and gets called by the /bin/mount and
/sbin/pup_event_frondend_d which uses a different syntax :
| Quote: | create_icon_func #requires DRV_NAME, DRV_CATEGORY, DRV_DESCRIPTION
|
the create_icon_func of /sbin/pup_event_frondend_d uses /sbin/probepart to determine the partition type and /sbin/probedisk2 to determine the disk type .
It seems to guess the disk as an external USB attached floppy drive .
| Code: | | cat /etc/rc.d/PUPSTATE |
would show differences i guess for internal ATADRIVES string .
bash-3.2# cat /etc/rc.d/PUPSTATE
PUPMODE=2
KERNVER=2.6.30.9-i586-dpup005-Celeron2G
SATADRIVES=' sda'
USB_SATAD=' sdb'
PUP_HOME='/'
PDEV1='sda2'
shows mine as an example to check differences ; PUPMODE=2 meaning full installation .
/etc/rc.d/PUPSTATE gets created by /init of initrd.gz at frugal boots
and by /etc/rc.d/rc.sysinit at full installations .
The code likely differs .
The actual initrd.gz does a lot to recognize any attached drives at boot and has changed for this a lot since 1,1/2 year .
|
|
Back to top
|
|
 |
lumi
Joined: 24 May 2010 Posts: 61
|
Posted: Wed 11 Jan 2012, 19:37 Post subject:
|
|
to RSH
lol yeah stick a note hehe
well after doing the install from cd and then reboot maybe its just the livecd asking and i dont need to, ill test it
to karl
thanks for that, im no espert coder or anything but its something i can look for
i think ill remove the usb device n reinstall n see what happens after i plug it back in
is there a way to force puppy to see it as a usb device with correct icon?
|
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Wed 11 Jan 2012, 19:44 Post subject:
|
|
| Quote: | | well after doing the install from cd and then reboot maybe its just the livecd asking and i dont need to, ill test it |
Yes, it is the cd and it is not needed.
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
lumi
Joined: 24 May 2010 Posts: 61
|
Posted: Wed 11 Jan 2012, 20:52 Post subject:
|
|
yeah redone it RSH
ok reinstalled it all updated to 004 rebooted without usb in
plugged in usb which gets detected and the correct icon is shown
repeated take usb out reboot plug back in and correct icon
reboot leaving in nano usb and ....
back to floppy icon oh well
Last edited by lumi on Wed 11 Jan 2012, 21:47; edited 1 time in total
|
|
Back to top
|
|
 |
|