<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.archlinux.jp/index.php?action=history&amp;feed=atom&amp;title=Universal_Wayland_Session_Manager</id>
	<title>Universal Wayland Session Manager - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.archlinux.jp/index.php?action=history&amp;feed=atom&amp;title=Universal_Wayland_Session_Manager"/>
	<link rel="alternate" type="text/html" href="https://wiki.archlinux.jp/index.php?title=Universal_Wayland_Session_Manager&amp;action=history"/>
	<updated>2026-08-05T04:20:26Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.44.3</generator>
	<entry>
		<id>https://wiki.archlinux.jp/index.php?title=Universal_Wayland_Session_Manager&amp;diff=40402&amp;oldid=prev</id>
		<title>Pikosip: 和訳の修正(参照実装-&gt;リファレンス実装)</title>
		<link rel="alternate" type="text/html" href="https://wiki.archlinux.jp/index.php?title=Universal_Wayland_Session_Manager&amp;diff=40402&amp;oldid=prev"/>
		<updated>2025-06-13T10:19:30Z</updated>

		<summary type="html">&lt;p&gt;和訳の修正(参照実装-&amp;gt;リファレンス実装)&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2025年6月13日 (金) 19:19時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;3行目:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;3行目:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[https://github.com/Vladimir-csp/uwsm Universal Wayland Session Manager](&#039;&#039;&#039;uwsm&#039;&#039;&#039;)は、スタンドアロンの[[Wayland#コンポジタ|Wayland コンポジタ]] をオンザフライで [[systemd]] ユニットのセットにラップします。これにより、環境設定、[[XDG Autostart]] のサポート、ログインセッションとの双方向バインディング、クリーンシャットダウンを含む堅牢なセッション管理が提供されます。&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[https://github.com/Vladimir-csp/uwsm Universal Wayland Session Manager](&#039;&#039;&#039;uwsm&#039;&#039;&#039;)は、スタンドアロンの[[Wayland#コンポジタ|Wayland コンポジタ]] をオンザフライで [[systemd]] ユニットのセットにラップします。これにより、環境設定、[[XDG Autostart]] のサポート、ログインセッションとの双方向バインディング、クリーンシャットダウンを含む堅牢なセッション管理が提供されます。&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Note|[[D-Bus#dbus-broker|dbus-broker]] を D-Bus デーモンの実装として使用することが強く推奨されます。その他の利点として、systemdのアクティベーション環境を再利用し、別の環境を持つことがないため、環境管理が簡素化され、適切なクリーンアップが可能になります。[[D-Bus#Reference_implementation|&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;参照&lt;/del&gt;実装]] もサポートされていますが、変数の解除ができないため、代わりに空の文字列を設定して最善の努力でクリーンアップが行われます。D-Bus デーモンの別々の環境を適切にクリーンアップする唯一の方法は、{{ic|loginctl terminate-user &quot;&quot;}}を実行することです。}}&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Note|[[D-Bus#dbus-broker|dbus-broker]] を D-Bus デーモンの実装として使用することが強く推奨されます。その他の利点として、systemdのアクティベーション環境を再利用し、別の環境を持つことがないため、環境管理が簡素化され、適切なクリーンアップが可能になります。[[D-Bus#Reference_implementation|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;リファレンス&lt;/ins&gt;実装]] もサポートされていますが、変数の解除ができないため、代わりに空の文字列を設定して最善の努力でクリーンアップが行われます。D-Bus デーモンの別々の環境を適切にクリーンアップする唯一の方法は、{{ic|loginctl terminate-user &quot;&quot;}}を実行することです。}}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== インストール ==&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== インストール ==&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key bnbest_wiki:diff:1.41:old-40401:rev-40402:wikidiff2=table:1.14.1:bc2a06be --&gt;
&lt;/table&gt;</summary>
		<author><name>Pikosip</name></author>
	</entry>
	<entry>
		<id>https://wiki.archlinux.jp/index.php?title=Universal_Wayland_Session_Manager&amp;diff=40401&amp;oldid=prev</id>
		<title>Pikosip: 和訳の修正(システムd-&gt;systemd)</title>
		<link rel="alternate" type="text/html" href="https://wiki.archlinux.jp/index.php?title=Universal_Wayland_Session_Manager&amp;diff=40401&amp;oldid=prev"/>
		<updated>2025-06-13T10:17:34Z</updated>

		<summary type="html">&lt;p&gt;和訳の修正(システムd-&amp;gt;systemd)&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2025年6月13日 (金) 19:17時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;3行目:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;3行目:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[https://github.com/Vladimir-csp/uwsm Universal Wayland Session Manager](&#039;&#039;&#039;uwsm&#039;&#039;&#039;)は、スタンドアロンの[[Wayland#コンポジタ|Wayland コンポジタ]] をオンザフライで [[systemd]] ユニットのセットにラップします。これにより、環境設定、[[XDG Autostart]] のサポート、ログインセッションとの双方向バインディング、クリーンシャットダウンを含む堅牢なセッション管理が提供されます。&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[https://github.com/Vladimir-csp/uwsm Universal Wayland Session Manager](&#039;&#039;&#039;uwsm&#039;&#039;&#039;)は、スタンドアロンの[[Wayland#コンポジタ|Wayland コンポジタ]] をオンザフライで [[systemd]] ユニットのセットにラップします。これにより、環境設定、[[XDG Autostart]] のサポート、ログインセッションとの双方向バインディング、クリーンシャットダウンを含む堅牢なセッション管理が提供されます。&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Note|[[D-Bus#dbus-broker|dbus-broker]] を D-Bus デーモンの実装として使用することが強く推奨されます。その他の利点として、&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;システムd&lt;/del&gt;のアクティベーション環境を再利用し、別の環境を持つことがないため、環境管理が簡素化され、適切なクリーンアップが可能になります。[[D-Bus#Reference_implementation|参照実装]] もサポートされていますが、変数の解除ができないため、代わりに空の文字列を設定して最善の努力でクリーンアップが行われます。D-Bus デーモンの別々の環境を適切にクリーンアップする唯一の方法は、{{ic|loginctl terminate-user &quot;&quot;}}を実行することです。}}&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Note|[[D-Bus#dbus-broker|dbus-broker]] を D-Bus デーモンの実装として使用することが強く推奨されます。その他の利点として、&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;systemd&lt;/ins&gt;のアクティベーション環境を再利用し、別の環境を持つことがないため、環境管理が簡素化され、適切なクリーンアップが可能になります。[[D-Bus#Reference_implementation|参照実装]] もサポートされていますが、変数の解除ができないため、代わりに空の文字列を設定して最善の努力でクリーンアップが行われます。D-Bus デーモンの別々の環境を適切にクリーンアップする唯一の方法は、{{ic|loginctl terminate-user &quot;&quot;}}を実行することです。}}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== インストール ==&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== インストール ==&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key bnbest_wiki:diff:1.41:old-39711:rev-40401:wikidiff2=table:1.14.1:bc2a06be --&gt;
&lt;/table&gt;</summary>
		<author><name>Pikosip</name></author>
	</entry>
	<entry>
		<id>https://wiki.archlinux.jp/index.php?title=Universal_Wayland_Session_Manager&amp;diff=39711&amp;oldid=prev</id>
		<title>Kgx: 翻訳</title>
		<link rel="alternate" type="text/html" href="https://wiki.archlinux.jp/index.php?title=Universal_Wayland_Session_Manager&amp;diff=39711&amp;oldid=prev"/>
		<updated>2025-02-13T18:01:41Z</updated>

		<summary type="html">&lt;p&gt;翻訳&lt;/p&gt;
&lt;a href=&quot;https://wiki.archlinux.jp/index.php?title=Universal_Wayland_Session_Manager&amp;amp;diff=39711&amp;amp;oldid=39710&quot;&gt;差分を表示&lt;/a&gt;</summary>
		<author><name>Kgx</name></author>
	</entry>
	<entry>
		<id>https://wiki.archlinux.jp/index.php?title=Universal_Wayland_Session_Manager&amp;diff=39710&amp;oldid=prev</id>
		<title>Kgx: 英語版から転載</title>
		<link rel="alternate" type="text/html" href="https://wiki.archlinux.jp/index.php?title=Universal_Wayland_Session_Manager&amp;diff=39710&amp;oldid=prev"/>
		<updated>2025-02-13T17:33:14Z</updated>

		<summary type="html">&lt;p&gt;英語版から転載&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:グラフィカルユーザーインターフェイス]]&lt;br /&gt;
