Find the answer to your Linux question:
Results 1 to 2 of 2
I am switching oftentimes between Linux installations and evaluate new Linux distros and versions. So I am interested in a really, really global and distribution independent cmd/tool to find out ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2006
    Posts
    5

    Searching really distro-independent cmd to show WinManager and version


    I am switching oftentimes between Linux installations and evaluate new Linux distros and versions.

    So I am interested in a really, really global and distribution independent cmd/tool to find out which Windows Desktop Manager (Unity, GNOME, KDE,Xfce) and version is currently running.

    Some environment variables are set only on certain Desktop Managers on other not.
    Some processes run only on certain distributions - on others not.

    I don't want to fiddle around with dozends of different commands.

    I need a global cmd such as:

    showwinman

    which is available on really all (at least debian (Mint Ubuntu) and redhat (Fedore, CentOS) based) distributions.

    Is there such a cmd?
    A one time-to-install tool would be acceptable.

    Thomas

  2. #2
    drl
    drl is offline
    Linux Engineer drl's Avatar
    Join Date
    Apr 2006
    Location
    Saint Paul, MN, USA / CentOS, Debian, Slackware, {Free, Open, Net}BSD, Solaris
    Posts
    1,288
    Hi.

    Perhaps something like this:
    Code:
    $ version inxi
    inxi 1.9.12-00 (July 2 2013)
    Code:
    $ inxi -S -c 0
    System:    Host: leap Kernel: 2.6.26-2-amd64 x86_64 (64 bit) 
    Desktop: Gnome 2.22.3 Distro: Debian 5.0.8 (lenny workstation)
    Code:
    $ inxi -S -c 0
    System:    Host: vm-fedora Kernel: 3.11.4-201.fc19.x86_64 x86_64 (64 bit) 
               Desktop: KDE 4.11.2 Distro: Fedora release 19 (Schrödinger’s Cat)
    Code:
    $ inxi -S -c 0
     System:    Host: vm-slackware Kernel: 3.2.29 x86_64 (64
     bit) Desktop: KDE 4.8.5 Distro: Slackware 14.0
    Code:
     $ inxi -S -c 0
     Resuming in non X mode: glxinfo not found. For package install
     advice run: inxi --recommends
     System:    Host: vm-ubuntu Kernel: 3.8.0-32-generic x86_64 (64
     bit) Desktop: Xfce 4.10.2 Distro: Ubuntu 12.04 precise
    See:
    inxi - A newer, better system information script for irc, administration, and system troubleshooters. - Google Project Hosting and others that might come up from a Google search.

    Best wishes ... cheers, drl
    Welcome - get the most out of the forum by reading forum basics and guidelines: click here.
    90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
    We look forward to helping you with the challenge of the other 10%.
    ( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •