<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Ashwani Kr. Moudgil</title>
    <description>The latest articles on Forem by Ashwani Kr. Moudgil (@ashwani1330).</description>
    <link>https://forem.com/ashwani1330</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1113405%2F540c34a8-97a7-477d-a71d-657429d0c4f7.jpeg</url>
      <title>Forem: Ashwani Kr. Moudgil</title>
      <link>https://forem.com/ashwani1330</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/ashwani1330"/>
    <language>en</language>
    <item>
      <title>Linux: From Server to Desktop-Environment</title>
      <dc:creator>Ashwani Kr. Moudgil</dc:creator>
      <pubDate>Wed, 08 Nov 2023 06:49:16 +0000</pubDate>
      <link>https://forem.com/iste-vit/linux-from-server-to-desktop-environment-20fc</link>
      <guid>https://forem.com/iste-vit/linux-from-server-to-desktop-environment-20fc</guid>
      <description>&lt;p&gt;Greetings, tech aficionados! Today, we embark on a thrilling exploration: the art of crafting your own operating system. In a landscape often confined by Windows and macOS, Linux emerges as a sanctuary of customization.&lt;/p&gt;

&lt;p&gt;In the Linux universe, you're the &lt;strong&gt;architect of your digital world&lt;/strong&gt;. Unlike Windows' rigidity, Linux empowers you to curate every element of your desktop environment. It's a playground of &lt;strong&gt;modularity&lt;/strong&gt;, offering freedom from predefined components and default settings.&lt;/p&gt;

&lt;p&gt;But Linux isn't just an OS; it's a canvas of diversity and innovation. With endless flavors and desktop environments, it caters to your every desire and preference. Prepare for an exciting journey where you sculpt your &lt;strong&gt;dream operating system&lt;/strong&gt;. Let the Linux adventure commence! 🚀✨&lt;/p&gt;

&lt;h3&gt;
  
  
  Understanding Linux Distributions
&lt;/h3&gt;

&lt;p&gt;Linux comes in various flavors known as distributions or distros. Each distro caters to specific user needs, offering different levels of customization, stability, and support. Popular distributions like Ubuntu, Fedora, Debian, and Arch Linux provide unique features, making Linux accessible for both beginners and advanced users.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Ubuntu&lt;/strong&gt;: User-friendly, suitable for beginners, and widely supported.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fedora&lt;/strong&gt;: Cutting-edge features and great for developers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Debian&lt;/strong&gt;: Stable and reliable, preferred for servers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Arch Linux&lt;/strong&gt;: Highly customizable and favored by Linux enthusiasts.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7gsq7rbstkn28tlfdbn0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7gsq7rbstkn28tlfdbn0.png" alt="Image description" width="750" height="500"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Transitioning from Windows or macOS to Linux
&lt;/h3&gt;

&lt;p&gt;Making the switch to Linux involves learning new tools and workflows. Here are some essential steps to facilitate a smooth transition:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Mastering Basic Terminal Commands&lt;/strong&gt;: Familiarize yourself with fundamental terminal commands. Commands like &lt;code&gt;cd&lt;/code&gt;, &lt;code&gt;ls&lt;/code&gt;, &lt;code&gt;sudo&lt;/code&gt;, and package management commands (&lt;code&gt;apt&lt;/code&gt;, &lt;code&gt;dnf&lt;/code&gt;, &lt;code&gt;pacman&lt;/code&gt;) are invaluable for system management and software installation.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Understanding File System Hierarchy&lt;/strong&gt;: Linux organizes files differently from Windows or macOS. Understand the file system hierarchy, including the &lt;code&gt;/home&lt;/code&gt; directory where user data and configurations are stored.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Embracing Open-Source Software&lt;/strong&gt;: Explore the rich ecosystem of open-source software alternatives available on Linux. LibreOffice, GIMP, and Inkscape are excellent replacements for proprietary applications.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Customizing Your Desktop&lt;/strong&gt;: Linux allows extensive customization. Experiment with themes, icons, and desktop widgets to tailor your desktop environment to your liking.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Our Agenda:
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;In this article, we're going to customize a Fedora Linux server installation, transforming it from a basic server into a fully functional desktop environment tailored to our specific needs!&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h3&gt;
  
  
  Downloading the base server
