Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Comments on What desktop environment am I running?

Parent

What desktop environment am I running?

+3
−0

I'm a complete beginner, and just installed Linux for the first time. I chose a popular distribution, but I've run into some issues, or have a few questions. However, I don't know if I have Gnome, Xfce, Cinnamon, Cosmic, or another desktop environment. How do I figure that out?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

2 comment threads

Window manager vs. desktop environment (2 comments)
Not for myself (1 comment)
Show more
Post
+3
−0

By memory

If you installed Linux yourself, then you were almost certainly informed about this at some point in the process. Generally, you're either expected to choose a separate installer according to which desktop environment you want, or you don't get a choice and the desktop environment is just the one that your distro provides.

For example, when you go to any of the download or installation pages for Linux Mint (popular with beginners), you're expected to choose between the "Cinnamon edition", "Mate edition" and "XFCE edition" - those are named for the desktop environment they provide - or, in some cases, if you have newer hardware, the "Edge ISO" with a more recent Linux kernel. The Edge ISO uses Cinnamon and is described that way on the downloads page.

Of course, it's possible to install a different desktop environment later. But if you're in this position, you wouldn't need to ask the question.

From the command line

The inxi command can show a lot of information about how your system is configured:

inxi is a command line system information script built for console and IRC. It is also used a debugging tool for forum technical support to quickly ascertain users' system configurations and hardware. inxi shows system hardware, CPU, drivers, Xorg, Desktop, Kernel, gcc version(s), Processes, RAM usage, and a wide variety of other useful information.

Information about desktop environments is accessed using the -S (or --system) flag. Additional information is available with more flags, but this is already enough. Just use

inxi -S

and you should see a few lines of output that include your desktop environment, labelled as Desktop:.

Another option is to use a "fetch" program such as neofetch (you may have to install one first). Typically these display more neatly formatted information designed to fill one screen of terminal output, and might include a logo that represents your distro.

Finally (thanks to samcarter for the idea), desktop environments (or the corresponding window managers) might set environment variables that can be used to "fingerprint" them. In particular, many desktop environments support the "X Desktop Group" (XDG) standard, in which case you may be able to do a check like:

$ echo $XDG_CURRENT_DESKTOP 
X-Cinnamon

Other tools

Depending on your distro, you may also have GUI tools included that provide system information, including the name of the desktop environment. For example on Linux Mint, the "System Reports" program (also called mintReport) has a "System information" tab which you can click to see detailed system info (it grabs detailed output from inxi and displays it in a scrollable text panel). The "System" section of inxi output will be at the top, so you can read the desktop environment information immediately. There's also, separately, a "System Info" program that displays a different set of information, more directly; this also includes the desktop environment info.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

`inxi` is not available by default (1 comment)
`inxi` is not available by default

At least on Pop!_OS, inxi is not available by default, and has to be installed with sudo apt install inxi