[[en:Universal Wayland Session Manager]]&lt;br /&gt;
The [https://github.com/Vladimir-csp/uwsm Universal Wayland Session Manager] (&amp;#039;&amp;#039;&amp;#039;uwsm&amp;#039;&amp;#039;&amp;#039;) wraps standalone [[Wayland#Compositors|Wayland compositors]] into a set of [[systemd]] units on the fly. This provides robust session management including environment, [[XDG Autostart]] support, bi-directional binding with login session, and clean shutdown.&lt;br /&gt;
&lt;br /&gt;
{{Note|It is highly recommended to use [[Dbus-broker|dbus-broker]] as the D-Bus daemon implementation. Among other benefits, it reuses the systemd activation environment instead of having a separate one. This simplifies environment management and allows proper cleanup. The [[D-Bus#Reference_implementation|reference implementation]]&lt;br /&gt;
 is also supported, but it does not allow unsetting vars, so a best effort cleanup is performed by setting them to an empty string instead. The only way to properly clean up the separate environment of the reference D-Bus daemon is to run {{ic|loginctl terminate-user &amp;quot;&amp;quot;}}.}}&lt;br /&gt;
 &lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
[[Install]] the {{Pkg|uwsm}} package.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== Service startup notification and vars set by compositor ===&lt;br /&gt;
&lt;br /&gt;
{{Note|If managed compositors already set {{ic|WAYLAND_DISPLAY}} (and other useful environment variables) into the systemd activation environment, then you can skip this section and you do not need to use {{ic|uwsm finalize}}.}}&lt;br /&gt;
&lt;br /&gt;
In order to find the current compositor wayland applications need the {{ic|WAYLAND_DISPLAY}} (or {{ic|DISPLAY}} variable, if they are intended to run through [[Wayland#Xwayland|Xwayland]]). Therefore this and other useful environment variables should be put into the systemd/dbus activation environment once the compositor has set their value.&lt;br /&gt;
&lt;br /&gt;
The command {{ic|uwsm finalize}} puts {{ic|WAYLAND_DISPLAY}}, {{ic|DISPLAY}} and other environment variables listed via the whitespace-separated {{ic|UWSM_FINALIZE_VARNAMES}} list into the activation environment. Therefore you need to execute this command after the compositor is ready.&lt;br /&gt;
&lt;br /&gt;
If other variables set by the compositors are needed in your activation environment, then you can also pass them as arguments:&lt;br /&gt;
&lt;br /&gt;
 exec uwsm finalize &amp;#039;&amp;#039;VAR1&amp;#039;&amp;#039; &amp;#039;&amp;#039;VAR2&amp;#039;&amp;#039; &amp;#039;&amp;#039;...&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
=== Environment variables ===&lt;br /&gt;
&lt;br /&gt;
All environment variables set in {{ic|${XDG_CONFIG_HOME}/uwsm/env}} file are sourced by &amp;#039;&amp;#039;uwsm&amp;#039;&amp;#039; and available to all managed compositors and graphical applications run inside such a session.&lt;br /&gt;
&lt;br /&gt;
If you need certain environment variables to be set only for a specific &amp;#039;&amp;#039;compositor&amp;#039;&amp;#039; (and graphical applications in that graphical session), then put them in {{ic|${XDG_CONFIG_HOME}/uwsm/env-&amp;#039;&amp;#039;compositor&amp;#039;&amp;#039;}} instead.&lt;br /&gt;
&lt;br /&gt;
All these files should set environment variables with the following format:&lt;br /&gt;
&lt;br /&gt;
{{bc|export &amp;#039;&amp;#039;KEY1&amp;#039;&amp;#039;{{=}}&amp;#039;&amp;#039;VAR1&amp;#039;&amp;#039;&lt;br /&gt;
export &amp;#039;&amp;#039;KEY2&amp;#039;&amp;#039;{{=}}&amp;#039;&amp;#039;VAR2&amp;#039;&amp;#039;&lt;br /&gt;
export &amp;#039;&amp;#039;KEY3&amp;#039;&amp;#039;{{=}}&amp;#039;&amp;#039;VAR3&amp;#039;&amp;#039;&lt;br /&gt;
&amp;#039;&amp;#039;...&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
and should not contain comments.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
=== Startup ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;uwsm&amp;#039;&amp;#039; can be started both by TTY and by a [[display manager]].&lt;br /&gt;
&lt;br /&gt;
==== TTY ====&lt;br /&gt;
&lt;br /&gt;
Add in your {{ic|~/.profile}} file:&lt;br /&gt;
&lt;br /&gt;
{{bc|if uwsm check may-start &amp;amp;&amp;amp; uwsm select; then&lt;br /&gt;
  exec uwsm start default&lt;br /&gt;
fi}}&lt;br /&gt;
&lt;br /&gt;
If you want to always start the same &amp;#039;&amp;#039;compositor&amp;#039;&amp;#039;, then you can use instead in your {{ic|~/.profile}} file:&lt;br /&gt;
&lt;br /&gt;
{{bc|if uwsm check may-start; then&lt;br /&gt;
  exec uwsm start &amp;#039;&amp;#039;compositor&amp;#039;&amp;#039;.desktop&lt;br /&gt;
fi}}&lt;br /&gt;
&lt;br /&gt;
==== Display manager ====&lt;br /&gt;
&lt;br /&gt;
You can create a custom session desktop entry which starts your compositor through &amp;#039;&amp;#039;uwsm&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
{{hc|/usr/share/wayland-sessions/my-compositor-uwsm.desktop|[Desktop Entry]&lt;br /&gt;
Name{{=}}My compositor (with UWSM)&lt;br /&gt;
Comment{{=}}My cool compositor, UWSM session&lt;br /&gt;
&lt;br /&gt;
# either full command line with metadata and executable&lt;br /&gt;
Exec{{=}}uwsm start -N &amp;quot;My compositor&amp;quot; -D mycompositor:mylib -C &amp;quot;My cool compositor&amp;quot; -- my-compositor&lt;br /&gt;
&lt;br /&gt;
# or a reference to another entry&lt;br /&gt;
Exec{{=}}uwsm start -- my-compositor.desktop&lt;br /&gt;
&lt;br /&gt;
DesktopNames{{=}}mycompositor;mylib&lt;br /&gt;
Type{{=}}Application}}&lt;br /&gt;
&lt;br /&gt;
=== Session termination ===&lt;br /&gt;
&lt;br /&gt;
If you want to terminate the current uwsm session, then you should use either {{ic|loginctl terminate-user &amp;quot;&amp;quot;}} (terminates the entire user session) or {{ic|uwsm stop}} (executes code after {{ic|uwsm start}} or terminates user session, if it replaced the [[login shell]]).&lt;br /&gt;
&lt;br /&gt;
{{Warning|Do not use a compositor&amp;#039;s native exit mechanism or kill its process directly. This will yank the compositor from under all the clients and interfere with ordered unit deactivation sequence.}}&lt;/div&gt;</summary>
		<author><name>Kgx</name></author>
	</entry>
</feed>