<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=4864&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / "ly" Display Manager]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=4864</link>
		<description><![CDATA[The most recent posts in "ly" Display Manager.]]></description>
		<lastBuildDate>Mon, 07 Feb 2022 20:47:00 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: "ly" Display Manager]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34478#p34478</link>
			<description><![CDATA[<p>@andyprough I think you may be correct.</p>]]></description>
			<author><![CDATA[dummy@example.com (manyroads)]]></author>
			<pubDate>Mon, 07 Feb 2022 20:47:00 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34478#p34478</guid>
		</item>
		<item>
			<title><![CDATA[Re: "ly" Display Manager]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34477#p34477</link>
			<description><![CDATA[<div class="quotebox"><cite>manyroads wrote:</cite><blockquote><div><p>Here is my current dwm.desktop&#160; Things just hang on boot attempt with tbsm. i3 &amp; xfce work just fine.&#160; When I enable lightdm everything works fine.&#160; I feel really slow.... <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><div class="codebox"><pre><code>[Desktop Entry]
Encoding=UTF-8
Name=dwm
Comment=dynamic window manager
icon=dwm
Type=Application
Exec=/home/mark/.local/bin/autostart/dwm.sh
Terminal=false
Type=Application</code></pre></div></div></blockquote></div><p>Using the suckless autostart patch would work, then your .desktop file would simply have the &#039;Exec=dwm&#039; line. But it sounds like tbsm probably won&#039;t work with a hand-crafted script like you are using. That&#039;s unfortunate.</p>]]></description>
			<author><![CDATA[dummy@example.com (andyprough)]]></author>
			<pubDate>Mon, 07 Feb 2022 18:56:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34477#p34477</guid>
		</item>
		<item>
			<title><![CDATA[Re: "ly" Display Manager]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34476#p34476</link>
			<description><![CDATA[<p>Here is my current dwm.desktop&#160; Things just hang on boot attempt with tbsm. i3 &amp; xfce work just fine.&#160; When I enable lightdm everything works fine.&#160; I feel really slow.... <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><div class="codebox"><pre><code>[Desktop Entry]
Encoding=UTF-8
Name=dwm
Comment=dynamic window manager
icon=dwm
Type=Application
Exec=/home/mark/.local/bin/autostart/dwm.sh
Terminal=false
Type=Application</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (manyroads)]]></author>
			<pubDate>Mon, 07 Feb 2022 18:30:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34476#p34476</guid>
		</item>
		<item>
			<title><![CDATA[Re: "ly" Display Manager]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34461#p34461</link>
			<description><![CDATA[<p>Display managers usually look for .desktop files under /usr/share/xsessions/ so try Andy&#039;s suggestion at that location. EDIT: but I don&#039;t think the <span class="bbc">Exec</span> line understands <span class="bbc">~</span> so call the full path explicitly instead.</p><p>The Debian dwm package supplies such a file and can be easily customised by using</p><div class="codebox"><pre><code>$ apt source dwm &amp;&amp; cd dwm*
[edit files and apply patches]
$ dpkg-source --commit
$ debuild -us -uc
# apt install ../dwm*.deb</code></pre></div><p>Check forums.debian.net for a more in-depth guide to the process.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Mon, 07 Feb 2022 15:52:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34461#p34461</guid>
		</item>
		<item>
			<title><![CDATA[Re: "ly" Display Manager]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34459#p34459</link>
			<description><![CDATA[<div class="quotebox"><cite>manyroads wrote:</cite><blockquote><div><p>I have it working for i3 &amp; xfce @andyprough but because I start dwm via a script (my autostart functions) I have to find a way to point to the dwm bash script location.</p></div></blockquote></div><p>Oh interesting. Could you just make a dwm.desktop file and point it at your dwm autostart script I wonder? Something like</p><div class="codebox"><pre><code>Desktop Entry]
Name=DWM
Comment=Window manager for the X11 Window System
Exec=~/.dwm/autostart.sh
Terminal=false
Type=Application</code></pre></div><p>or something? </p><p>I don&#039;t know - I just use vanilla dwm with a few updated keybindings these days. Trying to maximize my memory availability for some VMs that I run. Maybe HOAS would have a better idea for you on a way for tbsm to start that script.</p><p>EDIT: I&#039;m reading the tbsm documentation. tbsm is just a bash shell script that is not in active development. And the docs say it only handles .desktop files, so you&#039;d have to get that autostart script to launch via a dwm.desktop file I believe. Similar to the one I posted I think.</p>]]></description>
			<author><![CDATA[dummy@example.com (andyprough)]]></author>
			<pubDate>Mon, 07 Feb 2022 15:14:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34459#p34459</guid>
		</item>
		<item>
			<title><![CDATA[Re: "ly" Display Manager]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34457#p34457</link>
			<description><![CDATA[<p>I have it working for i3 &amp; xfce @andyprough but because I start dwm via a script (my autostart functions) I have to find a way to point to the dwm bash script location.</p>]]></description>
			<author><![CDATA[dummy@example.com (manyroads)]]></author>
			<pubDate>Mon, 07 Feb 2022 14:19:54 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34457#p34457</guid>
		</item>
		<item>
			<title><![CDATA[Re: "ly" Display Manager]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34454#p34454</link>
			<description><![CDATA[<p>You might try tbsm if you&#039;re looking for a tty login manager. </p><div class="codebox"><pre><code>git clone https://github.com/loh-tar/tbsm
cd tbsm
sudo make install</code></pre></div><p>Works incredible on Devuan. I&#039;ve been using it for over a year.<br /><span class="postimg"><img src="https://loh-tar.github.io/tbsm/login-standard-theme-and-tulizu.png" alt="login-standard-theme-and-tulizu.png" /></span></p>]]></description>
			<author><![CDATA[dummy@example.com (andyprough)]]></author>
			<pubDate>Mon, 07 Feb 2022 06:14:48 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34454#p34454</guid>
		</item>
		<item>
			<title><![CDATA[Re: "ly" Display Manager]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34453#p34453</link>
			<description><![CDATA[<p>Sounds like fun... I&#039;ll try it.&#160; I probably won&#039;t break anything much giving it a spin.&#160; <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (manyroads)]]></author>
			<pubDate>Sun, 06 Feb 2022 22:24:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34453#p34453</guid>
		</item>
		<item>
			<title><![CDATA[Re: "ly" Display Manager]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34452#p34452</link>
			<description><![CDATA[<div class="codebox"><pre><code>case &quot;$(tty)&quot; in
   /dev/tty1) exec startx /usr/bin/dwm ;;
   /dev/tty2) exec startx /usr/bin/i3 ;;
   /dev/tty3) exec startx /usr/bin/startxfce4
esac</code></pre></div><p>^ That starts dwm if you log in at TTY1, i3 from TTY2 and Xfce from TTY3. You can even have all three running at the same time if you want :-)</p><p>EDIT: oops, no it didn&#039;t. Corrected.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 06 Feb 2022 20:52:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34452#p34452</guid>
		</item>
		<item>
			<title><![CDATA[Re: "ly" Display Manager]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34451#p34451</link>
			<description><![CDATA[<p>Thank you very much!</p><p>Edit: I use a dm because I have dwm, i3wm &amp; xfce4 in the same user space.</p>]]></description>
			<author><![CDATA[dummy@example.com (manyroads)]]></author>
			<pubDate>Sun, 06 Feb 2022 20:34:39 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34451#p34451</guid>
		</item>
		<item>
			<title><![CDATA[Re: "ly" Display Manager]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34449#p34449</link>
			<description><![CDATA[<p>I used <a href="https://git.savannah.nongnu.org/cgit/sysvinit.git/tree/contrib/sysd2v.sh" rel="nofollow">https://git.savannah.nongnu.org/cgit/sy … /sysd2v.sh</a> on the systemd unit file to generate this:</p><div class="codebox"><pre><code>#!/bin/sh
# Generated by sysd2v v0.3  --  http://www.trek.eu.org/devel/sysd2v
# kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing.
if [ true != &quot;$INIT_D_SCRIPT_SOURCED&quot; ] ; then
    set &quot;$0&quot; &quot;$@&quot;; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
fi
### BEGIN INIT INFO
# Provides:       ly display-manager
# Required-Start: $remote_fs
# Required-Stop:  $remote_fs
# Should-Start:   plymouth-quit-wait getty@tty2
# Should-Stop:    plymouth-quit-wait getty@tty2
# Default-Start:  2 3 4 5
# Default-Stop:   0 1 6
# Description:    TUI display manager
### END INIT INFO
DAEMON=/usr/bin/ly
PIDFILE=/var/run/ly-sysd2v.pid
START_ARGS=&quot;--background --make-pidfile&quot;</code></pre></div><p>^ Copy that into a file at /etc/init.d/ly and run</p><div class="codebox"><pre><code># update-rc.d ly defaults</code></pre></div><p>Then either reboot or attempt to start it manually with</p><div class="codebox"><pre><code># service ly start</code></pre></div><p>Disclaimer: untested.</p><p>Off-topic: display managers are bloat so why not just add this line to ~/.profile instead:</p><div class="codebox"><pre><code>[ &quot;$(tty)&quot; = /dev/tty1 ] &amp;&amp; exec startx</code></pre></div><p>^ That runs <span class="bbc">startx</span> automatically if you log in to TTY1.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 06 Feb 2022 19:36:00 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34449#p34449</guid>
		</item>
		<item>
			<title><![CDATA["ly" Display Manager]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=34448#p34448</link>
			<description><![CDATA[<p>Can anyone tell me how-to start &quot;ly&quot; using sysvint? I have no problem starting it using systemd however... sysvinit has me perplexed. </p><p>Here&#039;s a link to the relevant github.<br /><a href="https://github.com/nullgemm/ly" rel="nofollow">https://github.com/nullgemm/ly</a></p><p>Edit: I searched for an &#039;ly&#039; service in sysv but did not find one.</p><p>TIA</p>]]></description>
			<author><![CDATA[dummy@example.com (manyroads)]]></author>
			<pubDate>Sun, 06 Feb 2022 19:08:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=34448#p34448</guid>
		</item>
	</channel>
</rss>