&lt;/h3&gt;

&lt;p&gt;Site Link: &lt;a href="https://fedoraproject.org/server/download/" rel="noopener noreferrer"&gt;https://fedoraproject.org/server/download/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fromsc42t7rrdffeluyys.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fromsc42t7rrdffeluyys.png" alt="Image description" width="800" height="414"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  For proper server installation guide, I recommend this article:
&lt;/h4&gt;

&lt;p&gt;&lt;a href="https://www.linuxtechi.com/install-fedora-server-step-by-step/" rel="noopener noreferrer"&gt;How to Install Fedora Server 37 Step-by-Step&lt;/a&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  Update your system
&lt;/h3&gt;

&lt;p&gt;Run the command to update your system.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;dnf update 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F44oklmr3jq3cho4gcpbt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F44oklmr3jq3cho4gcpbt.png" alt="Image description" width="800" height="440"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;After successfully updating your newly installed system, it's time to transition from the basic Command Line Interface (CLI) to a more appealing &lt;strong&gt;Graphical User Interface (GUI)&lt;/strong&gt; that can enhance the overall user experience. Nobody wants to be greeted by a plain black screen with a console after logging in, right?&lt;/p&gt;

&lt;p&gt;To achieve this, we can begin with display managers.&lt;br&gt;
 &lt;strong&gt;Display managers&lt;/strong&gt; function similarly to the lock screens or login screens you encounter in operating systems like Windows or macOS. In the X Window System, an X display manager serves as a graphical login manager, initiating a login session on an X server, whether it's on the same computer or a different one.&lt;/p&gt;

&lt;p&gt;A display manager presents the user with a login screen.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GDM (Gnome)&lt;/li&gt;
&lt;li&gt;LightDM (ALL)&lt;/li&gt;
&lt;li&gt;SDDM (KDE)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can go with any display managers and install them but here we are going to install SDDM display manager, a cross-desktop display manager for X11 and Wayland.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;dnf &lt;span class="nb"&gt;install &lt;/span&gt;sddm
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It automatically picks Xorg server, which we are going to use rather than wayland here.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://www.x.org/wiki/" rel="noopener noreferrer"&gt;&lt;strong&gt;Xorg&lt;/strong&gt;&lt;/a&gt; (commonly referred to as simply &lt;strong&gt;X&lt;/strong&gt;) is the most popular &lt;strong&gt;display server&lt;/strong&gt; among Linux users. Its ubiquity has led to making it an ever-present requisite for GUI applications, resulting in massive adoption from most distributions.&lt;br&gt;
For the alternative and successor, see &lt;a href="https://wiki.archlinux.org/title/Wayland" rel="noopener noreferrer"&gt;Wayland&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;A &lt;strong&gt;display server&lt;/strong&gt; is a program which is responsible for the input and output coordination of its clients, to and from the rest of the operating system, and among the hardware and the operating system.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h3&gt;
  
  
  Make the system boot to SDDM rather than the command line server
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;systemctl &lt;span class="nb"&gt;enable &lt;/span&gt;sddm
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Changing from CLI target to a Graphical target
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;systemctl set-default graphical.target
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Config auto-login
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;vi /etc/sddm.conf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;or&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;nano /etc/sddm.conf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;based on the editor of your choice&lt;/p&gt;

&lt;p&gt;Then uncomment the &lt;code&gt;#User&lt;/code&gt; and change it to your username&lt;br&gt;
You can also uncomment the &lt;code&gt;#Session&lt;/code&gt; tag present above the user and set it to the WM or DE you are going to use.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcrte09jbjf1vm3piucsn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcrte09jbjf1vm3piucsn.png" alt="Image description" width="800" height="395"&gt;&lt;/a&gt;&lt;/p&gt;



