You are not logged in.

#1 2013-05-16 04:18:05

xworld
Member
Registered: 2012-05-27
Posts: 153

[SOLVED]Urxvt icon stopped working

I'm aware this seems like a petty question but I figured that I'd give it a try anyway. I had set an icon file for urxvt because I don't like the default one and haven't had any problems with it at all up until now. I recently updated Arch after quite a long time and now noticed that my icon isn't taking anymore. Here's my ~/.Xresources, even though I haven't changed it at all and it used to work before.

URxvt.depth: 32
URxvt.background: rgba:0000/0000/0000/dddd
URxvt*foreground: #99CCCC
URxvt.scrollBar: false
URxvt.iconFile: /home/user/.config/archlinuxiconcrystal128.png
xterm*borderWidth: 0
xterm*background: #000000
xterm*foreground: #0ABFFF

Let me remind you again that this exact configuration used to work for me.

Last edited by xworld (2013-06-05 00:38:14)

Offline

#2 2013-05-16 05:36:12

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED]Urxvt icon stopped working

First, the silly question: Can you see the icon image if you open it exactly how it's written on the "iconFile" line?

Next, the not so silly question: Is your ".Xresources" file really getting loaded? ".Xresources" is a funny file. Does it work if you rename it to ".Xdefaults" (at least temporarily)?

For what it's worth, my ".Xdefaults" file:

URxvt*iconFile: /home/drcouzelis/Library/Icons/terminal.png
URxvt*scrollBar: false
URxvt*termName: screen-256color
URxvt*saveLines: 10000
URxvt*cursorBlink: true
URxvt*pointerBlank: true
URxvt*pointerBlankDelay: 987654321
URxvt*font: xft:Terminus:size=12
URxvt*perl-ext-common: default,fullscreen
URxvt*keysym.F11: perl:fullscreen:switch

Offline

#3 2013-05-16 05:42:15

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]Urxvt icon stopped working

Sorry, I'm a little tired. So I'm not exactly sure what you mean by the first question. I tried renaming the file the ~/.Xdefaults to no avail. I also did xrdb -merge ~/.Xresources as well as xrdb -merge ~/.Xdefaults after changing the name. And yes I also made sure that the icon file is in the directory I pointed to in the config file.... is that what you where asking with the first question?

Offline

#4 2013-05-16 05:43:13

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Urxvt icon stopped working

.Xresources simply needs to be loaded by xrdb, while .Xdefaults is apparently loaded automagically.  But from what I understand, .Xdefaults is the old file that has been deprecated in favor of the .Xresources way.

Offline

#5 2013-05-16 05:45:03

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]Urxvt icon stopped working

I made sure to run an xrdb -merge a few times. I even rebooted afterwards just for the hell of it.

Offline

#6 2013-05-16 05:54:19

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Urxvt icon stopped working

How about trying with "xrdb ~/.Xresources" (implies "xrdb -load") or possibly "xrdb -override ~/.Xresources".  The override doesn't do exactly what I would have thought at first.  It doens't remove the old stuff, but simply adds to the existing stuff, and if there is an entry for something that already exists, it is replaced.  -merge on the other hand adds to the original, but doesn't remove or override anything, it simply adds to it and then sorts them lexicographically.

Offline

#7 2013-05-16 14:14:52

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED]Urxvt icon stopped working

If you changed it to ".Xdefaults" and rebooted then I assume your settings are being loaded.

xworld wrote:

I also made sure that the icon file is in the directory I pointed to in the config file.... is that what you where asking with the first question?

That's right. You should be able to see the image with:

firefox /home/user/.config/archlinuxiconcrystal128.png

or whatever application you use to view images.

I notice you're loading a PNG file. libpng has had new releases within the past two weeks. Your problem might be related to that or some other upgraded package.

Are you using any AUR or testing packages that might be a problem?

Last edited by drcouzelis (2013-05-16 14:16:01)

Offline

#8 2013-05-16 15:05:24

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Urxvt icon stopped working

There were actually many fucked up png's that didn't work with the new libpng.  This is supposed to have been fixed by upstream, but when it happened, in order to take case of it, optipng was used to fix all the borked pngs.  Offhand I can't remember hwo exactly it was used, but if you go searching through the mailing lists archive, you can find the script they used to fix them all.  I am not sure that this is what your problem is, but I figure it is worth a try.

Offline

#9 2013-05-16 16:31:05

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]Urxvt icon stopped working

To be honest I can't really think of any AUR packages that could have caused this. I remember this happening temporarily last time I ran pacman -Syu. I fixed itt just by moving the icon file and reloading ~/.Xresources. That didn't work this time.

EDIT: Something I just noticed is that everythings theme is suddenly a little different. I have a dark theme, and every application that I open(transmission, authentication pop-ups, gedit, etc) was also in the dark theme. After updating now alot of that stuff is in the default boring white-ish theme. I don't know if that has anything to do with it but it might....

Last edited by xworld (2013-05-16 16:47:09)

Offline

#10 2013-05-16 17:10:36

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED]Urxvt icon stopped working

All of those applications are GTK3 applications. Many GTK3 themes broke with the recent update to GTK 3.8. And by "recent" I mean "a couple months ago". Did you just get done doing a massive update to your system? What packages did you update (as is recorded in the pacman log) when the urxvt stopped working?

Offline

#11 2013-05-16 17:44:12

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]Urxvt icon stopped working

I did just do a massive update. Unfortunately my pacman.log file is rather.....empty. I wrote a script to null all log files for security purposes. I forgot to exclude pacman.log

