Light Scribe...
LaCie
How do you install it? what would you install?
Is there any other program that will do light scribe?
#!/bin/sh
#
# Install Lightscribe Software
# Color Codes
red='\e[0;31m'
blue='\e[0;34m'
endColor='\e[0m'
COUNT=1
mkdir lightscribe
cd lightscribe
# Download the 32-bit .deb files and an icon for Lightscribe
wget http://download.lightscribe.com/ls/lightscribe-1.14.32.1-linux-2.6-intel.deb
# Check the deb was downloaded, else keep trying to download it...
while [ ! -e lightscribe-1.14.32.1-linux-2.6-intel.deb ]
do
echo -e "${red}Lightscribe System Software installer Download Failed. Attempt #"$COUNT" Retrying...${endColor}"
wget http://download.lightscribe.com/ls/lightscribe-1.14.32.1-linux-2.6-intel.deb
let COUNT=COUNT+1
done
echo -e "${blue}Lightscribe System Software installer was successfully downloaded.${endColor}"
COUNT=1
wget http://uploads.mitechie.com/lightscribe/4l_1.0-r6_i386.deb
# Check the deb was downloaded, else keep trying to download it...
while [ ! -e 4l_1.0-r6_i386.deb ]
do
echo -e "${red}Lacie Lightscribe Labeler installer Download Failed. Attempt #"$COUNT" Retrying...${endColor}"
wget http://uploads.mitechie.com/lightscribe/4l_1.0-r6_i386.deb
let COUNT=COUNT+1
done
echo -e "${blue}Lacie Lightscribe Labeler installer was successfully downloaded.${endColor}"
COUNT=1
wget http://lawrencecomputing.dyn-o-saur.com/lightscribe/lightscribe.png
# Check the deb was downloaded, else keep trying to download it...
while [ ! -e lightscribe.png ]
do
echo -e "${red}Lightscribe Graphic Download Failed. Attempt #"$COUNT" Retrying...${endColor}"
wget http://lawrencecomputing.dyn-o-saur.com/lightscribe/lightscribe.png
let COUNT=COUNT+1
done
echo -e "${blue}Lightscribe Graphic was successfully downloaded.${endColor}"
COUNT=1
# TODO: add uname -m to test for x86_64 or x86,
# if x86_64, install ia32-libs so lib32 dir will exist.
# Install LightScribe Host Software and LightScribe Labeling Software in that order
# --force-architecture is used in case your LiveCD is 64-bit
dpkg --force-architecture -i lightscribe-1.14.32.1-linux-2.6-intel.deb
dpkg --force-architecture -i 4l_1.0-r6_i386.deb
ln -s /usr/lib/liblightscribe.so.1 /usr/lib32/
ln -s /usr/lib/liblightscribe.so /usr/lib32/
ldconfig
# Copy the icon file into Ubuntu's shared icon directory
cp lightscribe.png /usr/share/pixmaps/4L-gui.png
# Remove the old Menu entries in case someone runs this module more than once
rm -rf /usr/share/applications/4L-gui-kde.desktop
rm -rf /usr/share/applications/4L-gui-gnome.desktop
# Create a KDE menu item
echo "[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Lacie Lightscribe Labeler
GenericName=Lightscribe Labeler
Comment=Label a disc with Lightscribe
Exec=/usr/bin/4L-gui
Terminal=false
Type=Application
Icon=/usr/share/pixmaps/4L-gui.png
Categories=Application;AudioVideo;DiscBurning;
Name[en_US]=Lacie Lightscribe Labeler
GenericName[en_US]=Lightscribe Labeler
OnlyShowIn=KDE;
X-KDE-SubstituteUID=true" > /usr/share/applications/4L-gui-kde.desktop
# Create a Gnome menu item
echo "[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Lacie Lightscribe Labeler
GenericName=Lightscribe Labeler
Comment=Label a disc with Lightscribe
Exec=gksudo /usr/bin/4L-gui
Terminal=false
Type=Application
Icon=/usr/share/pixmaps/4L-gui.png
Categories=Application;AudioVideo;DiscBurning;
Name[en_US]=Lacie Lightscribe Labeler
GenericName[en_US]=Lightscribe Labeler
NotShowIn=KDE;
X-KDE-SubstituteUID=true" > /usr/share/applications/4L-gui-gnome.desktop
# remove debs and other data
cd ..
rm -rf lightscribe
echo Finished...
exit 0
Return to Ultimate Edition 2.3
Users browsing this forum: No registered users and 10 guests