<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Display a Window with custom text]]></title><description><![CDATA[<p dir="auto">This command will show a window with the text you want to show:</p>
<pre><code>zenity --info --text '&lt;span foreground="blue" font="32"&gt;Some\nbig text&lt;/span&gt;\n\n&lt;i&gt;(it is also blue)&lt;/i&gt;'
</code></pre>
<p dir="auto"><img src="https://agents.triggercmd.com/raspberrypi/zenity.png" alt="zenity" class=" img-fluid img-markdown" /></p>
<p dir="auto">If you run it in the background agent, have your command run this script to set the DISPLAY environment variable first:</p>
<pre><code>#!/bin/bash
export DISPLAY=:0
zenity --info --text '&lt;span foreground="blue" font="32"&gt;Some\nbig text&lt;/span&gt;\n\n&lt;i&gt;(it is also blue)&lt;/i&gt;'
</code></pre>
<p dir="auto">You'll also need to run this as your normal user first:</p>
<pre><code>xhost +
</code></pre>
]]></description><link>https://www.triggercmd.com/forum/topic/2710/display-a-window-with-custom-text</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Mar 2026 21:41:20 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/2710.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 30 Sep 2023 21:16:17 GMT</pubDate><ttl>60</ttl></channel></rss>