Creation/Management/Remote Control/Linux: Difference between revisions

From Graal Bible
(Added fix for Ubuntu 11.10)
Line 5: Line 5:
=== Installation ===
=== Installation ===


To watch a video on how to install the Remote Control [http://www.youtube.com/watch?v=gRGW4JctcJs click here].
To watch a video on how to install the [[Creation/Management/Remote Control|Remote Control]][http://www.youtube.com/watch?v=gRGW4JctcJs click here].


==== Downloading ====
==== Downloading ====
The [[Creation/Management/Remote Control|Remote Control]] client can be downloaded from either [http://www.graalonline.com www.graalonline.com] @ [http://www.graalonline.com/playerworlds/downloads/file?name=rc.tgz RC Download] or as an [[Creation/Dev/Update Packages|installation package]] from the [[Worlds/Login|Login Server]].
The Remote Control client can be downloaded from either [http://www.graalonline.com www.graalonline.com] @ [http://www.graalonline.com/playerworlds/downloads/file?name=rc.tgz RC Download] or as an [[Creation/Dev/Update Packages|installation package]] from the [[Worlds/Login|Login Server]].


===== Remote Conrol Downloads =====
===== Remote Conrol Downloads =====
Line 15: Line 15:


==== Extracting ====
==== Extracting ====
If the [[Creation/Management/Remote Control|Remote Control]] client was downloaded using the [http://www.graalonline.com www.graalonline.com] method enter the following commands into a Terminal session:
If the Remote Control client was downloaded using the [http://www.graalonline.com www.graalonline.com] method enter the following commands into a Terminal session:


   cd /path/to/download/directory
   cd /path/to/download/directory
Line 23: Line 23:
   rm rc.tgz
   rm rc.tgz


If the [[Creation/Management/Remote Control|Remote Control]] client was downloaded using the [[Worlds/Login|Login Server]] method enter the following commands into a Terminal session:
If the Remote Control client was downloaded using the Login Server method enter the following commands into a Terminal session:


   cd ~/.graal/graal4/rc
   cd ~/.graal/graal4/rc
Line 32: Line 32:


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


=== Additional Packages ===
=== Additional Packages ===
If the [[Creation/Management/Remote Control|Remote Control]] client is failing to launch the current [[Linux|Linux]] Distribution may not provide the packages needed to launch the client. Attempting to launch the [[Creation/Management/Remote Control|Remote Control]] client in a Terminal session will outline the missing packages the Distribution is missing.
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/
   cd ~/.graal/graal4/rc/
Line 41: Line 41:


=== Remote Control from any Directory ===
=== Remote Control from any Directory ===
To begin with the [[Linux|Linux]] [[Creation/Management/Remote Control|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 [[Creation/Management/Remote Control|Remote Control]] client. This disallows the user to create a shortcut for the client.
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 ====
==== Fixes ====
===== Fix 1 =====
===== Fix 1 =====
Open a Terminal session and type the commands below:
Open a Terminal session and type the commands below:
Line 61: Line 62:
   chmod +x rc
   chmod +x rc


This should allow the [[Creation/Management/Remote Control|Remote Control]] client to be launched from any directory as a shortcut (or a launcher, as linux calls it).
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 =====
===== 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:
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:
Line 90: Line 92:
   Name=Graal RC
   Name=Graal RC
   Icon=gnome-panel-launcher
   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.
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 ===
=== Launching Remote Control on Ubuntu 9.10 and over ===
Initially, Ubuntu 9.10 doesn't contain the package 'libgtksourceview1.0-0' which is needed to launch the [[Graal|Graal]] [[Creation/Management/Remote Control|Remote Control]] client.
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 ====
==== Fix ====
To fix this problem simply install the package 'libgtksourceview1.0-0' by typing the following into a Terminal session:
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
   sudo apt-get install libgtksourceview1.0-0


Line 108: Line 121:
* [http://forums.graalonline.com/forums/showthread.php?p=1613297 Graal Communication Center - Linux Remote Control]
* [http://forums.graalonline.com/forums/showthread.php?p=1613297 Graal Communication Center - Linux Remote Control]
* [http://forums.graalonline.com/forums/showthread.php?t=134263104 Graal Communication Center - RC in 64bit Linux]
* [http://forums.graalonline.com/forums/showthread.php?t=134263104 Graal Communication Center - RC in 64bit Linux]
* [http://forums.graalonline.com/forums/showthread.php?t=134265215 Graal Communication Center - RemoteControl2 ~ Working with Ubuntu 11.10]
* [http://www.youtube.com/watch?v=gRGW4JctcJs Youtube - How to install the GraalOnline Remote Control on Linux]
* [http://www.youtube.com/watch?v=gRGW4JctcJs Youtube - How to install the GraalOnline Remote Control on Linux]

Revision as of 13:57, 10 December 2011

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 Controlclick 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