<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>gtk-launch</title> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="index.html" title="GTK+ 3 Reference Manual"> <link rel="up" href="pt06.html" title="Part VI. GTK+ Tools"> <link rel="prev" href="gtk-update-icon-cache.html" title="gtk-update-icon-cache"> <link rel="next" href="broadwayd.html" title="broadwayd"> <meta name="generator" content="GTK-Doc V1.18 (XML mode)"> <link rel="stylesheet" href="style.css" type="text/css"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle"> <td><a accesskey="p" href="gtk-update-icon-cache.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> <td><a accesskey="u" href="pt06.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> <th width="100%" align="center">GTK+ 3 Reference Manual</th> <td><a accesskey="n" href="broadwayd.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> </tr></table> <div class="refentry"> <a name="gtk-launch"></a><div class="titlepage"></div> <div class="refnamediv"><table width="100%"><tr> <td valign="top"> <h2><span class="refentrytitle">gtk-launch</span></h2> <p>gtk-launch — Launch an application</p> </td> <td valign="top" align="right"></td> </tr></table></div> <div class="refsynopsisdiv"> <h2>Synopsis</h2> <div class="cmdsynopsis"><p><code class="command">gtk-launch</code> [APPLICATION] [URI...]</p></div> </div> <div class="refsect1"> <a name="idm140617666774944"></a><h2>Description</h2> <p> <span class="command"><strong>gtk-launch</strong></span> launches an application using the given name. The application is started with proper startup notification on a default display, unless specified otherwise. </p> <p> <span class="command"><strong>gtk-launch</strong></span> takes at least one argument, the name of the application to launch. The name should match application desktop file name, as residing in /usr/share/application, with or without the '.desktop' suffix. </p> <p> If called with more than one argument, the rest of them besides the application name are considered URI locations and are passed as arguments to the launched application. </p> </div> <div class="refsect1"> <a name="idm140617664852064"></a><h2>Options</h2> <p>The following options are understood:</p> <div class="variablelist"><table border="0" class="variablelist"> <colgroup> <col align="left" valign="top"> <col> </colgroup> <tbody><tr> <td><p><span class="term"><code class="option">-?</code>, <code class="option">--help</code></span></p></td> <td><p>Prints a short help text and exits.</p></td> </tr></tbody> </table></div> </div> </div> <div class="footer"> <hr> Generated by GTK-Doc V1.18</div> </body> </html>