Change icon theme in awesomeWM

Everything about X, Gnome, KDE, ... and everything running on it

Change icon theme in awesomeWM

Postby bedtime » 2018-04-16 11:03

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?
OS: Debian GNU/Linux (Buster—testing); Kernel: 4.16.0-2-amd64; Shell: sh; WM: i3
Machine: HP ProDesk 600 G3—i7-7700, 8GB RAM, 256 SSD, Intel HD Graphics 630

bedtime
 
Posts: 88
Joined: 2012-12-16 19:34

Re: Change icon theme in awesomeWM

Postby debiman » 2018-04-18 05:28

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
debiman
 
Posts: 2790
Joined: 2013-03-12 07:18

Re: Change icon theme in awesomeWM

Postby Nili » 2018-04-20 11:43

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
OS: Devuan | WM: Openbox
User avatar
Nili
 
Posts: 336
Joined: 2014-04-30 14:04
Location: $HOME/♫♪

Re: Change icon theme in awesomeWM

Postby bedtime » 2018-04-20 12:54

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.
OS: Debian GNU/Linux (Buster—testing); Kernel: 4.16.0-2-amd64; Shell: sh; WM: i3
Machine: HP ProDesk 600 G3—i7-7700, 8GB RAM, 256 SSD, Intel HD Graphics 630

bedtime
 
Posts: 88
Joined: 2012-12-16 19:34

Re: Change icon theme in awesomeWM

Postby debiman » 2018-04-20 13:42

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
debiman
 
Posts: 2790
Joined: 2013-03-12 07:18

Re: Change icon theme in awesomeWM

Postby Nili » 2018-04-20 14:29

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.
OS: Devuan | WM: Openbox
User avatar
Nili
 
Posts: 336
Joined: 2014-04-30 14:04
Location: $HOME/♫♪


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable