You are not logged in.

#1 2015-09-09 19:45:52

nishantvarma
Member
From: Bangalore
Registered: 2015-09-04
Posts: 27

Openbox Window Title and Tint2 Icons are not working [Solved]

I am not able to get Openbox Window or Tint2 to show up Zathura/Termite icons. For Zathura, I modified the /usr/share/applications/zathura.desktop file and created an icon called zathura and copy pasted it into below folders but it has no effect on the WM or Tint2. I could see it in pcmanfm's whisker menu though.

/usr/share/icons/hicolor/apps/16x16
/usr/share/icons/hicolor/apps/22x22
/usr/share/icons/hicolor/apps/24x24
/usr/share/icons/hicolor/apps/32x32
/usr/share/icons/hicolor/apps/48x48
/usr/share/icons/hicolor/apps/64x64

Termite already has

termite.desktop Icon=utilities-termimal

How do I troubleshoot this issue? Where does WM and Tint2 lookup up for icons? I really spent a lot of time searching on the net but found nothing helpful. Can someone please help me out.

FYKI, this is how it comes at the moment: JIJLWAB.png.

Last edited by nishantvarma (2015-09-11 23:19:14)

Offline

#2 2015-09-09 20:23:48

sdoubleyou
Member
Registered: 2015-09-09
Posts: 5

Re: Openbox Window Title and Tint2 Icons are not working [Solved]

you can try

cp -av /usr/share/applications/zathura.desktop ~/.local/share/applications
echo 'Icon=application-pdf.svg' >>~/.local/share/applications/zathura.desktop

Offline

#3 2015-09-09 20:56:00

nishantvarma
Member
From: Bangalore
Registered: 2015-09-04
Posts: 27

Re: Openbox Window Title and Tint2 Icons are not working [Solved]

Thanks I tried that one from the Zathura bug tracker but it didn't help. So I thought of finding the underlying stuff at WM level.

Offline

#4 2015-09-09 21:47:03

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Openbox Window Title and Tint2 Icons are not working [Solved]

Does it help if you convert the .svg into, say, .png?

Offline

#5 2015-09-11 15:06:43

nishantvarma
Member
From: Bangalore
Registered: 2015-09-04
Posts: 27

Re: Openbox Window Title and Tint2 Icons are not working [Solved]

Changing that to png didn't help as well. https://bbs.archlinux.org/viewtopic.php?id=149551 addresses this issue. It seems like the application needs to set this during loading and it is not related to GTK.

For zathura you can change ~/.config/zathura/zathurarc

set window-icon /full/path/to/image

For Termite you can change ~/.config/termite/config

[options]
...
icon_name = terminal
...

Last edited by nishantvarma (2015-09-11 23:13:48)

Offline

Board footer

Powered by FluxBB