You are not logged in.

#1 2008-10-08 08:44:52

meinhimmel
Member
Registered: 2007-07-12
Posts: 58

[UNSOLVED] Urxvt doesn't display an icon

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

#2 2008-10-08 15:31:52

froli
Member
From: Germany
Registered: 2008-06-17
Posts: 455

Re: [UNSOLVED] Urxvt doesn't display an icon

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

#3 2008-10-08 19:08:08

meinhimmel
Member
Registered: 2007-07-12
Posts: 58

Re: [UNSOLVED] Urxvt doesn't display an icon

Well is there a way to add one to it?

Offline

#4 2008-10-08 22:01:05

escondida
Package Maintainer (PM)
Registered: 2008-04-03
Posts: 157

Re: [UNSOLVED] Urxvt doesn't display an icon

meinhimmel wrote:

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

#5 2008-10-08 22:56:48

meinhimmel
Member
Registered: 2007-07-12
Posts: 58

Re: [UNSOLVED] Urxvt doesn't display an icon

Hm, ok.

WM: Openbox
FM: Thunar

Offline

#6 2008-12-19 21:44:21

monstermudder78
Member
Registered: 2008-05-18
Posts: 120

Re: [UNSOLVED] Urxvt doesn't display an icon

Did you ever get a solution?  I'm in the exact same place.

Offline

#7 2008-12-19 22:58:39

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [UNSOLVED] Urxvt doesn't display an icon

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

#8 2008-12-20 00:35:22

monstermudder78
Member
Registered: 2008-05-18
Posts: 120

Re: [UNSOLVED] Urxvt doesn't display an icon

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

#9 2008-12-20 01:03:04

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [UNSOLVED] Urxvt doesn't display an icon

monstermudder78 wrote:

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

#10 2008-12-20 04:02:09

monstermudder78
Member
Registered: 2008-05-18
Posts: 120

Re: [UNSOLVED] Urxvt doesn't display an icon

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

#11 2008-12-20 19:47:23

N30N
Member
Registered: 2007-04-08
Posts: 273

Re: [UNSOLVED] Urxvt doesn't display an icon

RTFM!

man urxvt wrote:

-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.

man urxvt wrote:

iconFile: file
    Set the application icon pixmap; option -icon.

Offline

#12 2008-12-21 16:06:34

chrizel
Member
Registered: 2008-12-21
Posts: 4

Re: [UNSOLVED] Urxvt doesn't display an icon

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

#13 2008-12-21 19:58:12

monstermudder78
Member
Registered: 2008-05-18
Posts: 120

Re: [UNSOLVED] Urxvt doesn't display an icon

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

Board footer

Powered by FluxBB