Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 1818  / 2 Years ago, tue, november 8, 2022, 2:00:09

This is how all happened. I was trying to search good screen recorder and found on some website that recordMyDesktop will work well under GNOME *Shell. So I tried searching in google "how to find whether I'm using gnome shell". The first link directed me to official gnome wesite there it showed a message as below.
enter image description here So I thought it is something to do with desktop environment and continue browsing as below.



In this question I tried first answer to find my desktop environment, but the command DESKTOP_SESSION gave me "command not found". So I tried 5th answer by Nadiw. The command and output are as below.



ls /usr/bin/*session
/usr/bin/ck-launch-session /usr/bin/gnome-session


So it is confirmed I'm using GNOME but it is not showing as desktop environment instead its showing "session", by which I got confused.



Hence I tried third answer by Luis Alvarado from this post. The command and output are as below



echo $XDG_CURRENT_DESKTOP
Unity


Now I found this totally irrelevant. My questions are




  1. If the desktop environment is Unity how can it use a session of GNOME and GNOME shell.


  2. How GNOME shell is different from bourne shell, t shell and others


  3. Or if one of the outputs I'm getting is wrong? Then how to find which DE i'm using? And which is the default DE for Ubuntu 14.04.


  4. On which of these factors I should depend while downloading a software? Whether it is Desktop Environment or session or shell?



More From » 14.04

 Answers
1

DESKTOP_SESSION is not a command, it's a variable. You can do echo $DESKTOP_SESSION to see what the value is, just like with XDG_CURRENT_DESKTOP:



$ echo $DESKTOP_SESSION 
gnome
$ echo $XDG_DESKTOP_SESSION

$ echo $XDG_CURRENT_DESKTOP
GNOME


(I'm using GNOME Shell. Yes, I did not get any output for XDG_DESKTOP_SESSION. This is a known bug.)



This output is not irrelevant:



$ echo $XDG_CURRENT_DESKTOP
Unity


It is the most relevant bit of information you have, that you are running the Unity shell.




  1. To install Gnome Shell:



    sudo apt-get install gnome-shell


    See the third of the reference links for screenshots for selecting Gnome Shell.


  2. The interface, the part that you interact with, is called a shell. The Bourne shell and other classic shells are command line shells. Gnome Shell, Unity, etc. are graphical shells.

  3. The default Desktop Environment for Ubuntu is GNOME 3, with the Unity shell and other modifications. Because the base is GNOME, you'll see some output which is true for GNOME Shell as well, for the various tests.

  4. Usually, none. The answer to this is very complicated and application-dependent. Have a look at the fifth linked question.



As for the browser error, if it persists after you start using Gnome Shell, see the FAQ.



Also see:




  1. What is the relationship between Unity, Gnome, Gnome 3, Compiz, Metacity, and LightDM?

  2. What kinds of desktop environments and shells are available?

  3. How do I install and use the latest version of GNOME?

  4. What is the default desktop environment for Ubuntu 13.10?

  5. When installing packages (particularly those with graphical UIs) how do you determine which is fitting for your distribution?


[#23141] Wednesday, November 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ingsta

Total Points: 391
Total Questions: 103
Total Answers: 124

Location: Bonaire
Member since Wed, Mar 29, 2023
1 Year ago
ingsta questions
Sun, Oct 23, 22, 01:42, 2 Years ago
Sat, Oct 30, 21, 11:27, 3 Years ago
Sun, Nov 28, 21, 12:49, 2 Years ago
;