<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/rss-style.xsl" type="text/xsl"?>
<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>wayland &#8211; Terence Eden’s Blog</title>
	<atom:link href="https://shkspr.mobi/blog/tag/wayland/feed/" rel="self" type="application/rss+xml" />
	<link>https://shkspr.mobi/blog</link>
	<description>Regular nonsense about tech and its effects 🙃</description>
	<lastBuildDate>Sun, 15 Jan 2023 08:53:07 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://shkspr.mobi/blog/wp-content/uploads/2023/07/cropped-avatar-32x32.jpeg</url>
	<title>wayland &#8211; Terence Eden’s Blog</title>
	<link>https://shkspr.mobi/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title><![CDATA[HOWTO: Fix Calibre's broken window borders in Flatpak / Wayland]]></title>
		<link>https://shkspr.mobi/blog/2023/01/howto-fix-calibres-broken-window-borders-in-flatpak-wayland/</link>
					<comments>https://shkspr.mobi/blog/2023/01/howto-fix-calibres-broken-window-borders-in-flatpak-wayland/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Sun, 15 Jan 2023 12:34:04 +0000</pubDate>
				<category><![CDATA[/etc/]]></category>
		<category><![CDATA[calibre]]></category>
		<category><![CDATA[flatpak]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pop_os]]></category>
		<category><![CDATA[wayland]]></category>
		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=44657</guid>

					<description><![CDATA[If you have a large collection of eBooks, you probably use Calibre - it&#039;s simply the best bit of cross-platform software for managing your library.  It runs rock-solid on Linux.  But a recent upgrade gave me a problem.  I started the app and the windows were missing their borders and my mouse cursor was too small.    Not show-stopping problems, but mildly annoying. After a bit of faffing around,…]]></description>
										<content:encoded><![CDATA[<p>If you have a large collection of eBooks, you probably use <a href="https://calibre-ebook.com/">Calibre</a> - it's simply the best bit of cross-platform software for managing your library.  It runs rock-solid on Linux.</p>

<p>But a recent upgrade gave me a problem.  I started the app and the windows were missing their borders and my mouse cursor was too small.</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2023/01/calibre-fs8.png" alt="Screenshot of Calibre. The windows have no borders, making it hard to see where one starts and another one ends." width="1582" height="561" class="aligncenter size-full wp-image-44658">

<p>Not show-stopping problems, but mildly annoying. After a bit of faffing around, I discovered the cause and how to fix it.</p>

<p>I was running the <a href="https://github.com/flathub/com.calibre_ebook.calibre/">Flatpak version of Calibre</a>. Normally I find Flatpaks work really well, but it seems that this particular one had an issue with the <a href="https://wayland.freedesktop.org/">Wayland display system</a> used by Pop OS and other modern Linux distros.</p>

<p>The fix was pretty easy. I installed <a href="https://flathub.org/apps/details/com.github.tchx84.Flatseal">Flatseal</a> which is an app to manage the settings of Flatpaks. Then I told Calibre that it shouldn't use Wayland and should instead fallback to the older X11 display.</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2023/01/flatseal.png" alt="Screenshot of the Flatseal settings screen with the Wayland option unticked." width="450" class="aligncenter size-full wp-image-44659">

<p>And, with that, everything looked as it should again:</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2023/01/calibrefixed.png" alt="Screenshot of the same Calibre interface but with better looking windows." width="1920" height="652" class="aligncenter size-full wp-image-44661">

<p>I think Wayland is a pretty snazzy bit of software, but it's new so there are going to be teething problems. Luckily, this was a fairly straightforward fix.</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=44657&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2023/01/howto-fix-calibres-broken-window-borders-in-flatpak-wayland/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title><![CDATA[Fix screen tearing on rotated external monitors (Ubuntu / POP!_OS)]]></title>
		<link>https://shkspr.mobi/blog/2020/05/fix-screen-tearing-on-rotated-external-monitors-ubuntu-pop_os/</link>
					<comments>https://shkspr.mobi/blog/2020/05/fix-screen-tearing-on-rotated-external-monitors-ubuntu-pop_os/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Wed, 06 May 2020 11:40:50 +0000</pubDate>
				<category><![CDATA[/etc/]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pop_os]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wayland]]></category>
		<guid isPermaLink="false">https://shkspr.mobi/blog/?p=34954</guid>

					<description><![CDATA[I have a vertical monitor for my new Linux laptop. Because it is rotated 90 degrees, this causes problems with some graphics drivers on Linux (and Mac!). Here&#039;s a solution I found for my Intel graphics card.  Edit this file:  sudo nano /etc/gdm3/custom.conf   Find this line:  WaylandEnable=false   Change it to:  #WaylandEnable=false   Reboot.  On Pop!_OS, there is this settings cog in the bottom…]]></description>
										<content:encoded><![CDATA[<p>I have <a href="https://shkspr.mobi/blog/2020/04/review-iiyama-prolite-b2482hs-b1-24-vertical-monitor/">a vertical monitor</a> for my new <a href="https://shkspr.mobi/blog/2020/05/review-clevo-n151cu-lafite-iv-system76-darter-pro-entroware-proteus/">Linux laptop</a>. Because it is rotated 90 degrees, this causes problems with some graphics drivers on Linux (and Mac!). Here's a solution I found for my Intel graphics card.</p>

<p>Edit this file:</p>

<pre><code class="language-_">sudo nano /etc/gdm3/custom.conf
</code></pre>

<p>Find this line:</p>

<pre><code class="language-_">WaylandEnable=false
</code></pre>

<p>Change it to:</p>

<pre><code class="language-_">#WaylandEnable=false
</code></pre>

<p>Reboot.</p>

<p>On Pop!_OS, there is this settings cog in the bottom right corner. (Different login screens may have it elsewhere).</p>

<img src="https://shkspr.mobi/blog/wp-content/uploads/2020/05/Pop-on-Wayland.jpg" alt="Pop up window with several login options." width="480" height="360" class="aligncenter size-full wp-image-34957">

<p>Choose "Pop on Wayland". Or "Wayland" - depending on your Desktop Environment.</p>

<p>That's it! No tearing when scrolling or playing videos!  If you've changed your screen scaling, you might have to fiddle with it to get back to normal - but everything should just work.</p>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=34954&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2020/05/fix-screen-tearing-on-rotated-external-monitors-ubuntu-pop_os/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
