You are not logged in.
Pages: 1
1. Where are the standard icons tint2 uses? I can't find them.
2. How do I use this option of rxvt? It doesn't work with the image file location/name
man urxvt | grep icon
-icon file
Compile afterimage: Use the specified image as application icon. This is
application window; resource iconFile.
`*' characters. Also sets the icon and title name.
I would like to start by keystroke e.g. mutt in urxvt with a specified icon, which also should be used by tint2. Is that possible? WM is xmonad.
Last edited by jrs (2010-11-08 13:32:50)
Offline
For tint2, which icons do you want to change? Different apps may have their icons in different folders.
Offline
Thanks for the reply. Most importantly I want to change the icon of urxvt. I already tried the -name argument, but it didnt change anything in tint2. There is an icon in /usr/share/pixmaps/rxvt-unicode.png, but in tint2 only the standard icon is used. It would be perfect if i could change it by a cmd line argument of urxvt or a script.
Offline
Have you tried rxvt-unicode-afterimage?
http://aur.archlinux.org/packages.php?ID=21329
Its marked out of date though.
Offline
I couldnt install it because the libafterimage source is not available.
As far as I understand, the app itself decides which icon will be used, if it's from the icon theme or a fixed icon, am I right?
But why doesnt tint2 use a specific icon for xterm and rxvt? As far as I remember, gnome-panel uses the icon from /usr/share/pixmaps
Offline
tint2 search the icon like this :
- first, tint2 ask the Window Manager if there is an icon (see freedesktop specification _NET_WM_ICON)
- second, tint2 try XGetWMHints.icon_pixmap (see ICCCM specification)
- third, tint2 use it's own default icon located in /usr/share/tint2/default_icon.png
tint2 try to follow the standard specification and doesn't duplicate the job that sould be done by the application.
it's up to the application to define the icon (and eventually the theme) to be used.
however, it's possible tint2 have some bug doing this... will have a look.
Last edited by thil77 (2010-11-07 19:18:50)
Offline
To set the icon of any X11 app you can use xseticon (AUR).
EDIT: This is particularly easy to do with terminals as they set the environment variable $WINDOWID, making it easy to call xseticon in your .bashrc. See the help/usage output of xseticon for more info.
Last edited by quigybo (2010-11-08 08:12:50)
Offline
Exactly what I needed!
Thanks for the explanation thil77
Offline
Pages: 1