PDA

View Full Version : [all variants] can't set xterm icon



jworr
December 5th, 2008, 10:09 PM
I've been trying to set the icon for my xterm icon with this in my .Xdefaults file:

xterm*iconPixmap:/home/jworr/icons/terminal.xbm
xterm*iconMask:/home/jworr/icons/terminal-mask.xbm

however I get this warning upon starting xterm:

Warning: Cannot convert string "/home/jworr/icons/terminal.xbm" to type Pixmap
Warning: Cannot convert string "/home/jworr/icons/terminal-mask.xbm" to type Pixmap


does anyone know how to fix this?

kerry_s
December 5th, 2008, 11:02 PM
I've been trying to set the icon for my xterm icon with this in my .Xdefaults file:

xterm*iconPixmap:/home/jworr/icons/terminal.xbm
xterm*iconMask:/home/jworr/icons/terminal-mask.xbm

however I get this warning upon starting xterm:

Warning: Cannot convert string "/home/jworr/icons/terminal.xbm" to type Pixmap
Warning: Cannot convert string "/home/jworr/icons/terminal-mask.xbm" to type Pixmap


does anyone know how to fix this?

use a pixmap icon?
open your terminal.xbm(bitmap) with gimp, choose save as and select pixmap. it should then be terminal.xpm which is pixmap.

PhilipGanchev
May 8th, 2009, 09:00 PM
The same thing happens:

$ file /usr/share/pixmaps/gnome-terminal.xpm
/usr/share/pixmaps/gnome-terminal.xpm: X pixmap image text

$ cat >> ~/.Xresources
xterm*iconPixmap:/usr/share/pixmaps/gnome-terminal.xpm
^C

$ xrdb -merge ~/.Xresources

$ xterm
Warning: Cannot convert string "/usr/share/pixmaps/gnome-terminal.xpm" to type Pixmap

PhilipGanchev
September 26th, 2010, 05:54 AM
Any more ideas??