Skip to content

Commit 493af41

Browse files
committedMar 4, 2025·
updated mini post on xsct command
1 parent ffbbf8a commit 493af41

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed
 

‎atom.xml

+5-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<link href="https://learnbyexample.github.io/atom.xml" rel="self" type="application/atom+xml"/>
66
<link href="https://learnbyexample.github.io"/>
77
<generator uri="https://www.getzola.org/">Zola</generator>
8-
<updated>2025-02-20T00:00:00+00:00</updated>
8+
<updated>2025-03-04T00:00:00+00:00</updated>
99
<id>https://learnbyexample.github.io/atom.xml</id>
1010
<entry xml:lang="en">
1111
<title>GNU awk idioms explained</title>
@@ -188,7 +188,7 @@
188188
<entry xml:lang="en">
189189
<title>OS installation woes</title>
190190
<published>2025-02-12T00:00:00+00:00</published>
191-
<updated>2025-02-12T00:00:00+00:00</updated>
191+
<updated>2025-03-04T00:00:00+00:00</updated>
192192
<link rel="alternate" href="https://learnbyexample.github.io/mini/os-installation-woes/" type="text/html"/>
193193
<id>https://learnbyexample.github.io/mini/os-installation-woes/</id>
194194
<content type="html">&lt;p&gt;I prefer stability and thus I let my Linux LTS distributions to last almost till the entire end of support time. Having learned from previous transition periods, I started maintaining notes on what softwares I install&#x2F;purge and some of the customization stuff. This has vastly reduced the pain of a fresh OS installation, but the fact remains that there&#x27;ll always be some persistent and annoying trouble.&lt;&#x2F;p&gt;
@@ -209,6 +209,9 @@
209209
&lt;&#x2F;span&gt;&lt;span&gt;Terminal=false
210210
&lt;&#x2F;span&gt;&lt;span&gt;Hidden=false
211211
&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
212+
&lt;p&gt;&lt;strong&gt;Update:&lt;&#x2F;strong&gt;&lt;&#x2F;p&gt;
213+
&lt;p&gt;The above solution didn&#x27;t work as I hoped. The screen setting would activate some of the time but most often it didn&#x27;t. I resorted to creating a keyboard shortcut, which I&#x27;d use when the activation failed.&lt;&#x2F;p&gt;
214+
&lt;p&gt;The terminal would always show up briefly on login though, which meant the issue wasn&#x27;t due to the autostart failing altogether. One day I happened to notice that the screen setting would actually take effect before immediately relapsing to the normal temperature. And thus I arrived at the current solution that hasn&#x27;t failed yet. I wrote a shell script that first used the &lt;code&gt;sleep&lt;&#x2F;code&gt; command to create a delay of one second before calling &lt;code&gt;xsct&lt;&#x2F;code&gt;. The autostart desktop entry now calls this script — again, using &lt;code&gt;xfce4-terminal -e&lt;&#x2F;code&gt; because for some reason calling the script directly still fails 🤷.&lt;&#x2F;p&gt;
212215
</content>
213216
</entry>
214217
<entry xml:lang="en">

‎mini/os-installation-woes/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
</span><span>StartupNotify=false
1111
</span><span>Terminal=false
1212
</span><span>Hidden=false
13-
</span></code></pre></div><div class=post-footer><div class=post-tags><a href=https://learnbyexample.github.io/tags/operating-system/>#operating-system</a><a href=https://learnbyexample.github.io/tags/debugging/>#debugging</a><a href=https://learnbyexample.github.io/tags/command-line/>#command-line</a></div><hr color=#e6e6e6><div class=post-nav><p><a class=next href=https://learnbyexample.github.io/mini/linux-date-command-examples/>Basic examples for the Linux date command →</a><br></div><hr color=#e6e6e6><p>📰 Use <a href=https://learnbyexample.github.io/atom.xml>this link</a> for the Atom feed. <br> ✅ Follow me on <a href=https://twitter.com/learn_byexample>Twitter</a>, <a href=https://github.com/learnbyexample>GitHub</a> and <a href=https://www.youtube.com/c/learnbyexample42>Youtube</a> for interesting tech nuggets. <br> 📧 Subscribe to <a href=https://learnbyexample.gumroad.com/l/learnbyexample-weekly>learnbyexample weekly</a> for programming resources, tips, tools, free ebooks and more (free newsletter, delivered every Friday).<hr color=#e6e6e6></div></article></div></main></div><script src=https://learnbyexample.github.io/even.js></script>
13+
</span></code></pre><p><strong>Update:</strong><p>The above solution didn't work as I hoped. The screen setting would activate some of the time but most often it didn't. I resorted to creating a keyboard shortcut, which I'd use when the activation failed.<p>The terminal would always show up briefly on login though, which meant the issue wasn't due to the autostart failing altogether. One day I happened to notice that the screen setting would actually take effect before immediately relapsing to the normal temperature. And thus I arrived at the current solution that hasn't failed yet. I wrote a shell script that first used the <code>sleep</code> command to create a delay of one second before calling <code>xsct</code>. The autostart desktop entry now calls this script — again, using <code>xfce4-terminal -e</code> because for some reason calling the script directly still fails 🤷.</div><div class=post-footer><div class=post-tags><a href=https://learnbyexample.github.io/tags/operating-system/>#operating-system</a><a href=https://learnbyexample.github.io/tags/debugging/>#debugging</a><a href=https://learnbyexample.github.io/tags/command-line/>#command-line</a></div><hr color=#e6e6e6><div class=post-nav><p><a class=next href=https://learnbyexample.github.io/mini/linux-date-command-examples/>Basic examples for the Linux date command →</a><br></div><hr color=#e6e6e6><p>📰 Use <a href=https://learnbyexample.github.io/atom.xml>this link</a> for the Atom feed. <br> ✅ Follow me on <a href=https://twitter.com/learn_byexample>Twitter</a>, <a href=https://github.com/learnbyexample>GitHub</a> and <a href=https://www.youtube.com/c/learnbyexample42>Youtube</a> for interesting tech nuggets. <br> 📧 Subscribe to <a href=https://learnbyexample.gumroad.com/l/learnbyexample-weekly>learnbyexample weekly</a> for programming resources, tips, tools, free ebooks and more (free newsletter, delivered every Friday).<hr color=#e6e6e6></div></article></div></main></div><script src=https://learnbyexample.github.io/even.js></script>

‎sitemap.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
</url>
157157
<url>
158158
<loc>https://learnbyexample.github.io/mini/os-installation-woes/</loc>
159-
<lastmod>2025-02-12</lastmod>
159+
<lastmod>2025-03-04</lastmod>
160160
</url>
161161
<url>
162162
<loc>https://learnbyexample.github.io/mini/perl-oneliner-articles/</loc>

0 commit comments

Comments
 (0)
Please sign in to comment.