-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text instead of flags #13
Comments
Hi! I had the similar discussion in the ticket #3. In general, it's not so hard to draw text on the fly. But there are some expected issues:
Instead of that, I propose to use a shell script to generate images with text labels and keep gxkb as simple as possible. |
I've tried to use GIMP for creating images, but text was blurry and very far from what proper text looks like. Will try gen-labels now. |
By the way, gxkb uses images with 24x24 pixels size. If your panel uses less value for systray icons size, you can get blurry text due to the image resize. |
Yes, my panel is 24px and icons are 22px. I've tried making 22px images, but it doesn't work. Ideally background, font and color should be configurable and directly rendered as text. |
It doesn't work because gxkb had hardcoded values for icon size :). So, there are two options:
If you are using Ubuntu-like distributive, you can install the latest version of gxkb from ppa. |
Master branch is much better, 22x22px icon is rendered as intended, thanks for that! |
Would it be difficult to add an option to show text like
US
instead of flags?It would fit monochrome themes much better.
The text was updated successfully, but these errors were encountered: