Re: how to know if I'm using xterm or gnome-terminal?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 23, 2010 at 04:52:32PM -0300, Germán A. Racca wrote:
> Hi all:
> 
> How to know if I'm using an xterm or a gnome-terminal from command line?
> 
> The output of "echo $TERM" is "xterm" from both of them.
> 
> How to know?

James Wilkinson already outlined why most environment variables probably
shouldn't be trusted, so I'll suggest checking the output of
  xprop -id $WINDOWID WM_CLASS

HTH,

Nalin
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux