.dsl truncated with remastered dsl 2.x


Forum: Other Help Topics
Topic: .dsl truncated with remastered dsl 2.x
started by: mherger

Posted by mherger on Dec. 15 2005,21:05
Hi!

First of all let me thank you a lot for this excellent product. I'm the author of the < SlimCD > - a remastered DSL which was first intended to be a demo CD for the SlimServer (http://www.slimdevices.com). It since has become quite popular in the SlimServer community. Many users out there are very thankful for what you've done without ever having visited this site or knowing about DSL!

I'm now in the  process of upgrading to DSL 2.x as the base. It's running fine so far except for one phenomenon I don't understand. I have custom links on the desktop. The .lnk files are stored in /etc/skel/.xtdesktop and are correctly copied into the user's home. Except for one link whose .lnk file always gets truncated. The last few lines containing the coordinates are stripped off. I don't understand this as the version in the skel directory is correct.

Is there any other process than a simple cp touching those files? I tested using 2.0 and 2.1rc2 with the same result (on always the same file). Any help is appreciated.

BTW: I've been running a SlimCD based server 24/7 for several weeks. I did a frugal install to a CF module, mounting the hd containing the music collection read-only and putting it in sleep mode when not used. My gf never noticed there was a _server_ running in the bedroom ;-).

Regards,

Michael

Posted by cbagger01 on Dec. 17 2005,03:47
My guess is the somewhat recently added Icon alignment code is changing your *.lnk file for the co-ordinates.  At least it is "new to you" if you have been using an old version of DSL for previous builds of your project.

Can you post the contents of your *.lnk file here.

Maybe it will give us a clue as to the reason why you see this behavior.

Posted by mherger on Dec. 17 2005,07:34
Here's the file's content:

table Icon
 Type: Program
 Caption: SlimDevices
 Command: /usr/local/bin/firefox < http://www.slimdevices.com/ >
 Icon: .xtdesktop/firefox.gif
 X: 750
 Y: 15
 Status: anchor
end

There is a beta available for download: < http://www.herger.net/slim/slimcd-1.5b.iso >

The file is stored in /etc/skel/.xtdesktop. When run from the image/cd ~/.xtdesktop/slimdevices.lnk gets cut off after the Icon line.

Posted by mherger on Dec. 21 2005,06:17
Ok, found my solution in < http://damnsmalllinux.org/cgi-bin....=layout > - setting cols=0 in .xinitrc fixed my problem.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.