Some icons showing as black boxes using xDesktop Thread last updated on 2006-02-16 08:58:07

Posted by member 302889 on 2006-02-15 10:28:55

I got xDesktop (v1.7) installed ok and then decided to have a look at iconDesk again to see if i could modify that to work how i wanted it.

After a bit of time i decided i was better using xDesktop so i turned off iconDesk and turned on xDesktop but now some of my icons just show as black squares when they were fine before.

I've checked the code in desktop.rc and everything looks ok.

The icons are all in the desktop folder as they should be.

The icons (even the black ones) are all moveable but the black ones can't be clicked with the left or right mouse and cannot be double-clicked to start programs etc.

Has anyone heard of this problem before? Is this just a bug that i am experiencing? Can i do a reset of the desktop.rc file to try and flush the data as i find editing it doesn't work?

Cheers in advance for any help. Your posts in this forum have helped me a lot so far.

Posted by member 302889 on 2006-02-15 10:34:32 link

oh yeah, here is some code i am using...


Theme.rc 'litestep environment config' section...

Include "$ConfigDir$xdesktop.rc"
Include "$ConfigDir$desktop.rc"


Theme.rc 'loadmodule config' section...

IF DeskTopIconsOn
*NetLoadModule xdesktop-1.7
ENDIF


xdesktop.rc file...

xDesktopAutoCreate TRUE
xDesktopConfigFile "$ConfigDir$desktop.rc"
xdesktopx 4
xdesktopy 4
xdesktopsnapto 4 4 76 76 38
xdesktopitemwidth 76
xdesktopitemheight 76
xdesktopspacingx 0
xdesktopspacingy 0
xdesktopdirection down
xdesktopwrapdirection right
xdesktopwrapcount $resolutiony-48/76$
xdesktopeasyfocus true
xdesktopfont "$IconFont$"
xdesktopfontcolor "$IconTxtColour$"
xdesktopfontheight 13
xdesktopfontshadow true
xdesktopfontshadowcolor "$IconShadowColour$"
xdesktopfontshadowx 1
xdesktopfontshadowy 1
xdesktopactivesaturationintensity 255
xdesktopactivehueintensity 96
xdesktopactivehuecolor 128 128 128
xDesktopActiveFontUnderline



cheers again

Posted by member 302889 on 2006-02-15 11:08:53 link

i figured out what the problem was.

for some reason, the xDesktop module was putting incorrect info into the desktop.rc file. it had some of my icons as being in my 'all users\desktop' folder when they weren't and never had been.

i made a new file to replace desktop.rc and gave it a completely different filename then changed the links to it in the relevant files. when i recycled, the icons came back as they should and so i deleted the desktop.rc file.

i wonder how that managed to happen in the first place though...

Posted by member 212670 on 2006-02-15 13:45:50 link

!xDesktopCreate update ".desktop"

Posted by member 306793 on 2006-02-16 08:58:07 link

i had the same thing happen oon a fresh install of obsidian 1.0, but with every single icon. I'll try your solution, thanks.