<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Debian on Subhadip's Blog</title><link>https://www.subhadig.net/tags/debian/</link><description>Recent content in Debian on Subhadip's Blog</description><generator>Hugo</generator><language>en-us</language><copyright>Subhadip Ghosh</copyright><lastBuildDate>Tue, 01 Mar 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://www.subhadig.net/tags/debian/index.xml" rel="self" type="application/rss+xml"/><item><title>Upgrading to Debian 11 Bullseye</title><link>https://www.subhadig.net/posts/upgrading-to-debian-11-bullseye/</link><pubDate>Tue, 01 Mar 2022 00:00:00 +0000</pubDate><guid>https://www.subhadig.net/posts/upgrading-to-debian-11-bullseye/</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;
&lt;p&gt;Although Debian 11 codenamed &lt;em&gt;Bullseye&lt;/em&gt; was released almost 7 months
back on &lt;a href="https://www.debian.org/releases/bullseye/"&gt;14th August, 2021&lt;/a&gt;, it was
only in January, 2022 that I upgraded all my computers running Debian 10 to
Debian 11.
Admittedly a little late to the party, I like to take a cautious approach to
upgrading my systems, which is not very difficult to predict given my Linux
distribution of choice!
In this post, I am going to share my experience and the steps I used while
doing the actual upgrade.&lt;/p&gt;</description></item><item><title>Functional Global Menu with Xfce Appmenu plugin</title><link>https://www.subhadig.net/posts/functional-global-menu-on-xfce-with-appmenu-plugin/</link><pubDate>Fri, 10 Sep 2021 00:00:00 +0000</pubDate><guid>https://www.subhadig.net/posts/functional-global-menu-on-xfce-with-appmenu-plugin/</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;
&lt;p&gt;After tinkering with it for a while now I finally have got a very much
functional global menu working on my Xfce4 desktop running on Debian 10.
I will list down the steps I followed to get the global menu configured on my
Debian Xfce box in this post.&lt;/p&gt;
&lt;h3 id="global-menu-vs-local-menu"&gt;Global menu vs Local menu&lt;/h3&gt;
&lt;p&gt;For those of you who might be wondering what a &lt;em&gt;global menu&lt;/em&gt; is, it is a way of
displaying the application menus on the top of the screen like the way MacOS
does.
By default the Xfce4 desktop displays the menus right below the Window title
bar separately in each Window.&lt;/p&gt;</description></item><item><title>The easiest way to stay always connected on IRC</title><link>https://www.subhadig.net/posts/the-easiest-way-to-stay-always-connected-on-irc/</link><pubDate>Sun, 28 Jun 2020 00:00:00 +0000</pubDate><guid>https://www.subhadig.net/posts/the-easiest-way-to-stay-always-connected-on-irc/</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;
&lt;p&gt;Connecting to an IRC room may not be a difficult task but if you communicate
with a group of members connecting from different locations across the globe
and are in different timezones and if you don&amp;rsquo;t want to miss out messages from
them while you are offline, you may find yourself in a tricky situation.
In this post I am going to share the easiest and the most
cost-effective way to always stay connected on IRC using
&lt;a href="https://en.wikipedia.org/wiki/Matrix_%28protocol%29"&gt;Matrix&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>My list of things to do after installing Debian on the PC</title><link>https://www.subhadig.net/posts/my-list-of-things-to-do-after-installing-debian-on-the-pc/</link><pubDate>Wed, 15 Jan 2020 00:00:00 +0000</pubDate><guid>https://www.subhadig.net/posts/my-list-of-things-to-do-after-installing-debian-on-the-pc/</guid><description>&lt;h3 id="introduction"&gt;Introduction&lt;/h3&gt;
&lt;p&gt;I like the fact that Debian does not do a lot of customizations over
the upstream packages by default but this also means extra work for you for setting up
things after installing Debian on the PC. The upside is that you get to customize
things exactly the way you like it. It definitely helps to have a list to start
with and this post lists down some of the customizations I make after installing
a fresh copy of Debian.&lt;/p&gt;</description></item><item><title>Fix for Debian Buster System Freeze</title><link>https://www.subhadig.net/posts/fix-for-debian-buster-system-freeze/</link><pubDate>Mon, 11 Nov 2019 00:00:00 +0000</pubDate><guid>https://www.subhadig.net/posts/fix-for-debian-buster-system-freeze/</guid><description>&lt;h3&gt;The Problem&lt;/h3&gt;
&lt;p&gt;After the release of Debian 10 Buster, I installed it on my Dell Inspiron 3558 laptop which comes with onboard Intel HD Graphics. I am using Xfce desktop environment instead of the default Gnome desktop. After the installation, I would intermittently face the problem where the whole desktop would suddenly just freeze and stop responding to the mouse and the keyboard. Even after hours of waiting the system would never come back to the normal state and the only solution was to hard reboot the whole system. It seemed really weird as prior to installing Debian 10, I had Debian 9 running on it for more than a year and I never had any such issues.&lt;/p&gt;</description></item><item><title>Run MySQL as Docker Container on Debian</title><link>https://www.subhadig.net/posts/run-mysql-in-docker-on-debian/</link><pubDate>Mon, 27 May 2019 00:00:00 +0000</pubDate><guid>https://www.subhadig.net/posts/run-mysql-in-docker-on-debian/</guid><description>&lt;p&gt;Event though Debian is considered as one of the most stable Linux distributions out there, part of it's stability comes from the fact that a large portion of it's package base consists of well-tested but outdated packages. This should be a blessing most of the times but if you are a developer like me, some times you may need a latest or specific version of a package. In this case, I needed the latest version of the mysql-server package. Although official apt repository is available from MySQL to install the latest version of it on Debian, to be able to run something in containers has it's own advantages including having the ability to run multiple versions of the same package simultaneously and can be easily cleaned up after using.&lt;/p&gt;</description></item><item><title>Fix for incorrect rendering of Indic fonts in Firefox on Debian</title><link>https://www.subhadig.net/posts/fix-for-incorrect-rendering-of-indic-fonts-in-firefox-on-debian/</link><pubDate>Mon, 18 Feb 2019 00:00:00 +0000</pubDate><guid>https://www.subhadig.net/posts/fix-for-incorrect-rendering-of-indic-fonts-in-firefox-on-debian/</guid><description>&lt;p&gt;Debian Stretch, the current stable release of Debian now comes with Firefox ESR 60. One strange issue I have noticed with the out of the box configuration of Firefox on Debian is that it does not correctly render the Indic fonts on the websites. Most notable issue is that it breaks the connected letters while showing. Here's how I fixed it.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Install the fonts-indic package.&lt;br /&gt;

