The Wayback Machine - https://web.archive.org/web/20241120173754/https://www.geeksforgeeks.org/difference-between-desktop-environment-vs-window-manager-in-linux/
Open In App

Difference Between Desktop Environment VS Window Manager in Linux

Last Updated : 02 Jun, 2022
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

If you are a Linux user, you must have heard of the term Desktop Environment. It is one of the deciding factors when choosing a Linux distribution. There is something else that is comparatively less known among beginners, it is a Window manager. In this article, we will understand both of them, and see how do they compare with each other.

What is a Desktop Environment?

Desktop Environment is a suite of applications and programs that make a Linux distribution graphically usable. It packs in different components like the taskbar, start menu, widgets, file manager, screen locker, theme manager, terminal emulator, and a lot more. 

Different desktop environments have different sets of these components and all those components and programs have a similar look and feel which collectively build the unique look of a desktop environment. For example, KDE comes with (the Konsole Terminal emulator and Dolphin File manager) whereas xfce comes with (xfce Terminal emulator and Thunar file manager). Different desktop environments are built for different purposes, like xfce is meant to be a lightweight Desktop environment and thus comes with lightweight programs and utilities, KDE is developed to be highly customizable, whereas CInnamon is meant to look modern and have a good user experience, thus having modern-looking programs. 

KDE Desktop Environment

Cinnamon Desktop Environment

The desktop environment also comes with its own Window Manager. So window manager is a part of a Desktop Environment. Now, let’s understand what a window manager is. 

What is a window manager?

A window manager is software that is responsible for the creation and placement of windows applications. It controls how different windows stack along with each other on a single screen. It gives every application window a title bar and border by which a user can resize and reposition the window. As we have seen, it comes bundled with a desktop environment. But if it is a part of the desktop environment, how can it possibly be a replacement for the desktop environment? The thing is, you can install a window manager without a desktop environment, but then, you will have to install other essential components yourself, like a file manager, terminal emulator, menu bar, etc. Essentially you would be building up your own unique environment if you were to use a standalone window manager. If you decide to go down that road, you have a lot of options to choose from. They are categorized into two parts.

  1. Tiling Window manager: They tile the windows around each other on a screen, like tiles on a floor or pieces of a puzzle. Each new window that is created, gets its own rectangular share of the screen and does not overlap with other windows. Some famous tiling window managers are i3, bspwm, dwm, and awesome.
  2. Stacking Window manager: They allow windows to overlap. They are most commonly used and are used by all major desktop environments. They are also called floating window managers. Some famous stacking managers are Fluxbox, Openbox, and KWin.

i3 WIndow manager

dwm window manager

Why would you use a window manager?

Using a standalone window manager has some use-cases and advantages over using a Desktop environment such as

  • Saving Resources: Using a window manager uses fewer resources than a Desktop environment. Even lightweight desktop environments like xfce use more resources than a standalone window manager. 
  • Customization: Unlike the desktop environment, window manager does not come with essential software like a menu bar, file manager, etc. So you can install whatever option you like for basic utilities, such as a file manager. You can do the same with a desktop environment, but the difference here is that you can choose not to have a component altogether. For example, you can decide not to have a calendar app at all. This saves up space and during the process of installing all the required components, you automatically do not install all the stuff that you do not require. This makes it minimal as well.
  • Faster workflow: Setting up a window manager along with installing and configuring all the required utilities and components require time. But once done, the setup can prove to be more efficient than a traditional desktop environment. Also, a lot of window managers offers the user a lot of keyboard shortcut. Learning them can save a lot of time.

So, using a window manager is all cool and fast and, efficient. But should you use a window manager and invest the time to set it up and get used to using it? Well, it’s not for everyone.

Advantages of using a Desktop Environment

Desktop environments are there for a reason, depending upon your use case and priorities, you can choose one for yourself.

  • They are user friendly,
  • Require less time to set up,
  • Are easy to customize as they give the option to tweak the settings within the desktop environment itself,
  • Come in different options and with different distributions, ready to install.

Which one should you choose and why

If you are looking to get started quickly, do not want to deal with the hassle of setting up a window manager, like the complete ecosystem of a desktop environment, or are just a beginner, sticking with a desktop environment might be the right option for you. On the other hand, if you are using a desktop environment for some time, and you feel that your desktop is bloated and you crave something minimal and fast, or you have a low-end PC and you want to save some resources for your system to have some overhead, go and gladly use a window manager, the journey is rewarding and beautiful. 

Conclusion

In this article, we learned about both, desktop environment and window manager, their advantages, and use cases. Linux can be used without both, just with a command-line interface, but we have the option to install a desktop environment or a window manager standalone or none at all, the choice will depend on the use case and the user’s preference. If you are looking to familiarize yourself with Linux, setting up a window manager can be a good learning journey.



Similar Reads

