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@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to