Creation/Management/Remote Control/Linux

From Graal Bible

Introduction

Because of the variety of Linux Operating Systems available problems might raise when using GraalOnline software. This page will outline a few known problems and solutions on how to fix them.

Installation

To watch a video on how to install the Remote Control click here.

Downloading

The Remote Control client can be downloaded from either www.graalonline.com @ RC Download or as an installation package from the Login Server.

Remote Conrol Downloads

Extracting

If the Remote Control client was downloaded using the www.graalonline.com method enter the following commands into a Terminal session:

 cd /path/to/download/directory
 mv rc.tgz ~/.graal/graal4/
 cd ~/.graal/graal4/
 tar -xzf rc.tgz rc
 rm rc.tgz

If the Remote Control client was downloaded using the Login Server method enter the following commands into a Terminal session:

 cd ~/.graal/graal4/rc
 mv rc.tgz ~/.graal/graal4/
 cd ~/.graal/graal4/
 tar -xzf rc.tgz rc
 rm rc.tgz

Remote Control Directories

The Remote Control client uses 2 directories within the graal root directory. The first directory is: ~/.graal/rc which stores the control2config.txt configuration file, private messages, and player profiles. The second directory stores the language-specs, images, and the executable file located at ~/.graal/graal4/rc/.

Additional Packages

If the Remote Control client is failing to launch the current Linux Distribution may not provide the packages needed to launch the client. Attempting to launch the Remote Control client in a Terminal session will outline the missing packages the Distribution is missing.

 cd ~/.graal/graal4/rc/
 ./rc

Remote Control from any Directory

To begin with the Linux Remote Control client can only be launched from the directory it is executed from without crashing due to not being able to find the images used by the graphical interface of the Remote Control client. This disallows the user to create a shortcut for the client.

Fixes

Fix 1

Open a Terminal session and type the commands below:

 cd ~/.graal/graal4/rc/
 mv rc rc_bin
 nano rc

Using the text editor 'nano' type in the following:

 #!/bin/sh
 cd ~/.graal/graal4/rc/
 exec ~/.graal/graal4/rc/rc_bin

Now set execute permissions so you can launch the file:

 chmod +x rc

This should allow the Remote Control client to be launched from any directory as a shortcut (or a launcher, as linux calls it).

Fix 2

Another possible fix is to create a launcher to the rc. Then open this launcher in a text editor. It'll look something like this:

 #!/usr/bin/env xdg-open
 [Desktop Entry]
 Version=1.0
 Type=Application
 Terminal=false
 Icon[en_US]=gnome-panel-launcher
 Name[en_US]=Graal RC
 Exec=/home/user/.graal/graal4/rc/rc
 Name=Graal RC
 Icon=gnome-panel-launcher

You can then edit the line that says Exec=/home/user/.graal/graal4/rc/rc to:

 sh -c "cd ~/.graal/graal4/rc/ && ./rc"

Just make sure you're using the right path. At the end, the file should look like this:

 #!/usr/bin/env xdg-open
 [Desktop Entry]
 Version=1.0
 Type=Application
 Terminal=false
 Icon[en_US]=gnome-panel-launcher
 Name[en_US]=Graal RC
 Exec=sh -c "cd ~/.graal/graal4/rc/ && ./rc"
 Name=Graal RC
 Icon=gnome-panel-launcher

In here you are basically executing the command directly from the launcher. It doesn't require to create a separate file for it making it a little cleaner.

Launching Remote Control on Ubuntu 9.10 and over

Initially Ubuntu 9.10 doesn't have the package 'libgtksourceview1.0-0' installed by default which is needed to launch the Remote Control client.

Fix

To fix this problem simply install the package 'libgtksourceview1.0-0' by typing the following into a Terminal session:

 sudo apt-get install libgtksourceview1.0-0

Launching Remote Control on Ubuntu 11.10

Ubuntu 11.10 doesn't contain the package "libgtksourceview1.0-0" in the repository by default which is needed to launch the Remote Control client.

Fix

To fix the problem the Universe repository for Natty Narwhal (11.04) needs to be added to the repository list.

 sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ natty universe'
 sudo apt-get update
 sudo apt-get install libgtksourceview1.0-0

External Links