Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Change icon theme in awesomeWM

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
bedtime
Posts: 146
Joined: 2012-12-16 19:34
Has thanked: 1 time
Been thanked: 6 times

Change icon theme in awesomeWM

#1 Post by bedtime »

I'm trying to change the icon theme in awesome window manager; right now I have no urxvt icon, the Firefox icon is blurry, and the xterm icon looks like it was created in 1972. :roll:

I've checked the awesome wikis of Debian, Arch, and Gentoo, and there was no info on changing the icon theme.

Here's what I have:

Code: Select all

$ cd /usr/share/icons/                                                                   
$ ls
Adwaita          dwm.png          Faenza-Darker    handhelds  Numix-Circle
cab_extract.png  Faenza           Faenza-Darkest   hicolor    redglass
cab_view.png     Faenza-Ambiance  Faenza-Radiance  locolor    whiteglass
default          Faenza-Dark      gnome            moblin     xmonad.png

Code: Select all

/home/user/.local/share/icons
$ ls
AUTHORS			     Faenza-Ambiance	     Faenza-Darkest.tar.gz	INSTALL
ChangeLog		     Faenza-Ambiance.tar.gz  Faenza-Dark.tar.gz		README
COPYING			     Faenza-Dark	     faenza-icon-theme_1.3.zip	UNINSTALL
emesene			     Faenza-Darker	     Faenza-Radiance
emesene-faenza-theme.tar.gz  Faenza-Darker.tar.gz    Faenza-Radiance.tar.gz
Faenza			     Faenza-Darkest	     Faenza.tar.gz
I've updated the icon cache using:

Code: Select all

# update-icon-caches /usr/share/icons/*
# update-icon-caches /home/user/.local/share/icons/*
/home/user/.config/awesome/themes/default/theme.lua

Code: Select all

...
theme.icon_theme = "/usr/share/icons/Faenza"
...
I've tried refreshing awesome and rebooting. Still the same icons.

Any ideas?

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Change icon theme in awesomeWM

#2 Post by debiman »

bedtime wrote:I'm trying to change the icon theme in awesome window manager; right now I have no urxvt icon, the Firefox icon is blurry, and the xterm icon looks like it was created in 1972.
this is correct.
urxvt does not provide any application icon, therefore the default is used (a generic application icon).
xterm icon indeed DOES look like it's at least 2 decades old.
i don't know about firefox though.

generally, changing icon themes is done like under any other environment.
by manually editing gtk config files, or by using an app like lxappearance.

it is possible that awesome means something else with its config option, it may not refer to gtk icon themes at all.

User avatar
Nili
Posts: 441
Joined: 2014-04-30 14:04
Location: $HOME/♫♪
Has thanked: 5 times
Been thanked: 3 times

Re: Change icon theme in awesomeWM

#3 Post by Nili »

debiman wrote:urxvt does not provide any application icon, therefore the default is used (a generic application icon).
That's true, but there is a solution to have an customized icon.

Code: Select all

URxvt.iconFile:                /home/nili/.icons/Papirus-Dark/32x32/apps/Etermutilities-terminal.svg
This code if placed on .Xdefaults or .Xresources URxvt will have a new customized icon.
Enough to rename username and icons package name.

I don't have info about the author's request, Sorry
openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

bedtime
Posts: 146
Joined: 2012-12-16 19:34
Has thanked: 1 time
Been thanked: 6 times

Re: Change icon theme in awesomeWM

#4 Post by bedtime »

debiman wrote:
bedtime wrote:I'm trying to change the icon theme in awesome window manager; right now I have no urxvt icon, the Firefox icon is blurry, and the xterm icon looks like it was created in 1972.
this is correct.
urxvt does not provide any application icon, therefore the default is used (a generic application icon).
xterm icon indeed DOES look like it's at least 2 decades old.
i don't know about firefox though.

generally, changing icon themes is done like under any other environment.
by manually editing gtk config files, or by using an app like lxappearance.

it is possible that awesome means something else with its config option, it may not refer to gtk icon themes at all.
Thanks. I installed lxappearance and tried changing the icons, and it seems that the icons are the same; at least, the xterm icon didn't change. I do however now use lxappearance to change gtk theme, so that came in handy.
Nili wrote:
debiman wrote:urxvt does not provide any application icon, therefore the default is used (a generic application icon).
That's true, but there is a solution to have an customized icon.

Code: Select all

URxvt.iconFile:                /home/nili/.icons/Papirus-Dark/32x32/apps/Etermutilities-terminal.svg
This code if placed on .Xdefaults or .Xresources URxvt will have a new customized icon.
Enough to rename username and icons package name.

I don't have info about the author's request, Sorry
Yes, this changed the icon for urxvt. :D

Still working on how to change the icon for surf (suckless) browser. Perhaps a big issue would be that I compiled myself and didn't do a proper .deb install.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Change icon theme in awesomeWM

#5 Post by debiman »

Nili wrote:there is a solution to have an customized icon.

Code: Select all

URxvt.iconFile:                /home/nili/.icons/Papirus-Dark/32x32/apps/Etermutilities-terminal.svg
this only works if urxvt is compiled with pixbuf - which isn't the default on archlinux, but apparently it is on debian.
bedtime wrote:Still working on how to change the icon for surf (suckless) browser. Perhaps a big issue would be that I compiled myself and didn't do a proper .deb install.
i doubt that it has anything to do with that.
surf is a very thin wrapper around some webkit engine, i don't think they bothered giving it an icon.

if you want a good solution for this icon problem, please read ohnonot's contributions to this thread:
https://forums.bunsenlabs.org/viewtopic.php?id=4688
and to this one, from post #18 onwards:
https://forums.bunsenlabs.org/viewtopic ... 090#p58090
and before you ask questions, they likely have been answered already in one of those threads.

User avatar
Nili
Posts: 441
Joined: 2014-04-30 14:04
Location: $HOME/♫♪
Has thanked: 5 times
Been thanked: 3 times

Re: Change icon theme in awesomeWM

#6 Post by Nili »

debiman wrote:this only works if urxvt is compiled with pixbuf - which isn't the default on archlinux, but apparently it is on debian.
Didn't know, thanks for clarification of this part. Indeed on Debian seems so, compiled with pixbuf feature which i like, however for the moment i turned off the icons from tint2 panel to leave on spot only the text.
openSUSE Tumbleweed KDE/Wayland

♫♪ Elisa playing...
Damascus Cocktail ♪ Black Reverie ♪ Dye the sky.

Post Reply