LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 12-29-2018, 04:14 PM   #1
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Rep: Reputation: 21
Identify Version


How do I identify the version of mint? I am running live 32bit session. I want to know if it is Cinnamon, Mate, or XFCE. Disk may be mis labeled. Already ran:
hostnamectl
uname -mrs
cat /proc/version They do not specify whether Cinnamon, Mate, etc.

Last edited by borgward; 12-30-2018 at 07:58 AM. Reason: Solved
 
Old 12-29-2018, 04:37 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Try:
echo $XDG_CURRENT_DESKTOP
 
Old 12-29-2018, 04:55 PM   #3
average_user
Member
 
Registered: Dec 2010
Location: Warsaw, Poland
Distribution: Slackware
Posts: 560

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by borgward View Post
How do I identify the version of mint? I am running live 32bit session. I want to know if it is Cinnamon, Mate, or XFCE. Disk may be mis labeled. Already ran:
hostnamectl
uname -mrs
cat /proc/version They do not specify whether Cinnamon, Mate, etc.
The last two won't definitely give you the information you're looking for as they refer to kernel version. For example, see kernel/utsname_sysctl.c for an implementation of /proc/version in Linux source code:
Code:
	{
		.procname	= "version",
		.data		= init_uts_ns.name.version,
		.maxlen		= sizeof(init_uts_ns.name.version),
		.mode		= 0444,
		.proc_handler	= proc_do_uts_string,
	},
 
Old 12-29-2018, 07:25 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
If you have a fairly up-to-date version of inxi installed, an alternative is:

Code:
inxi -S
 
Old 12-29-2018, 08:39 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
I find that this usually works:

Code:
cat /etc/*release*
It's sort of a catchall (that's the reason for the wildcards), but it hasn't failed me yet.

Sometimes, this also works:

Code:
cat /etc/*issue*
 
Old 12-30-2018, 07:58 AM   #6
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Original Poster
Rep: Reputation: 21
Both of the following worked.

echo $XDG_CURRENT_DESKTOP

inxi -S
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Identify PCI and USB Wired and Wireless Driver in Linux – Identify PCI Driver. Ubuntu, Debian, LXer Syndicated Linux News 0 08-20-2014 07:21 AM
Identify machine and raid version with command line riderryuken Linux - Newbie 3 03-15-2011 09:13 AM
How to read "identify" button press event, or state of "identify" blue led with IPMI? iav Linux - Server 0 01-27-2009 01:13 PM
How do I identify what version release of Linux I have installed? ddclutch Linux - Newbie 7 12-14-2008 04:43 AM
How to identify Slackware version by examining an installed system? beyondPCs Slackware 1 09-15-2008 07:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 01:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration