LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 07-12-2013, 09:51 AM   #1
browser
Member
 
Registered: Aug 2004
Location: Australia,NSW
Distribution: CalculateLinux,FreeBSD,Makulu,Voyager,Bayanihan Linux
Posts: 261

Rep: Reputation: 30
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.
 
Old 07-12-2013, 10:05 AM   #2
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,218

Rep: Reputation: 176Reputation: 176
If you are using Slackware, did you do a complete install?
 
Old 07-12-2013, 10:10 AM   #3
browser
Member
 
Registered: Aug 2004
Location: Australia,NSW
Distribution: CalculateLinux,FreeBSD,Makulu,Voyager,Bayanihan Linux
Posts: 261

Original Poster
Rep: Reputation: 30
I installed from a Live disc which I think was Slackel & have had it installed for maybe a couple of months or more
 
Old 07-12-2013, 12:26 PM   #4
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 2,963

Rep: Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768
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!
 
Old 07-12-2013, 03:31 PM   #5
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,218

Rep: Reputation: 176Reputation: 176
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
Good Luck.
 
Old 07-13-2013, 07:35 AM   #6
browser
Member
 
Registered: Aug 2004
Location: Australia,NSW
Distribution: CalculateLinux,FreeBSD,Makulu,Voyager,Bayanihan Linux
Posts: 261

Original Poster
Rep: Reputation: 30
I Have already Oxygen-Gtk2 & Oxygen-Gtk3 installed and .gtkrc-2.0 was already setup that way.
I am at a loss why this keeps happening
 
Old 07-13-2013, 09:35 AM   #7
browser
Member
 
Registered: Aug 2004
Location: Australia,NSW
Distribution: CalculateLinux,FreeBSD,Makulu,Voyager,Bayanihan Linux
Posts: 261

Original Poster
Rep: Reputation: 30
I think I have found the Culprit.
I tried starting some of these apps from konsole & I am getting a "Pango" error like this

1)
me2[/]$ lxappearance
/home/me2/.gtkrc-2.0:6: error: unexpected identifier `Sans', expected character `='

(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'

(lxappearance:10222): GLib-CRITICAL **: g_utf8_collate: assertion `str1 != NULL' failed

(lxappearance:10222): GLib-CRITICAL **: g_utf8_collate: assertion `str2 != NULL' failed

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

I
 
Old 07-13-2013, 09:42 AM   #8
browser
Member
 
Registered: Aug 2004
Location: Australia,NSW
Distribution: CalculateLinux,FreeBSD,Makulu,Voyager,Bayanihan Linux
Posts: 261

Original Poster
Rep: Reputation: 30
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()

(pango-querymodules-32:10913): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

(pango-querymodules-32:10913): GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type `<invalid>'

(pango-querymodules-32:10913): GLib-GObject-CRITICAL **: g_enum_get_value: assertion `G_IS_ENUM_CLASS (enum_class)' failed

(pango-querymodules-32:10913): Pango-WARNING **: Engine reported invalid script value 10


AND also when I run " pango-querymodules > '/etc/pango/i486-slackware-linux/pango.modules' "

# pango-querymodules > '/etc/pango/i486-slackware-linux/pango.modules'

(pango-querymodules:10594): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()

(pango-querymodules:10594): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

(pango-querymodules:10594): GLib-GObject-WARNING **: cannot retrieve class for invalid (unclassed) type `<invalid>'

(pango-querymodules:10594): GLib-GObject-CRITICAL **: g_enum_get_value: assertion `G_IS_ENUM_CLASS (enum_class)' failed

(pango-querymodules:10594): Pango-WARNING **: Engine reported invalid script value 10
 
Old 07-13-2013, 10:12 AM   #9
browser
Member
 
Registered: Aug 2004
Location: Australia,NSW
Distribution: CalculateLinux,FreeBSD,Makulu,Voyager,Bayanihan Linux
Posts: 261

Original Poster
Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] sorting words with numbers vostrushka Linux - General 5 03-03-2012 01:25 PM
how to show only unique words between two files Dr_Death_UAE Linux - General 5 02-23-2011 05:18 AM
Applications from all workspaces show up in taskbar (compiz-fusion & KDE 3.5.10) Slacker Steve Slackware 6 12-15-2008 11:16 PM
Bare minimum requirements for running KDE & Gnome apps rmflagg Linux - Software 2 12-23-2004 01:56 PM
How do I show the structur of directory with words? pelgrim Linux - Newbie 4 03-17-2003 06:30 PM


All times are GMT -5. The time now is 08:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration