[SOLVED] Non KDE apps show only Rectangles instead words & numbers
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Non KDE apps show only Rectangles instead words & numbers
This could of went into Slackware forum but this seems to off happened with other distro's I have used as well & I want to find out what has been causing this.
I did an upgrade of different software using GSlapt & afterwards found that now most software that I open thats not KDE related but seems to be GTK related will be unreadable with rectangles.
The KDE apps seem to be fine, but apps like Gslapt,wicd,lxappearance etc show rectangles in stead of words & numbers.
I checked "/etc/profile.d/lang.sh" & it seemed be the same as before.
Obviously GTK doesn't have a valid font name, although I can't guess why. You can set one with a command like
gtk-font-name="sans-serif 8"
but where to put it? Try ~/.gtkrc-2.0 but no guarantees are offered!
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,089
Rep:
This *might* put you on the road to a solution:
Quote:
oxygen-gtk2: oxygen-gtk2 (Oxygen GTK+ engine)
oxygen-gtk2:
oxygen-gtk2: Oxygen-Gtk2 is a port of the KDE widget theme Oxygen, to GTK+.
oxygen-gtk2: It's primary goal is to ensure visual consistency between GTK+ and
oxygen-gtk2: qt-based applications running under kde. A secondary objective is
oxygen-gtk2: to also have a stand-alone nice looking GTK+ theme that would behave
oxygen-gtk2: well on other Desktop Environments.
oxygen-gtk2: Unlike other attempts made to port the kde oxygen theme to GTK+, this
oxygen-gtk2: attempt does not depend on Qt.
oxygen-gtk2:
oxygen-gtk2: See: http://projects.kde.org/projects/pla...ork/oxygen-gtk
(lxappearance:10222): Pango-CRITICAL **: No modules found:
No builtin or dynamically loaded modules were found.
PangoFc will not work correctly.
This probably means there was an error in the creation of:
'/etc/pango/i486-slackware-linux/pango.modules'
You should create this file by running:
pango-querymodules > '/etc/pango/i486-slackware-linux/pango.modules'
(lxappearance:10222): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
(lxappearance:10222): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'
2)
me2[/]$ wicd
bash: wicd: command not found
me2[/]$ wicd-gtk
Has notifications support True
Loading...
Connecting to daemon...
Connected.
/home/me2/.gtkrc-2.0:6: error: unexpected identifier `Sans', expected character `='
/usr/share/wicd/gtk/gui.py:166: PangoWarning: No modules found:
No builtin or dynamically loaded modules were found.
PangoFc will not work correctly.
This probably means there was an error in the creation of:
'/etc/pango/i486-slackware-linux/pango.modules'
You should create this file by running:
pango-querymodules > '/etc/pango/i486-slackware-linux/pango.modules'
self.wTree.add_from_file(gladefile)
/usr/share/wicd/gtk/gui.py:166: PangoWarning: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
self.wTree.add_from_file(gladefile)
/usr/share/wicd/gtk/gui.py:166: PangoWarning: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'
self.wTree.add_from_file(gladefile)
displaytray True
This is the error I now get when I try and reinstall pango
# installpkg /var/slapt-get/slackware/l/pango-1.34.1-i486-1.txz
Verifying package pango-1.34.1-i486-1.txz.
Installing package pango-1.34.1-i486-1.txz:
PACKAGE DESCRIPTION:
# pango (library for layout and rendering of text)
#
# Pango is a library for layout and rendering of text, with an emphasis
# on internationalization. Pango can be used anywhere that text layout
# is needed; however, most of the work on Pango was done using the GTK+
# widget toolkit as a test platform. Pango forms the core of text and
# font handling for GTK+-2.
#
/sbin/ldconfig: /usr/lib/libbassmix.so is for unknown machine 40.
Executing install script for pango-1.34.1-i486-1.txz.
(pango-querymodules-32:10913): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()
YIBBIDEE-YIBBIDA' ' I downgraded pango to earlier version & its all come good again as I can see.
Checking it from konsole should of been one of the first things I did to see if it displayed an error, but I forgot.
Not to worry.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.