Results 1 to 7 of 7

Thread: xterm help

  1. #1
    Join Date
    Sep 2008
    Location
    Ohio
    Beans
    582

    xterm help

    I would like to know what the difference between XTerm and xterm in an .Xdefaults file are. I would also like to know how I keep my .Xdefault settings upon reboot. Forgive me if this has already been listed, but some reason I've been having the hardest time finding these answers and have been searching for a couple days.

  2. #2
    Join Date
    Nov 2009
    Beans
    67

    Re: xterm help

    "XTerm" is the resource classname, and "xterm" is the application name.
    The latter can change, for instance by renaming the executable.
    The classname can be overridden using the -class option as noted in
    xterm's manpage.

  3. #3
    Join Date
    Feb 2010
    Location
    Silicon Valley
    Beans
    1,898
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: xterm help

    Quote Originally Posted by brandon88tube View Post
    I would also like to know how I keep my .Xdefault settings upon reboot.
    Try renaming your .Xdefaults file to .Xresources.

  4. #4
    Join Date
    Sep 2008
    Location
    Ohio
    Beans
    582

    Re: xterm help

    Quote Originally Posted by itcotbtoemik View Post
    "XTerm" is the resource classname, and "xterm" is the application name.
    The latter can change, for instance by renaming the executable.
    The classname can be overridden using the -class option as noted in
    xterm's manpage.
    You kind of lost me. Could you explain a little more in detail as in what instances I would use one over the other?

  5. #5
    Join Date
    Sep 2008
    Location
    Ohio
    Beans
    582

    Re: xterm help

    Quote Originally Posted by gmargo View Post
    Try renaming your .Xdefaults file to .Xresources.
    That worked. Thanks.


    So could anyone explain a little more in detail when I would use XTerm over xterm in my .Xresources file?

  6. #6
    Join Date
    Feb 2010
    Location
    Silicon Valley
    Beans
    1,898
    Distro
    Xubuntu 12.04 Precise Pangolin

    Re: xterm help

    For better explanation on X class vs instance specifications, see the X(7) man page [from xorg-docs package; xorg-docs-core package on Karmic].

    Also: http://www.linuxdocs.org/HOWTOs/XWin...r-HOWTO-8.html

  7. #7
    Join Date
    Nov 2009
    Beans
    67

    Re: xterm help

    Classes override instance names. You'd use a class if you
    want to ensure that all instances get the same value.
    Most X applications have a fixed classname; xterm has
    a -class option to override. It also has (more common)
    a -name option to override the instance name.

Tags for this Thread

Bookmarks

Posting Permissions

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