MYDSLGUI problem and temporary workaround


Forum: myDSL Extensions (deprecated)
Topic: MYDSLGUI problem and temporary workaround
started by: cbagger01

Posted by cbagger01 on Aug. 15 2004,05:50
FYI,

I have this problem at home where the mydslgui "Click and Run" screen does not work when I click on the desktop icon.  All I get is a message saying "Programs Available" and nothing else.

I was able to fix this by adding the following line to the beginning of the
mydslgui.pl script, directly after the "my $rand;" line:

my $host = "ibiblio.org";

I wrote a quick workaround script to get it up and running on my computer, but it would be cool if this change was added into the next release of DSL.

Here is the script. Read the included instructions for use:

Code Sample
#!/bin/sh
#
# Script name: /home/dsl/fixmydsl.sh
# A myDSL Click 'n' load repair script
#
# Creates a new mydslgui.pl script in your home directory
# and starts it up.
# Try it out if your Click 'n' load desktop icon
# only shows "Programs Available" and no other choices.
#
# Use Firefox and your clipboard (select and copy)
# to paste this text into Scite
# Then save this file in your home directory
# under the file name "fixmydsl.sh"
# Then open an Xterminal and type in:
# "chmod 755 fixmydsl.sh"
# Then type in:
# "./fixmydsl.sh"

echo '#!/usr/bin/perl' > $HOME/mydslgui.pl
echo 'my $host = "ibiblio.org";' >> $HOME/mydslgui.pl
cat /usr/bin/mydslgui.pl >> $HOME/mydslgui.pl
chmod 755 $HOME/mydslgui.pl
$HOME/mydslgui.pl
exit

Posted by goletto on Sep. 08 2004,10:30
I fully agree with this bug. It Comes from the "HTTP/1.1" line used to grab the extensions pages. The solution is to add


Code Sample
my $host = "ibiblio.org";


as you said or to use

Code Sample
HTTP/1.0


instead of 1.1

both work

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.