<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ubuntu &#8211; bablick.de</title>
	<atom:link href="https://bablick.de/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>https://bablick.de</link>
	<description>Writing About Clusters, Curiosity, and Everything in Between.</description>
	<lastBuildDate>Wed, 05 Nov 2025 04:40:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>

<image>
	<url>https://bablick.de/wp-content/uploads/2025/08/cropped-BablickLogo-1-32x32.png</url>
	<title>Ubuntu &#8211; bablick.de</title>
	<link>https://bablick.de</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Hibernation with Debian 13 Trixie on TUXEDO Stellaris 17</title>
		<link>https://bablick.de/hibernation-with-debian-13-trixie-on-tuxedo-stellaris-17/</link>
		
		<dc:creator><![CDATA[ernst.bablick]]></dc:creator>
		<pubDate>Sun, 11 Aug 2024 21:44:10 +0000</pubDate>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[Suspend]]></category>
		<category><![CDATA[SuspendToDisk]]></category>
		<category><![CDATA[Tuxedo]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<guid isPermaLink="false">https://bablick.de/?p=35</guid>

					<description><![CDATA[Since more than a year I use the TUXEDO Stellaris 17 Intel Gen6 Notebook for daily development. Ubuntu 24.04 is working there quite well. Thanks to TUXEDO, the hardware support if great but one thing what made me cringe was the lack of hibernation support and sporadic wake-ups can be frustrating and dangerous if the...]]></description>
										<content:encoded><![CDATA[
<p>Since more than a year I use the <a href="https://www.tuxedocomputers.com/en/TUXEDO-Stellaris-17-Gen6.tuxedo">TUXEDO Stellaris 17 Intel Gen6 Notebook</a> for daily development.</p>



<p>Ubuntu 24.04 is working there quite well. Thanks to TUXEDO, the hardware support if great but one thing what made me cringe was the lack of hibernation support and sporadic wake-ups can be frustrating and dangerous if the notebook should sleep in the bag when you are on the go.</p>



<p>The default Ubuntu 24.04 (and also TUXEDO&#8217;s adapted <a href="https://www.tuxedocomputers.com/en/TUXEDO-OS_1.tuxedo">TUXEDO OS</a>) does not setup a SWAP partition of the correct size which makes hibernation impossible. Even if you do this setup yourself you will find out that modes like SuspendThenHibernate will cause the system never to hibernate due to the unnecessary wake-up calls.</p>



<p>The frustration with hibernation was the main reason to give <a href="https://www.debian.org/devel/debian-installer/index.de.html">Debian 13 Trixie</a> a try to find out if this distributions also has such issues.</p>



<h1 class="wp-block-heading">Necessary Steps</h1>



<p>I can already summarize that not only was the default installation a success, but hibernation also works perfectly. Minor configuration steps were necessary on Debian 13 Trixie.</p>



<ul class="wp-block-list">
<li>The default installation on NVMe was problem-free. Debian supports LUKS encryption of partitions, including the SWAP partition, which contains the complete extract of the working memory in hibernation mode.</li>



<li>The SWAP partition automatically has the size of the RAM—more precisely, it is even slightly larger so that the contents of the RAM still fit in the partition despite the LUKS header. A manual hibernation test after installation confirmed that hibernation is working.</li>
</ul>



<pre class="wp-block-code has-small-font-size"><code><strong>sudo systemctl hibernate</strong></code></pre>



<ul class="wp-block-list">
<li>After restarting the notebook, the system wakes up again, asks for the encryption password, boots Linux, and continues where it left off.</li>



<li>The file <strong>/etc/systemd/sleep.conf</strong> contains the default settings for <strong>systemd</strong>, which is responsible for suspend and hibernate. I have adjusted the settings slightly to suit my needs:</li>
</ul>



<pre class="wp-block-code has-small-font-size"><code><strong>sudo vi /etc/systemd/sleep.conf</strong>

&#91;Sleep]
AllowSuspend=yes
AllowHibernation=yes
AllowSuspendThenHibernate=yes
AllowHybridSleep=yes
#SuspendState=mem standby freeze
#HibernateMode=platform shutdown
#MemorySleepMode=
HibernateDelaySec=30m
HibernateOnACPower=yes
#SuspendEstimationSec=60min</code></pre>



<ul class="wp-block-list">
<li>In particular, the <strong><a href="https://manpages.debian.org/unstable/systemd/systemd-sleep.conf.5.en.html">HibernateDelaySec</a></strong> is set to <strong>30m</strong>. In combination with my Gnome settings, this means that Gnome dims the screen after 10 minutes. After 15 minutes, the notebook is suspended for 30 minutes. During this time, touching the touch pad or pressing a key is enough to wake it up, but if you don&#8217;t do this, the notebook wakes up on its own after the time has elapsed, only to hibernate.</li>



<li>The Gnome shutdown menu does not yet include the option to trigger &#8216;hibernate&#8217;, &#8216;suspend then hibernate&#8217;, or &#8216;hybrid sleep&#8217; from the graphical user interface. However, this can be quickly remedied with a Gnome shell extension called <strong><a href="https://extensions.gnome.org/extension/755/hibernate-status-button/">Hibernate Status Button</a></strong>.</li>
</ul>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><a href="https://extensions.gnome.org/extension/755/hibernate-status-button/"><img alt="Hibernate Status Button Dialog" fetchpriority="high" decoding="async" width="609" height="1024" src="https://bablick.de/wp-content/uploads/2024/08/HibernateStatusButton-609x1024.png" alt="" class="wp-image-52" style="width:362px;height:auto" srcset="https://bablick.de/wp-content/uploads/2024/08/HibernateStatusButton-609x1024.png 609w, https://bablick.de/wp-content/uploads/2024/08/HibernateStatusButton-178x300.png 178w, https://bablick.de/wp-content/uploads/2024/08/HibernateStatusButton-768x1292.png 768w, https://bablick.de/wp-content/uploads/2024/08/HibernateStatusButton-913x1536.png 913w, https://bablick.de/wp-content/uploads/2024/08/HibernateStatusButton.png 1064w" sizes="(max-width: 609px) 100vw, 609px" /></a></figure></div>


<ul class="wp-block-list">
<li>If you&#8217;re wondering what <strong>hybrid</strong> means: In this mode, the memory dump is written before the notebook is suspended and is available when a reboot is required, for example, if the battery runs out during sleep mode.</li>



<li>When you close the lid of a laptop, Debian Trixie automatically puts the laptop into sleep mode. If you would prefer something else to be triggered instead, this can be changed in <strong>/etc/systemd/logind.conf</strong>.</li>
</ul>



<pre class="wp-block-code has-small-font-size"><code><strong>sudo vi /etc/systemd/logind.conf</strong>

HandleLidSwitch=suspend-then-hibernate
HandleLidSwitchExternalPower=suspend-then-hibernate
...</code></pre>



<p></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