Wow I really screwed myself here.

Last edited by xworld (2013-05-16 17:58:21)

Offline

#12 2013-05-16 19:47:50

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED]Urxvt icon stopped working

Well, if the only thing that's wrong with your computer is that one icon isn't working correctly, it certainly could be worse. wink

I'm not sure, but errors from xrdb settings might be sent to the X log or the terminal output (if you use "startx"). Are there any errors there?

Also, what window manager are you using? Some of them can set an application icon on their own.

Offline

#13 2013-05-16 20:13:05

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Urxvt icon stopped working

I have had a type in my .Xresources before, and it certainly tells you about it right then and there.

Offline

#14 2013-05-16 20:44:54

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED]Urxvt icon stopped working

WonderWoofy wrote:

I have had a type in my .Xresources before.

Oh my gosh. Do you mean "typo"? Is your comment funny? Because it might be pretty funny. wink

Offline

#15 2013-05-17 23:10:42

kelloco2
Member
Registered: 2012-02-13
Posts: 124

Re: [SOLVED]Urxvt icon stopped working

For me it has stopped working too. version 9.18-2 works well, so You can downgrade. I reported the bug, but I'm not sure  was it the right (I do not have the experience).
https://bugs.archlinux.org/task/35329


sorry for my english. {Arch Linux, Debian} User

Offline

#16 2013-05-18 00:23:41

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Urxvt icon stopped working

drcouzelis wrote:
WonderWoofy wrote:

I have had a type in my .Xresources before.

Oh my gosh. Do you mean "typo"? Is your comment funny? Because it might be pretty funny. wink

Indeed I meant typo.  Indeed that is quite funny.  You sir, are a doctor of awesome.

Offline

#17 2013-05-18 03:14:04

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED]Urxvt icon stopped working

BTW in rxvt-unicode 9.18-3 support for gdk-pixbuf2 was removed (someone disliked the dependencies). This could be why the icon doesn't show up.

Offline

#18 2013-05-18 03:53:50

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED]Urxvt icon stopped working

anonymous_user wrote:

BTW in rxvt-unicode 9.18-3 support for gdk-pixbuf2 was removed (someone disliked the dependencies). This could be why the icon doesn't show up.

Woah, really? I wouldn't have noticed since I'm using a patched urxvt from the AUR. Curious. yikes

Offline

#19 2013-05-18 04:52:44

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED]Urxvt icon stopped working

drcouzelis wrote:
anonymous_user wrote:

BTW in rxvt-unicode 9.18-3 support for gdk-pixbuf2 was removed (someone disliked the dependencies). This could be why the icon doesn't show up.

Woah, really? I wouldn't have noticed since I'm using a patched urxvt from the AUR. Curious. yikes

In case, you wanted to rid yourself of that AUR package and use the one from the repos you can use "URxvt*letterspace: -2" in your ~/.Xresources or ~/.Xdefaults, and things look pretty much the same.

Edit: Credit for this amazing bit of info goes to jasonwryan.

Last edited by WonderWoofy (2013-05-18 04:53:24)

Offline

#20 2013-05-18 14:10:03

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED]Urxvt icon stopped working

WonderWoofy wrote:

In case, you wanted to rid yourself of that AUR package and use the one from the repos you can use "URxvt*letterspace: -2" in your ~/.Xresources or ~/.Xdefaults, and things look pretty much the same.

Oh, thank you, I actually use the package "rxvt-unicode-patched-left_ptr-unicode3". smile

Offline

#21 2013-05-21 03:33:43

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED]Urxvt icon stopped working

anonymous_user wrote:

BTW in rxvt-unicode 9.18-3 support for gdk-pixbuf2 was removed (someone disliked the dependencies). This could be why the icon doesn't show up.

Yes, anonymous_user very much solved this thread. I was just bitten by switching to the rxvt-unicode package in the official repositories too. tongue

Here is the relevant information:

This is the change referred to by anonymous_user:
https://projects.archlinux.org/svntogit … c92e03cc65

The bug reports:
https://bugs.archlinux.org/task/34862
https://bugs.archlinux.org/task/35329

I fixed the icon by using the ABS to modify the PKGBUILD file for rxvt-unicode. It was extremely simple. Simply change "--disable-pixbuf" to "--enable-pixbuf".

Offline

#22 2013-05-27 08:26:10

kelloco2
Member
Registered: 2012-02-13
Posts: 124

Re: [SOLVED]Urxvt icon stopped working


sorry for my english. {Arch Linux, Debian} User

Offline

#23 2013-06-05 00:38:01

xworld
Member
Registered: 2012-05-27
Posts: 153

Re: [SOLVED]Urxvt icon stopped working

Thanks for the help guys. I picked up the AUR package.

Offline

#24 2013-07-23 12:03:47

Malstrond
Member
From: Germany
Registered: 2009-06-03
Posts: 98

Re: [SOLVED]Urxvt icon stopped working

The AUR package with this fix seems to have been deleted?

Offline

#25 2013-07-23 12:27:06

kelloco2
Member
Registered: 2012-02-13
Posts: 124

Re: [SOLVED]Urxvt icon stopped working

Yes. Here for more information: https://bbs.archlinux.org/viewtopic.php?id=166314
I recommend remove rxvt-unicode-pixbuf and use: rxvt-unicode-patched


sorry for my english. {Arch Linux, Debian} User

Offline

Board footer

Powered by FluxBB