&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt install fonts-indic&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;/li&gt;
&lt;br/&gt;
&lt;li&gt;Now open Firefox and go to Preferences &amp;gt; General &amp;gt; Language and Appearance &amp;gt; Fonts &amp;amp; Colors and click on Advanced. Select the language you want to set fonts for from the "Fonts for" dropdown and select fonts with your specific language support for Serif and Sans-serif fonts, click Ok.
&lt;p&gt;Here's how my settings looks like:&lt;/p&gt;</description></item><item><title>How to fix Eclipse IDE flickering issue on Debian</title><link>https://www.subhadig.net/posts/how-to-fix-eclipse-ide-flickering-issue-on-debian/</link><pubDate>Fri, 25 Jan 2019 00:00:00 +0000</pubDate><guid>https://www.subhadig.net/posts/how-to-fix-eclipse-ide-flickering-issue-on-debian/</guid><description>&lt;p&gt;I am using Eclipse IDE (version 2018-12 at the time of writing) on Debian 9 Xfce and the issue with it is that the Eclipse editor windows would flicker around the edges. Sometimes so much so that it's impossible to type inside it. Here's how I fixed it:&lt;/p&gt;
&lt;p&gt;First check the value of GTK_IM_MODULE in your environment by executing&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="nv"&gt;$GTK_IM_MODULE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;In my case the output was "xim". But Eclipse expect it to be "ibus". So enter the following command in a terminal session to set it to the value.&lt;/p&gt;</description></item><item><title>Format USB drive after installing Debian from it</title><link>https://www.subhadig.net/posts/format-usb-drive-after-installing-debian-from-it/</link><pubDate>Sat, 01 Dec 2018 00:00:00 +0000</pubDate><guid>https://www.subhadig.net/posts/format-usb-drive-after-installing-debian-from-it/</guid><description>&lt;p&gt;If you have used an USB drive to write iso images to before installing Debian or recent versions of Ubuntu, here are the steps to reclaim it after installation is over.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open a terminal and list the available device names using the following command:

&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;lsblk&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;which should show you an output like the one below:&lt;/p&gt;

&lt;img class="size-full wp-image-1126 aligncenter" src="https://www.subhadig.net/assets/images/fomat_pendrive_1.png" alt="" width="447" height="215" /&gt;&lt;/li&gt;

&lt;li&gt;Identify the device name of your USB drive. Extreme caution should be taken while at it because wrong device names can potentially wipe your entire hard disk. In this case, the USB drive that we want to format is &lt;em&gt;sdb&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Writing the iso image to the USB drive has made it a read-only device. To change it back, the partition table needs to broken. Issue the below command after replacing &lt;em&gt;sdb &lt;/em&gt;with the device name identified in the previous step:

&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo dd &lt;span class="k"&gt;if&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/dev/zero &lt;span class="nv"&gt;of&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/dev/sdb &lt;span class="nv"&gt;bs&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;1M &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; sync&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This step might take some time to complete depending upon the size of the USB drive. So be patient. When it is over, you should see an output like the below:&lt;/p&gt;</description></item><item><title>Creating an unpriviledged lxc container on Debian Stretch</title><link>https://www.subhadig.net/posts/creating-an-unpriviledged-lxc-container-on-debian-stretch/</link><pubDate>Mon, 15 Oct 2018 00:00:00 +0000</pubDate><guid>https://www.subhadig.net/posts/creating-an-unpriviledged-lxc-container-on-debian-stretch/</guid><description>&lt;p&gt;After a few earlier failed attempts, today I was successfully able to create an unprivileged LXC container on Debian Stretch for the first time. I had experience of using LXC's more user friendly cousin LXD before I moved to Debian but unfortunately LXD is not available on Debian yet. While LXC is more low level compared to LXD, if you just need a basic container, it's still pretty solid. The Debian wiki on LXC container is fairly straight forward and easy to follow, but still for someone who is a novice to both Debian and LXC, it is very easy to get lost. So I am writing this post so that it can be a good place to start if you need a very basic setup.&lt;/p&gt;</description></item><item><title>Assigning volume up/down shortcut keys for secondary speaker in Linux</title><link>https://www.subhadig.net/posts/assigning-volume-up-down-shortcut-keys-for-secondary-speaker-in-linux/</link><pubDate>Sun, 30 Sep 2018 00:00:00 +0000</pubDate><guid>https://www.subhadig.net/posts/assigning-volume-up-down-shortcut-keys-for-secondary-speaker-in-linux/</guid><description>&lt;p&gt;I have a wireless Bluetooth speaker that I use with my laptop running Debian 9 with Xfce. My laptop also has a primary speaker. So when I connect my Bluetooth speaker to my laptop, my laptop is actually connected to both the primary and secondary speaker at the same time. The laptop volume up/down keys will still be mapped to the primary speaker and if I wish to control the volume of the secondary speaker, I needed to open the Volume Control window from the Panel volume plugin, which was a pain if you had to do it every time.&lt;/p&gt;</description></item><item><title>Installing the latest Libreoffice on Debian stable</title><link>https://www.subhadig.net/posts/installing-the-latest-libreoffice-on-debian-stable/</link><pubDate>Sun, 23 Sep 2018 00:00:00 +0000</pubDate><guid>https://www.subhadig.net/posts/installing-the-latest-libreoffice-on-debian-stable/</guid><description>&lt;p&gt;One of the few software that I like to keep always updated to the latest version on my system is Libreoffice, because of the compatibility improvements with the other office suite each new version brings. And while Debian Stable provides a solid and stable base system, the libreoffice package becomes outdated with time. A lot of the guides on updating Libreoffice in Debian on the Internet speak about installing the latest binaries from the Libreoffice website. But the main shortcoming with this approach is that updating to the next version is again a manual task.&lt;/p&gt;</description></item><item><title>Install Debian on an unclean target</title><link>https://www.subhadig.net/posts/install-debian-on-an-unclean-target/</link><pubDate>Thu, 13 Sep 2018 00:00:00 +0000</pubDate><guid>https://www.subhadig.net/posts/install-debian-on-an-unclean-target/</guid><description>&lt;p&gt;Recently I had to downgrade my main laptop from Debian testing to Debian stable (Stretch at the time of writing). Since I did not have a separate home partition, re-installation meant formatting the entire partition that would erase all my personal data and settings. But this time I did not want go over the pain of configuring everything from scratch, so I went ahead without formatting my root partition. After a few times of failures and analyzing the installation logs, I learnt the trick.&lt;/p&gt;</description></item><item><title>Installing Debian Testing</title><link>https://www.subhadig.net/posts/installing-debian-testing/</link><pubDate>Sat, 07 Apr 2018 00:00:00 +0000</pubDate><guid>https://www.subhadig.net/posts/installing-debian-testing/</guid><description>&lt;p&gt;After my previous post about &lt;a href="https://subhadipsblog.wordpress.com/2018/02/09/my-rolling-debian-system/"&gt;why I chose Debian Testing as my current distribution&lt;/a&gt;, I wanted to share how I installed and configured Debian Testing. So that somebody out there looking for a guide to install their own Debian rolling system, will have at least a starting point.&lt;/p&gt;

&lt;p&gt;Before I proceed with the post, please know that although I am a long time Linux user, with Debian, I just started my journey a couple of months back. And by no mean I am a seasoned Debian user. So whatever steps I am going to list in this post are the ones that I thought would be best suited for my requirement when I installed it on my system.&lt;/p&gt;</description></item><item><title>My Rolling Debian System</title><link>https://www.subhadig.net/posts/my-rolling-debian-system/</link><pubDate>Fri, 09 Feb 2018 00:00:00 +0000</pubDate><guid>https://www.subhadig.net/posts/my-rolling-debian-system/</guid><description>&lt;p&gt;A few weeks back, I switched my home laptop to Debian and I wanted to write about my reasons behind choosing Debian and my experience with it for the first few days. But before I dive into that, here's a little background about myself. I have been using Ubuntu and later Xubuntu at home and later at office on my Desktop and on my Laptop for more than 7 years now and on the server front, I have worked on both Redhat/Centos and Ubuntu based systems. So I am not new to Linux at all.&lt;/p&gt;</description></item></channel></rss>