Hai, though i am 70% confirmed in using GNOME environment, but bit doubtful regarding, “Whether iam using Gnome or Kde desktop environment in Fedora 14″
To check it, did a bit surfing and confirmed with GNOME.
You can verify it using gui or terminal
Using GUI:
On Fedora, form the top panel click on System -> About this Computer. Now you can see GNOME or KDE with its version number
On Ubuntu, you can find directly as System -> About GNOME or System -> About KDE
Using Terminal:
Type the following command in the terminal.
echo $DESKTOP_SESSION
You can see the output as gnome (if gnome present) or kde (if kde present)
Click here for the source
Thanks for this, I can not edit my .bashrc to call the appropriate terminal emulator for the desktop that I am using at the moment!
Not really sure this would work in all cases. Under Ubuntu 12.04, result of the command is “Ubuntu” and not Gnome or KDE…
It gives me the session manager’s name, in my case lightdm.. And, before using lightdm I have used kdm with Gnome DE.. Tomorrow I may run SLIM.
I would like to create a conky conf file that reads it.