PDA

View Full Version : [SCRIPT] Install RealONE Player (alpha)



probono
04-19-2003, 08:42 AM
http://www.image-hosting.net/images/messageboard/demo/realone.jpg
First, download the RealONE Player for Linux Alpha from RealNetworks and put it into the same folder as the script. Then run the script from a command line. When the graphical installer starts, simply press always OK.


#!/bin/bash

# knx_realone.sh 0.1
# Install RealONE Player
# by probono
# GPL

RP_NAME="r1p1_linux22_libc6_i386_a1.bin"

if [ -f "$RP_NAME" ];
then

# No nasty registration screen (works?)
mkdir -p ~/.realnetworks
cat >> ~/.realnetworks/RealPlayer_9_0 <<EOF
eregistered=1
cookiesenabled=0
EOF

# menu entry and MIME file association
mkdir -p ~/.kde/share/applnk/.hidden
cat >> ~/.kde/share/applnk/.hidden/realone.desktop <<EOF
[Desktop Entry]
Comment=
Exec=\$HOME/RealPlayer9/realplay
Icon=realplayer
InitialPreference=1
MimeType=audio/x-pn-realaudio;Application
Name=RealONE Player
ServiceTypes=
Terminal=false
Type=Application
EOF

# run
cp r1p1_linux22_libc6_i386_a1.bin ~
cd ~
chmod 777 r1p1_linux22_libc6_i386_a1.bin
~/r1p1_linux22_libc6_i386_a1.bin

else
echo "$RP_NAME is needed in current dir to install Realplayer"
echo "Please download it from: http://scopes.real.com/real/player/unix/unix.html"
fiAny ideas on how to get the Netscape plugin to work inside Konqueror (in order to see embedded movies?) The standalone player works fine :)

Fabianx
04-23-2003, 01:19 PM
Install it for Mozilla & Netscape & update Konqueror :



# create symlinks

mkdir -p $HOME/.mozilla/plugins
ln -sf $HOME/RealPlayer9/rpnp.so $HOME/.mozilla/plugins/rpnp.so
mkdir -p $HOME/.netscape/plugins
ln -sf $HOME/RealPlayer9/rpnp.so $HOME/.netscape/plugins/rpnp.so

#scan for new plugins
nspluginscan


:-)

cu

Fabian