personalize tag icons

Asked by psychoslave on 2013-01-15

I just installed gtg 0.3 on my wheezy (just had to clone and install liblarch before), and I discover that you can now add icons to your tags. Great, nice jobs !

Now what I would like is being able to chose my own icons, because as it is gtg just enable to chose in a limited set of icons that it seeks I-don't-know-where. A "browse" button would be ideal, but for know I just would like to know how to add icons in this list, even it's imply some hacks.

Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Getting Things GNOME! Edit question
Assignee:
No assignee Edit question
Solved by:
psychoslave
Solved:
2013-01-20
Last query:
2013-01-20
Last reply:
2013-01-19
Izidor Matušov (izidor) said : #1

Hi,

Thanks for your suggestion, I created a bug report/feature request on your behalf. You can subscribe to the bug to be informed about the progress.

psychoslave (psychoslave) said : #2

Thank you for the bug report. In the meantime, is there any possible workaround ? Are each icon path hardcoded, or does gtg look in a specific directory ?

Izidor Matušov (izidor) said : #3

Hi, icons are read from system-wide icons in the section emblems, i.e. /usr/share/icons/*/16x16/emblems (replace * by the name of your icon theme)

You can add your own icons e.g. into /usr/share/icons/hicolor/16x16/emblems

psychoslave (psychoslave) said : #4

Great, in my case I installed manually gtg (debian testing has an outdated version) so the directory gtg is looking at is /usr/local/share/icons/hicolor/16x16/emblems, which doesn't exist by default. I created a symbolic link to a diretory in my home so I can easily add/remove icons.

Note 1: you need to close and relaunch gtg to detect new icons
Note 2: of course gtg probably use other directory, but the one I quoted one the first on I find to work

JC Boggio (jissouille) said : #5

I didn't want to mess with /usr/share... so I stored the icons relative to my home folder :
    mkdir -p ~/.icons/hicolor/16x16/emblems

I put a bunch of .png files in there and it works perfectly.