<?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>
	<copyright>© Terence Eden. 🄯 CC BY-SA. See https://shkspr.mobi/blog/copyright-and-copyleft/</copyright>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</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[Terence Eden]]></dc:creator>
		<pubDate>Sun, 15 Jan 2023 12:34:04 +0000</pubDate>
		<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>&lt;p&gt;If you have a large collection of eBooks, you probably use &lt;a href="https://calibre-ebook.com/"&gt;Calibre&lt;/a&gt; - it's simply the best bit of cross-platform software for managing your library.  It runs rock-solid on Linux.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;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"&gt;

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

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

&lt;p&gt;The fix was pretty easy. I installed &lt;a href="https://flathub.org/apps/details/com.github.tchx84.Flatseal"&gt;Flatseal&lt;/a&gt; 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.&lt;/p&gt;

&lt;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"&gt;

&lt;p&gt;And, with that, everything looked as it should again:&lt;/p&gt;

&lt;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"&gt;

&lt;p&gt;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.&lt;/p&gt;
&lt;img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=44657&amp;amp;HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager"&gt;</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[Terence Eden]]></dc:creator>
		<pubDate>Wed, 06 May 2020 11:40:50 +0000</pubDate>
		<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>&lt;p&gt;I have &lt;a href="https://shkspr.mobi/blog/2020/04/review-iiyama-prolite-b2482hs-b1-24-vertical-monitor/"&gt;a vertical monitor&lt;/a&gt; for my new &lt;a href="https://shkspr.mobi/blog/2020/05/review-clevo-n151cu-lafite-iv-system76-darter-pro-entroware-proteus/"&gt;Linux laptop&lt;/a&gt;. 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.&lt;/p&gt;

&lt;p&gt;Edit this file:&lt;/p&gt;

&lt;pre&gt;&lt;code class="language-_"&gt;sudo nano /etc/gdm3/custom.conf
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Find this line:&lt;/p&gt;

&lt;pre&gt;&lt;code class="language-_"&gt;WaylandEnable=false
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Change it to:&lt;/p&gt;

&lt;pre&gt;&lt;code class="language-_"&gt;#WaylandEnable=false
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Reboot.&lt;/p&gt;

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

&lt;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"&gt;

&lt;p&gt;Choose "Pop on Wayland". Or "Wayland" - depending on your Desktop Environment.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;
&lt;img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=34954&amp;amp;HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager"&gt;</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>
