__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="notification" xml:lang="es">
<info>
<link type="guide" xref="index#dialogs"/>
<desc>Use la opción <cmd>--notification</cmd>.</desc>
<include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>Daniel Mustieles</mal:name>
<mal:email>[email protected]</mal:email>
<mal:years>2012-2014</mal:years>
</mal:credit>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>Jorge González</mal:name>
<mal:email>[email protected]</mal:email>
<mal:years>2007-2010</mal:years>
</mal:credit>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>Alejandro Aravena</mal:name>
<mal:email>[email protected]</mal:email>
<mal:years>2005</mal:years>
</mal:credit>
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
<mal:name>QA: Francisco Javier F. Serrador</mal:name>
<mal:email>[email protected]</mal:email>
<mal:years>2005</mal:years>
</mal:credit>
</info>
<title>Icono de notificación</title>
<p>Use the <cmd>--notification</cmd> option to create a passive desktop notification.</p>
<terms>
<item>
<title><cmd>--text</cmd>=<var>texto</var></title>
<p>Especifica el texto que se mostrara en el área de la notificación.</p>
</item>
<item>
<title><cmd>--icon</cmd>=<var>path</var></title>
<p>Set the notification icon using a string containing a path to a valid icon on the system.</p>
</item>
<item>
<title><cmd>--listen</cmd></title>
<p>Escucha comandos en la entrada estándar. Se debe especificar al menos un comando. Los comandos se separan mediante comas. Un comando debe ir seguido de dos puntos y un valor.</p>
<note style="tip">
<p>The <cmd>icon</cmd> command also accepts icon theme name values in accordance with the FreeDesktop.org Icon Naming Specification such as <var>dialog-error</var>, <var>dialog-information</var> and <var>security-high</var>.</p>
</note>
<p>Examples include:</p>
<code>
message: Hello, my name is Joe
icon: /usr/share/pixmaps/monitor.xpm
</code>
</item>
</terms>
<p>El siguiente script de ejemplo muestra cómo crear un icono de notificación:</p>
<code>
#!/bin/sh
zenity --notification \
--icon="/usr/share/pixmaps/monitor.xpm" \
--text="There are system updates necessary!"
</code>
<figure>
<title>Ejemplo de icono de notificación</title>
<desc>Ejemplo del icono de notificación de <app>Zenity</app></desc>
<media type="image" mime="image/png" src="figures/zenity-notification-screenshot.png"/>
</figure>
<p>El siguiente script de ejemplo muestra cómo crear un icono de notificación con <cmd>--listen</cmd>:</p>
<code>
#!/bin/sh
cat <<EOH| zenity --notification --listen
message: este es el mensaje de texto
EOH
</code>
<figure>
<title>Ejemplo de icono de notificación con <cmd>--listen</cmd></title>
<desc>Ejemplo del icono de notificación de <app>Zenity</app> con <cmd>--listen</cmd></desc>
<media type="image" mime="image/png" src="figures/zenity-notification-listen-screenshot.png"/>
</figure>
</page>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| figures | Folder | 0755 |
|
|
| calendar.page | File | 3.33 KB | 0644 |
|
| color-selection.page | File | 2.4 KB | 0644 |
|
| entry.page | File | 2.65 KB | 0644 |
|
| error.page | File | 1.8 KB | 0644 |
|
| file-selection.page | File | 3.23 KB | 0644 |
|
| forms.page | File | 3.4 KB | 0644 |
|
| index.page | File | 1.78 KB | 0644 |
|
| info.page | File | 1.87 KB | 0644 |
|
| intro.page | File | 2.06 KB | 0644 |
|
| legal.xml | File | 3.49 KB | 0644 |
|
| list.page | File | 3.8 KB | 0644 |
|
| message.page | File | 1.59 KB | 0644 |
|
| notification.page | File | 3.42 KB | 0644 |
|
| password.page | File | 2.26 KB | 0644 |
|
| progress.page | File | 3.29 KB | 0644 |
|
| question.page | File | 1.82 KB | 0644 |
|
| scale.page | File | 3.14 KB | 0644 |
|
| text.page | File | 3.3 KB | 0644 |
|
| usage.page | File | 9.34 KB | 0644 |
|
| warning.page | File | 1.86 KB | 0644 |
|