<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Faisal on Medium]]></title>
        <description><![CDATA[Stories by Faisal on Medium]]></description>
        <link>https://medium.com/@faisalraza?source=rss-80c2ca4d196a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*PF64a6e8gwrrNoPqKkL-Dg.jpeg</url>
            <title>Stories by Faisal on Medium</title>
            <link>https://medium.com/@faisalraza?source=rss-80c2ca4d196a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 03:32:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@faisalraza/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Convert your portait pictures to Landspace in Linux (Ubuntu)]]></title>
            <link>https://medium.com/@faisalraza/convert-your-portait-pictures-to-landspace-in-linux-ubuntu-35ac85a846fe?source=rss-80c2ca4d196a------2</link>
            <guid isPermaLink="false">https://medium.com/p/35ac85a846fe</guid>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[image]]></category>
            <dc:creator><![CDATA[Faisal]]></dc:creator>
            <pubDate>Sat, 18 May 2024 07:36:59 GMT</pubDate>
            <atom:updated>2024-05-18T07:37:57.727Z</atom:updated>
            <content:encoded><![CDATA[<pre>convert -size 1920x1080 xc:skyblue in.jpeg -geometry 1920x1080 -blur 0x25 -gravity northwest -composite in.jpeg -geometry 1920x1080 -blur 0x25 -gravity southeast -composite in.jpeg -geometry 1920x1080 -gravity center -composite out.jpeg</pre><p>in.jpeg is the source picture</p><p>out.jpeg is the destination picture</p><p>1920x1080 is the landspace resolution you can change it to your need</p><p>prerequisite:</p><p>you need to ImageMagick installed</p><p>Tip:</p><p>If your source image is of resolution more than Full-HD you need to tweak this resolution parameter</p><p>Source <a href="https://graphicdesign.stackexchange.com/questions/69650/batch-convert-portrait-photo-to-landscape-with-blurred-extended-background-wi">link</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35ac85a846fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[To read kernel buffer]]></title>
            <link>https://medium.com/@faisalraza/to-read-kernel-buffer-13cf040d6883?source=rss-80c2ca4d196a------2</link>
            <guid isPermaLink="false">https://medium.com/p/13cf040d6883</guid>
            <category><![CDATA[kernel]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Faisal]]></dc:creator>
            <pubDate>Mon, 02 Oct 2023 07:40:06 GMT</pubDate>
            <atom:updated>2023-10-02T07:40:06.719Z</atom:updated>
            <content:encoded><![CDATA[<pre>dmesg</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13cf040d6883" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Manipulate windows in Linux]]></title>
            <link>https://medium.com/@faisalraza/manipulate-windows-in-linux-3caa5e75816c?source=rss-80c2ca4d196a------2</link>
            <guid isPermaLink="false">https://medium.com/p/3caa5e75816c</guid>
            <category><![CDATA[lua]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[fedora]]></category>
            <dc:creator><![CDATA[Faisal]]></dc:creator>
            <pubDate>Mon, 02 Oct 2023 07:39:07 GMT</pubDate>
            <atom:updated>2023-10-02T07:39:07.691Z</atom:updated>
            <content:encoded><![CDATA[<p>Example:</p><p>How to stick a window in Linux</p><h4>Install</h4><pre>sudo apt install devilspie2<br>#Run devilspie2 <br>devilspie2 # it will create folder like this<br> <br>$ ls -ltrR .config/devilspie2/<br>.config/devilspie2/:<br>total 4<br>-rw-rw-r - 1 faisal faisal 79 May 27 10:58 flameshot.lua<br><br># Create configuration like flameshot.lua<br>$ cat .config/devilspie2/flameshot.lua <br>if (string.match(get_window_name(), &quot;flameshot&quot;)) then<br>  stick_window();<br>end</pre><p>Same thing in rpm fedora<br><a href="https://rhel.pkgs.org/8/epel-x86_64/devilspie2-0.44-1.el8.x86_64.rpm.html">https://rhel.pkgs.org/8/epel-x86_64/devilspie2-0.44-1.el8.x86_64.rpm.html</a></p><p><a href="https://github.com/dsalt/devilspie2">GitHub - dsalt/devilspie2: Devilspie2 is a window matching utility, allowing the user to perform scripted actions on windows as they are opened and closed.</a></p><p>My configuration</p><pre><br>application_name=get_application_name()<br>window_name=get_window_name()<br>if (string.find(application_name,&quot;Chrome&quot;)~=nil) then<br> set_window_workspace(1);<br> change_workspace(1);<br>end<br>if (get_window_has_name() == true) then<br> if (string.find(window_name,&quot;splash&quot;)~=nil) then<br> debug_print(&quot;finding splash&quot;)<br> set_window_workspace(2);<br> change_workspace(2);<br> end<br>end<br>if (string.find(application_name,&quot;tilix&quot;)~=nil) then<br> set_window_workspace(3);<br> change_workspace(3);<br>end<br>if (string.find(application_name,&quot;Codium&quot;)~=nil) then<br> debug_print(&quot;finding Codium&quot;);<br> set_window_workspace(4);<br> change_workspace(4);<br>end<br>if (string.find(application_name,&quot;QOwnNotes&quot;)~=nil) then <br> set_window_workspace(5); <br> change_workspace(5);<br>end<br>if (string.find(application_name,&quot;Postman&quot;)~=nil) then <br> set_window_workspace(6); <br> change_workspace(6);<br>end<br>if (string.find(application_name,&quot;Slack&quot;)~=nil) then<br> set_window_workspace(8);<br> change_workspace(8);<br>end<br>if (string.find(application_name,&quot;Joplin&quot;)~=nil) then <br> set_window_workspace(9);<br> change_workspace(9);<br>end<br>if (string.find(application_name,&quot;SimpleScreenRecorder&quot;)~=nil) then <br> set_window_workspace(10);<br> change_workspace(10);<br>end<br> - debug_print(&quot;Application: &quot; .. get_application_name())<br> - debug_print(&quot;Window: &quot; .. get_window_name());<br> - debug_print(&quot;get_window_xid:&quot; .. get_window_xid());<br> - <br> - <br> - while (not get_window_has_name()) <br> - do<br> - debug_print(&quot;window_name&quot; .. get_window_name());<br> - end<br> - debug_print(&quot;window_type: &quot; .. get_window_type());<br> - get_process_name</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3caa5e75816c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to check xorg or wayland]]></title>
            <link>https://medium.com/@faisalraza/how-to-check-xorg-or-wayland-88fb1bebe270?source=rss-80c2ca4d196a------2</link>
            <guid isPermaLink="false">https://medium.com/p/88fb1bebe270</guid>
            <category><![CDATA[xorg]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[wayland]]></category>
            <dc:creator><![CDATA[Faisal]]></dc:creator>
            <pubDate>Mon, 02 Oct 2023 07:34:38 GMT</pubDate>
            <atom:updated>2023-10-02T07:34:38.905Z</atom:updated>
            <content:encoded><![CDATA[<pre>echo $XDG_SESSION_TYPE<br>echo $DESKTOP_SESSION<br>echo $WAYLAND_DISPLAY</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88fb1bebe270" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Add Apple Bluetooth in the Fedora]]></title>
            <link>https://medium.com/@faisalraza/add-apple-bluetooth-in-the-fedora-421e7c741794?source=rss-80c2ca4d196a------2</link>
            <guid isPermaLink="false">https://medium.com/p/421e7c741794</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[fedora]]></category>
            <category><![CDATA[bluetooth]]></category>
            <dc:creator><![CDATA[Faisal]]></dc:creator>
            <pubDate>Mon, 02 Oct 2023 07:33:51 GMT</pubDate>
            <atom:updated>2023-10-02T07:33:51.482Z</atom:updated>
            <content:encoded><![CDATA[<pre>bluetoothctl<br>pair 68:FE:F7:5B:F2:62<br>yes<br>#You can add below line to connect to an existing connection<br>echo &#39;connect 68:FE:F7:5B:F2:62&#39; | bluetoothctl</pre><p>Below line to pair but then it doesn’t work like this because the next it wants is a yes</p><pre>echo -e “pair 68:FE:F7:5B:F2:62” | bluetoothctl</pre><pre>#To find the battery of apple keyboard in fedora<br>cat /sys/class/power_supply/hid-68\:fe\:f7\:5b\:f2\:62-battery/capacity</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=421e7c741794" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bluetooth troubleshooting in Ubuntu]]></title>
            <link>https://medium.com/@faisalraza/bluetooth-troubleshooting-in-ubuntu-85fdd6e5ea68?source=rss-80c2ca4d196a------2</link>
            <guid isPermaLink="false">https://medium.com/p/85fdd6e5ea68</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[bluetooth]]></category>
            <dc:creator><![CDATA[Faisal]]></dc:creator>
            <pubDate>Mon, 02 Oct 2023 07:30:20 GMT</pubDate>
            <atom:updated>2023-10-02T07:30:20.783Z</atom:updated>
            <content:encoded><![CDATA[<h4>Bluetooth off after suspend Issue</h4><blockquote>Solution:</blockquote><blockquote>It looks like I have “fixed” this by disabling the PowerManager plugin in Blueman — that is, disable the entire plugin (and the connected KillSwitch plugin), not just the “auto power-on” functionality in the configuration of the PowerManager plugin.</blockquote><h4>Bluetooth to automatically Connect at login</h4><p>## Solution<br>Make sure your Bluetooth adapter is set to automatically power on when your laptop boots up.</p><p>in /etc/bluetooth/main.conf set below variables</p><pre>AutoEnable=true<br> under <br> [Policy]<br> and <br> DiscoverableTimeout=0<br> under <br> [General]</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85fdd6e5ea68" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[# @Builder with custom from in lombok]]></title>
            <link>https://medium.com/@faisalraza/builder-with-custom-from-in-lombok-e3d2d2c9aa66?source=rss-80c2ca4d196a------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3d2d2c9aa66</guid>
            <category><![CDATA[lombok]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[builder-pattern]]></category>
            <dc:creator><![CDATA[Faisal]]></dc:creator>
            <pubDate>Mon, 02 Oct 2023 07:26:39 GMT</pubDate>
            <atom:updated>2023-10-02T07:26:39.301Z</atom:updated>
            <content:encoded><![CDATA[<h3><a href="http://twitter.com/Builder">@Builder</a> with custom from in lombok</h3><pre>import lombok.AllArgsConstructor;<br>import lombok.Builder;<br>import lombok.ToString;<br><br>@AllArgsConstructor<br>@ToString<br>@Builder<br>public class Car {<br>    private final String namePlate;<br>    private final String category;<br><br>    public static class CarBuilder {<br>        private String namePlate;<br>        private String category;<br><br>        public CarBuilder from(Car car) {<br>            this.namePlate = car.namePlate;<br>            this.category = car.category;<br>            return this;<br>        }<br>    }<br>}<br><br><br> <br> public class Main {<br>    public static void main(String[] args) {<br>        var car=Car.builder().category(&quot;something&quot;).namePlate(&quot;name&quot;).build();<br>        var car2=Car.builder().from(car).category(&quot;somethingelse&quot;).build();<br>        System.out.println(car +&quot; &quot;+car2);<br><br>    }<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3d2d2c9aa66" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What you see is what you get (WYSIWYG) Editor in Linux]]></title>
            <link>https://medium.com/@faisalraza/what-you-see-is-what-you-get-wysiwyg-editor-in-linux-951a6d12150d?source=rss-80c2ca4d196a------2</link>
            <guid isPermaLink="false">https://medium.com/p/951a6d12150d</guid>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[wysiwyg]]></category>
            <dc:creator><![CDATA[Faisal]]></dc:creator>
            <pubDate>Mon, 02 Oct 2023 07:23:38 GMT</pubDate>
            <atom:updated>2023-10-02T07:23:38.705Z</atom:updated>
            <content:encoded><![CDATA[<p>MarkText is really good</p><p>Increase the width of the writing area issue resolved here<br><a href="https://github.com/marktext/marktext/issues/2654">https://github.com/marktext/marktext/issues/2654</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=951a6d12150d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git fetch a remote branch]]></title>
            <link>https://medium.com/@faisalraza/git-fetch-a-remote-branch-bb4303d1af58?source=rss-80c2ca4d196a------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb4303d1af58</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Faisal]]></dc:creator>
            <pubDate>Mon, 02 Oct 2023 07:21:45 GMT</pubDate>
            <atom:updated>2023-10-02T07:21:45.270Z</atom:updated>
            <content:encoded><![CDATA[<pre>git fetch origin</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb4303d1af58" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Apply global scaling in KDE without logging out]]></title>
            <link>https://medium.com/@faisalraza/apply-global-scaling-in-kde-without-logging-out-76a47a1b9ba3?source=rss-80c2ca4d196a------2</link>
            <guid isPermaLink="false">https://medium.com/p/76a47a1b9ba3</guid>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[kde-plasma]]></category>
            <category><![CDATA[kde]]></category>
            <dc:creator><![CDATA[Faisal]]></dc:creator>
            <pubDate>Mon, 02 Oct 2023 07:20:08 GMT</pubDate>
            <atom:updated>2023-10-02T07:20:51.569Z</atom:updated>
            <content:encoded><![CDATA[<pre>kquitapp5 plasmashell || killall plasmashell &amp;&amp; kstart5 plasmashell</pre><p>Source <a href="https://askubuntu.com/questions/481329/can-i-restart-the-kde-plasma-desktop-without-logging-out">link</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76a47a1b9ba3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>