VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Message to screen graphics [SOLVED]  (Read 1506 times)

666lawyer

  • Member
  • *
  • Posts: 60
Message to screen graphics [SOLVED]
« on: May 26, 2010, 07:00:22 am »

Hi

as sending a message from script to screen graphics?

Thank.
« Last Edit: May 26, 2010, 07:53:52 am by 666lawyer »
Logged

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3234
Re: Message to screen graphics
« Reply #1 on: May 26, 2010, 07:02:03 am »

huh?

666lawyer

  • Member
  • *
  • Posts: 60
Re: Message to screen graphics
« Reply #2 on: May 26, 2010, 07:03:23 am »

La pregunta es como puedo enviar un mensaje desde linea de comandos a la pantalla gráfica

Like ,kdialog ,gdialog ,,zenity
« Last Edit: May 26, 2010, 07:07:11 am by 666lawyer »
Logged

retired1af

  • Packager
  • Vectorian
  • ****
  • Posts: 1310
Re: Message to screen graphics
« Reply #3 on: May 26, 2010, 07:07:39 am »

You still aren't giving us much to go on. What exactly are you attempting to do? It's all in the details. We're not mind readers.
Logged
ASUS K73 Intel i3 Dual Core 2.3GHz

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3234
Re: Message to screen graphics
« Reply #4 on: May 26, 2010, 07:11:23 am »

Suponiendo que quieres enviar un pop-up a una maquina dentro de tu red, podrias hacer algo asi.
Code: [Select]
zenity --info --text="tu texto aqui" --display=host:0el servidor X tiene que estar corriendo en el host y debe aceptar conecciones.

Por ejemplo, si quieres enviar el mensaje a la maquina con IP 192.168.1.120, harias algo asi

Code: [Select]
zenity --info --text="esto es un mensaje" --display=192.168.1.120:0

666lawyer

  • Member
  • *
  • Posts: 60
Re: Message to screen graphics
« Reply #5 on: May 26, 2010, 07:40:55 am »

Muchas Gracias. No sabia que zenity funcionaba en Vector Linux.  Pero tengo la versión light de Vector.  No es un escritorio Gnome.  Funciona igual?
Logged

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3234
Re: Message to screen graphics
« Reply #6 on: May 26, 2010, 07:49:58 am »

debe funcionar igual

666lawyer

  • Member
  • *
  • Posts: 60
Re: Message to screen graphics
« Reply #7 on: May 26, 2010, 07:53:30 am »

Muchas gracias!
Logged

roarde

  • Vectorian
  • ****
  • Posts: 602
  • move the needle
Re: Message to screen graphics [SOLVED]
« Reply #8 on: May 26, 2010, 05:15:01 pm »

Start > System > Gslapt        Search: zenity

If you like zenity, or are used to zenity, you can get it.
Logged
Robert
VL 7.1 Light RC 2