You are not logged in.
I've read all the stuff I can find about this, and I have had no luck.
Urxvt doesn't have an icon it's just a blank box where the icon should be. (Alt-tab, on the window border, etc.)
Any ideas?
Offline
it's the same thing for all of us, it just means that urxvt doesnt have any icon. It's that simple.
Last edited by froli (2008-10-08 15:32:49)
archlinux on Macbook Pro 10,1
Offline
Well is there a way to add one to it?
Offline
Well is there a way to add one to it?
Probably; the method is going to depend on your window manager/desktop environment/file manager of choice, however. If you could post that info., I'm sure somebody should be able to come up with something for ya.
Offline
Hm, ok.
WM: Openbox
FM: Thunar
Offline
Did you ever get a solution? I'm in the exact same place.
Offline
The icon is defined in the "desktop" file per application. The default desktop file for urxvt is /usr/share/applications/rxvt-unicode. You can add a line anywhere in the file like:
Icon=<path_to_any_icon_file>
This will probably be overwritten during the next update if you edit that one. The secondary location for desktop files is ~/.local/share/applications. I know that some WM or DE will look to the local file first, but I'm not sure about Openbox. Copy the default into your home directory:
cp /usr/share/applications/rxvt-unicode.desktop ~/.local/share/applications
And add the icon line pointing to whatever icon that you want. Run 'openbox --reconfigure' and see if the changes took effect.
--I edited the cp line to correct my error--
Offline
skottish: Thanks for the suggestions, but I tried your method and then every variation of it that I could think of, all with no luck.
Offline
skottish: Thanks for the suggestions, but I tried your method and then every variation of it that I could think of, all with no luck.
I'm not sure either. Even after correcting my error in the copy line above, I can't get it work. It seems like icons are being read from /usr/share/pixmaps, but no matter what I try I can't get the icons to change.
Offline
Yeah, it changes the icon that is displayed when looking at rxvt-unicode.desktop inside /usr/share/applications , but it doesn't change the icon that is displayed in the window title.
Offline
RTFM!
-icon file
Compile afterimage: Use the specified image as application icon. This is used by many
window managers, taskbars and pagers to represent the application window; resource
iconFile.
iconFile: file
Set the application icon pixmap; option -icon.
Offline
To use the icon parameter, urxvt needs to be compiled with the --enable-afterimage flag and with the afterimage library, which is not the case in the default Arch package and also not in the 256 color AUR packages.
But look at this AUR entry: http://aur.archlinux.org/packages.php?ID=21329
Last edited by chrizel (2008-12-21 16:07:23)
Offline
chrizel: Thanks for the link!
Any ideas why yaourt hangs while downloading libAfterImage-1.18.tar.gz? I am assuming that it is a problem at afterstep.org,as I can't seem to get the file, even directly off their website? Either way I will try again in a day or two.
Here is what the hang looks like:
-> Downloading libAfterImage-1.18.tar.bz2...
--2008-12-21 15:23:55-- ftp://ftp.afterstep.org/stable/libAfterImage/libAfterImage-1.18.tar.bz2
=> `libAfterImage-1.18.tar.bz2.part'
Resolving ftp.afterstep.org... 66.36.251.43
Connecting to ftp.afterstep.org|66.36.251.43|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /stable/libAfterImage ... done.
==> SIZE libAfterImage-1.18.tar.bz2 ... 1050328
==> PASV ...
Last edited by monstermudder78 (2008-12-21 23:25:38)
Offline