Re: [ROOT] Clicking on "root" in Linux

From: Christian Holm Christensen (Christian.Holm.Christensen@cern.ch)
Date: Thu Jul 06 2000 - 16:46:47 MEST


Hi Francois-Xavier, 

On Wed, 5 Jul 2000 16:46:06 +0200 , GENTIT Francois-Xavier  DAPNIA <GENTIT@DAPNIA.CEA.FR> wrote:   Dear Rooters,
>    Usually I work on Windows NT, but today I have installed ROOT on RedHat 
> Linux 6.1 (in user mode, not in supervisor mode). Everything works fine if I
> launch root from a terminal window simply by typing "root". But I cannot
> launch root by clicking over its icon. Is it a normal behaviour or have I
> something to do in order that root becomes a "clickable" application ?
>    Thanks for your help

Well, the point is, that root (the execuatble) need a terminal for
user IO, that is, the commandline. So, just executing root without a
termional makes no sense what so ever. As a matter of fact, the
executable ROOT.EXE on Windoze also needs a terminal (or command
prompt if you will), but in that case, the exectable is somehow linked
to the usual Windoze terminal. 

So, the answer to your question is, supposing you use something like
KDE or Gnome, you should create a .kdelnk (in case of KDE) or .desktop
(in casee of Gnome) file that executes the root exectable in a xterm
(or similar). The command line could be something like:

  xterm -ls -sb -sl 1000 -T ROOT -e root & 

Hope that helps. 

Cheers, 

Christian  -----------------------------------------------------------
Holm Christensen                             Phone:  (+45) 35 35 96 91 
  Sankt Hansgade 23, 1. th.                  Office: (+45) 353  25 305 
  DK-2200 Copenhagen N                       Web:    www.nbi.dk/~cholm    
  Denmark                                    Email:       cholm@nbi.dk



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:29 MET