&lt;p&gt;This command enables us to login to the &lt;strong&gt;SDDM login manager&lt;/strong&gt;, but what comes next? Where do you want to log in? This decision is in your hands, allowing you to tailor your system according to your preferences. You can choose to log into a comprehensive &lt;strong&gt;desktop environment&lt;/strong&gt; or opt for a lightweight &lt;strong&gt;window manager&lt;/strong&gt;, depending on your specific needs and choices.&lt;/p&gt;

&lt;p&gt;For &lt;strong&gt;Linux newcomers&lt;/strong&gt;, desktop environments are recommended because they provide a &lt;strong&gt;familiar user experience&lt;/strong&gt; similar to Windows or macOS. These environments come with &lt;strong&gt;pre-installed essential software&lt;/strong&gt;, including a built-in Bluetooth manager, audio manager, and a comprehensive settings application – features often absent in lightweight window managers.&lt;/p&gt;

&lt;p&gt;If you're feeling adventurous and curious about setting up and customizing a window manager, you're welcome to explore that path. However, for now, we'll be focusing on &lt;strong&gt;user-friendly desktop environments&lt;/strong&gt;, perfect for beginners.&lt;/p&gt;
&lt;h3&gt;
  
  
  Exploring Different Desktop Environments
&lt;/h3&gt;

&lt;p&gt;Unlike Windows and macOS, Linux allows users to choose from various desktop environments, altering the look, feel, and functionality of the system. You can list available desktop environments using the default package manager, &lt;code&gt;dnf&lt;/code&gt;. In a terminal use the &lt;code&gt;dnf group list&lt;/code&gt; command to list all available desktop environments:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dnf group list &lt;span class="nt"&gt;--available&lt;/span&gt; &lt;span class="k"&gt;*&lt;/span&gt;desktop
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Some popular desktop environments include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;GNOME: Modern and user-friendly, ideal for beginners&lt;/strong&gt;.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F49b2zh708hbvfim8a2sz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F49b2zh708hbvfim8a2sz.png" alt="Image description" width="800" height="515"&gt;&lt;/a&gt;To install:&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;dnf group &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="s2"&gt;"GNOME Desktop Environment"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;/ul&gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;KDE Plasma: Feature-rich and highly customizable, suitable for power users&lt;/strong&gt;.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9ixny26xgca8h03yy0y5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9ixny26xgca8h03yy0y5.png" alt="Image description" width="800" height="451"&gt;&lt;/a&gt;To install:&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;dnf group &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="s2"&gt;"KDE (K Desktop Environment)"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;/ul&gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;XFCE: Lightweight and fast, perfect for older hardware&lt;/strong&gt;.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flxq75woctcydptyow7fc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flxq75woctcydptyow7fc.png" alt="Image description" width="800" height="450"&gt;&lt;/a&gt;To install:&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;dnf group &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="s2"&gt;"Xfce Desktop"&lt;/span&gt;  
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;/ul&gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;Cinnamon: Intuitive and reminiscent of traditional desktop layouts&lt;/strong&gt;.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwrcx519o6thrnr76bhie.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwrcx519o6thrnr76bhie.png" alt="Image description" width="800" height="499"&gt;&lt;/a&gt;To install:&lt;br&gt;
&lt;/p&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;dnf group &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-y&lt;/span&gt; &lt;span class="s2"&gt;"Cinnamon Desktop"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;After successfully setting up your Desktop Environment, it's time to reboot and enter your freshly installed system. Adapting to the new user interface might require some time, but soon enough, you'll find delight in navigating your new system.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Tip:&lt;br&gt;
You can install more than one desktop-environment and window-managers in a system and switch them form your login-manager.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In the vast realm of Linux, the fusion of power and freedom awaits you. Once you've installed your preferred environment, you can enhance your desktop experience by tailoring themes, fonts, sounds, package managers, and software to your liking. Linux provides &lt;strong&gt;unparalleled flexibility&lt;/strong&gt;, allowing you to not only customize the visual aspects but also modify the entire spectrum of functionality. With the aid of extensions, your desktop experience can be elevated to new heights as you explore the endless possibilities and expand your expertise.&lt;/p&gt;

&lt;h5&gt;
  
  
  Happy Linuxing!
&lt;/h5&gt;

</description>
      <category>linux</category>
    </item>
  </channel>
</rss>