Difference between window.location.href, window.location.replace and window.location.assign in JavaScript
Window.location is a property that returns a Location object with information about the document's current location. This Location object represents the location (URL) of the object it is linked to i.e. holds all the information about the current document location (host, href, port, protocol, etc.) All three commands are used to redirect the page t
4 min read
How to Change Your Theme in Gnome Desktop Environment?
GNOME is a fairly simple and streamlined Linux graphical user interface (GUI). It provides a unique desktop experience. GNOME should suit you well if you are looking for a different and modern user interface design. GNOME desktop environment (DE) is extremely intuitive and easy to use. It is the default DE in many popular Linux distros like Ubuntu,
2 min read
How to Install i3 Window Manager in Linux?
In this article, we will see How to install i3 windows manager in Linux. i3 window manager is a tiling window manager for advanced users and developers. It is extremely lightweight and fast. It is a text-oriented and keyboard-oriented window manager. It is an easy and quick way to switch between workspaces. Features: It is a simple and lightweight
2 min read
Difference between window.onkeypress and window.document.body.onkeypress
The onkeypress event can be triggered in JavaScript using both: window.onkeypresswindow.document.body.onkeypress To understand the difference between the two we need to have a look at the HTML DOM (Document Object Model): DOM is a model that represents the HTML document as a tree structure.The tree structure has the root node as a Document object.O
2 min read
How to Create GUI Applications Under Linux Desktop Using PyGObject
The creation of applications in Linux can be done through various methods. But, the most efficient way of creating a GUI application in Linux can be done through PyGObject in Python. PyGObject is the next generation from the PyGTK library in Python, we can say that PyGObject = Python + GTK3. So, in this article, we will be creating a GUI applicatio
6 min read
How To Install KDE Plasma Desktop on Linux Mint
KDE Plasma graphical workspaces environment was created by KDE primarily for Linux systems. It is a very popular open community desktop environment designed to be powerful, simple, and customizable to suit user demands without compromising freedom and privacy. Plasma comes with plenty of free applications that enable you to perform your day-to-day
3 min read
How to kill processes on the Linux Desktop with xkill
xkill is a command-line utility that can kill the undesired windows on the user's screen. Basically, xkill force the X server to close the connection to the client. This utility kills the programs without providing PID with a command. Now let's see how to install the xkill on the systems. Installation of xkill The xkill utility comes with the packa
4 min read
How to get ChatGPT Desktop Application on Ubuntu Linux
ChatGPT is an AI-powered chatbot developed by OpenAI, which can give answers to a wide range of complex and difficult questions and also can provide personalized responses to the user. The ChatGPT Desktop application is one of the convenient ways to access the ChatBot on Ubuntu Linux that allows users to interact with ChatGPT without the need for a
2 min read
Install XFCE Desktop on Arch Linux
Lightweight and highly configurable, Arch Linux is a popular Linux distribution that prides itself on its flexibility and simplicity. It provides a basic minimal installation, but users can tailor their systems to suit their requirements. XFCE is a well-liked desktop environment for Arch Linux that is well-known for its effectiveness, ease of use,
5 min read
9 Best Linux Desktop Environments That You Can Use
Desktop environments contain many GUI elements, including wallpapers, toolbars, icons, desktop widgets, etc. If you are a Linux user, you can explore various desktop environments to tweak your GUI, like Windows and macOS. Today, more than 47% of developers are using Linux OS and the market share is growing at a rapid pace. Besides this, it has over
6 min read
Difference between Cloud Accounting and Desktop Accounting
1. Cloud Accounting : In cloud accounting both the accounting system and business data is stored in the cloud means on internet. It is a cloud based approach of performing accounting activities. It is a newer concept and it is based on cloud computing. It provides more number of features to user than the desktop accounting. Advantages of Cloud Acco
3 min read
Difference between Desktop publishing (DTP) and Word Processor Software
1. Word processing Software :Word processing software is a type of computer software application or an electronic device that has become very important in today's generation. This software is running on general-purpose computers. So, word processing software is a kind of processor that provides the basic editing, input, formatting, and output of th
3 min read
Difference between Desktop and Laptop
In today's time, computers have become an integral part of our life. You can't imagine today's world without computers. Computers contribute to various fields like education, business, science and technology, exploration, communication, problem-solving, artificial intelligence, machine learning, etc. For various purposes we have different types of
4 min read
How to Manage KVM Virtual Environment using Command Line Tools in Linux
KVM, short for Kernel-based Virtual Machine, is a complete virtualization solution for Linux running on x86 hardware (Intel VT or AMD-V). Since version 2.6.20, the mainline Linux kernel has featured KVM, a complete virtualization solution for Linux running on Intel 64 and AMD 64 hardware that is fast and stable for the majority of workloads. It con
8 min read
How to Delete an Exported Environment Variable in Shell in Linux
A variable is the basic building block that stores a value in a specific memory location, and any operation performed on the variable affects that memory location. Values ​​stored in variables can be changed or deleted during program execution. Environment variables are the variables whose value is set globally in the program and can be inherited b
3 min read
How to Pass Command Line Arguments to GDB in a Linux Environment?
The GNU Debugger, commonly known as GDB, is a powerful tool used for debugging and analyzing programs in Linux and other Unix-like operating systems. While GDB is commonly used to debug programs, it can also be used to launch programs with specific command line arguments. This article will walk you through the process of passing command line argume
6 min read
Environment Variables in Linux/Unix
Environment variables, often referred to as ENVs, are dynamic values that wield significant influence over the behavior of programs and processes in the Linux operating system. These variables serve as a means to convey essential information to software and shape how they interact with the environment. Every Linux process is associated with a set o
6 min read
Difference Between Environment and Ecology
The environment is simply the surrounding in which we live, along with other living and non-living components. These components interact with each other and their surroundings in some form. The scientific study that deals with such relationships and interactions is called Ecology. What is Environment?By definition, the environment is the integratio
4 min read
Using Synaptic Package Manager to Download a Package in Linux
Synaptic package manager is GTK-based graphical user interface based on Advanced Package Tool, or APT for download or removes packages on Debian based system like Ubuntu. We can download packages by using the apt command, but the GUI interface is always user-friendly and easy to use. To install synaptic package manager run the following command on
3 min read
sysget - Front-End For Every Package Manager in Linux
There are lots of package managers for various Linux distros, for example, apt (Ubuntu), yum (legacy Fedora), dnf (Fedora) but remembering them all is quite a headache. So for that reason, there is a utility called sysget, which is a front-end for every package manager in Unix-like operating systems. So that you don't need to learn about every pack
2 min read
How to Uninstall Packages With Apt Package Manager in Linux
The apt command is a sophisticated command-line tool that interacts with Ubuntu's Advanced Packaging Tool (APT) to execute tasks including installing new software packages, updating the package list index, and even upgrading the whole Ubuntu system. Along with this, we can uninstall or remove the downloaded packages from the system. So in this arti
2 min read
Nix - The Purely Functional Package Manager for Linux
Nix is a purely functional package manager for Linux, that serves to provide a purely functional approach to any system's software package management. Due to its functional and declarative approach, it is lauded for its capacity to: Support the installation of multiple versions of a given package.Enable atomic upgrades and rollbacks of a given pack
5 min read
How to Install a New Package Manager in Linux
Linux offers several package managers for software installation, updates, and maintenance. In Linux, every distribution comes with a package manager by default. The Debian distribution comes with APT(Advanced Package Tool), Red Hat, and its derivatives such as CentOS and Fedora use YUM package management.However, there may be cases when you need to
4 min read
Difference Between Arch Linux and Kali Linux
Arch Linux is an open-source Linux-based Operating System that is freely available for use. It belongs to the Pacman-based Linux family. It is a light weighted OS for daily use and could even be used by professionals. It was first released in March 2002. It is a beginner-friendly Linux Operating System. Features of Arch Linux: Minimalist approach:
4 min read
Difference between Stop and Wait protocol and Sliding Window protocol
Both the Stop and Wait protocol and the Sliding Window protocol are the techniques to the solution of flow control handling. The main difference between the Stop-and-wait protocol and the Sliding window protocol is that in the Stop-and-Wait Protocol, the sender sends one frame and waits for acknowledgment from the receiver whereas in the sliding wi
5 min read
Create Desktop Shortcuts Using The Terminal on Ubuntu
Ubuntu is the most popular Linux distribution based on Debian. Linux is always tricky to use. We can easily create a Desktop shortcut for our files, folders, and installed software easily on Windows or Mac but on Ubuntu, it needs some work. In this article, we are going to discuss how to create a desktop shortcut for an installed application and fi
2 min read
How to install OnlyOffice Desktop Editors on ubuntu
OnlyOffice (previously TeamLab), styled as ONLYOFFICE, is a free software office suite created by Ascensio System SIA, a Latvian firm. Online document editors, a document management platform, corporate communication, mail, and project management tools are all included.OnlyOffice is available as a SaaS or as a standalone installation for use on a pr
2 min read
Change Desktop Background in ubuntu
As a Linux enthusiast looking to personalize your Linux system with a more visually appealing and captivating appearance, your first step can involve customizing your desktop wallpaper or background. A well-chosen wallpaper has the ability to captivate our attention and enhance the overall aesthetic of the desktop. In this context, we'll explore va
5 min read
Enabling Remote Desktop and SSH access to Kali
Remote access and control of computers is a key feature in modern connected and internet-based societies especially in the field of information technology and cybersecurity for working from home. Some of the most influential protocols that make this possible include the remote desktop and SSH which have truly transformed the way we operate computer
5 min read
Installing a Gnome Desktop Extension in Ubuntu
GNOME Desktop Extensions are small, useful tools that can add a variety of features and functionalities to your GNOME desktop environment. These extensions can help you customize the appearance, add new functionalities, and improve your overall user experience. Whether you want to add a weather indicator, change the look of your desktop, or improve
5 min read
three90RightbarBannerImg