+ Reply to Thread
Results 1 to 3 of 3

Setting the icon for an xterm from the command line

  1. Setting the icon for an xterm from the command line

    I would like to be able to specify a specific icon for some xterms that
    I start.

    When I type:
    xterm -xrm '*iconName: /vol/museprd/xref/icons/ChIMP.xbm'
    I get the default xterm icon.

    However, if I use the mini-utility xseticon (something posted to usenet
    about 7 yrs ago), it can dynamically set the icon of the xterm at that
    point.
    So I know the icon file is okay.
    So, what is the magic incantation for the command line...


  2. Re: Setting the icon for an xterm from the command line

    On 20 Jan 2005 11:15:49 -0800, Larry Virden wrote:
    > I would like to be able to specify a specific icon for some xterms that
    > I start.
    >
    > When I type:
    > xterm -xrm '*iconName: /vol/museprd/xref/icons/ChIMP.xbm'
    > I get the default xterm icon.
    >
    > However, if I use the mini-utility xseticon (something posted to usenet
    > about 7 yrs ago), it can dynamically set the icon of the xterm at that
    > point.
    > So I know the icon file is okay.
    > So, what is the magic incantation for the command line...


    Any particular OS and/or window manager?


  3. Re: Setting the icon for an xterm from the command line

    Quote Originally Posted by Database Administrator View Post
    When I type:
    Code:
    xterm -xrm '*iconName: /vol/museprd/xref/icons/ChIMP.xbm'
    I get the default xterm icon.
    The resource you should be setting is named iconPixmap. Try this:
    Code:
    xterm -xrm '*iconPixmap: /vol/museprd/xref/icons/ChIMP.xbm'
    BTW, the standard Athena widgets don't support color pixmaps (XBMs are black-and-white). But, if you switch to ://www.efalk.or you can use XPMs, which can have color. Note also, that, if you chose an picture with transparent background, the icon's background will be that of the xterm itself (what you specify with the -bg option, for example).

+ Reply to Thread