SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I re-ran pkgtool --> Setup --> mkfontdir and fontconfig. It made no difference.
I have looked at local.conf ; however, I can not see a problem with this file.
This problem has been on my Slack-64 13.37 system, I upgraded it to 14.0, the problem still exists. I have seen the Fontconfig error starting other apps from the command line, so I don't think the error is unique to compiz, its more noticeable in compiz when the there are no window decorations.
Thoughts on how to better determine what causes this font error?
I have removed all the compiz packages, and used sbopkg to re-install them in the correct order. I have the latest Nvidia driver for my on board chip set.
Fontconfig error: "local.conf", line 7: junk after document element
I'm no expert in fontconfig, but it would be useful if you post your /etc/fonts/local.conf, maybe someone else can help you with it.
Quote:
compiz (core) - Error: Plugin 'text' not loaded.
Compiz works, the cube spins, but there are no window decorations. Emerald appears to run.
Run ccsm and make sure the Text plugin in the "Image Loading" section is enabled. Also, make sure that the Window Decoration plugin in the "Effects" section is enabled as well, and its "Command" field is set to "emerald --replace".
Quote:
I have removed all the compiz packages, and used sbopkg to re-install them in the correct order.
I use the fusion icon to load compiz and emerald, have you tried it? (Don't really know if it would help with your problem, just a suggestion...)
cat /etc/fonts/local.conf
<!-- Globally use embedded bitmaps in fonts like Calibri? -->
<match target="font" >
<edit name="embeddedbitmap" mode="assign">
<bool>false</bool>
</edit>
</match>
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file to configure system font access -->
<fontconfig>
<dir>/usr/share/fonts/TTF</dir>
<dir>/usr/share/fonts/OTF</dir>
<dir>/usr/share/fonts/100dpi</dir>
<dir>/usr/share/fonts/75dpi</dir>
</fontconfig>
I ran ccsm, the Text plugin was not enabled. I have enabled it. Yes, I have the Fusion-icon installed. The reason I was using command line, was so I could see any errors that may be generated. The results are the same from the use of fusion-icon.
After enabling Text plugin, this is now the error.
Quote:
compiz --replace ccp & emerald --replace &
[1] 2709
[2] 2710
[cliff@duelie]$ Fontconfig error: "local.conf", line 7: junk after document element
I ran ccsm, the Text plugin was not enabled. I have enabled it. Yes, I have the Fusion-icon installed. The reason I was using command line, was so I could see any errors that may be generated. The results are the same from the use of fusion-icon.
After enabling Text plugin, this is now the error.
The Text error is gone, font error remains, and an Emerald error?
Your /etc/fonts/local.conf is malformed. All the elements must be defined inside <fontconfig> .. </fontconfig>. So, the definitions below :
Code:
<!-- Globally use embedded bitmaps in fonts like Calibri? -->
<match target="font" >
<edit name="embeddedbitmap" mode="assign">
<bool>false</bool>
</edit>
</match>
must be moved after the last <dir> element. So, you should have this :
Code:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- /etc/fonts/local.conf file to configure system font access -->
<fontconfig>
<dir>/usr/share/fonts/TTF</dir>
<dir>/usr/share/fonts/OTF</dir>
<dir>/usr/share/fonts/100dpi</dir>
<dir>/usr/share/fonts/75dpi</dir>
<!-- Globally use embedded bitmaps in fonts like Calibri? -->
<match target="font" >
<edit name="embeddedbitmap" mode="assign">
<bool>false</bool>
</edit>
</match>
</fontconfig>
I have edited the local.conf file as suggested by phenixia2003, and I no longer get a font error. Thank-you for pointing out the mis-formation of the XML file.
Quote:
Good. And the "Window Decoration" plugin, is it enabled?
Yes, I no longer get a message about no Text plugin, so that is fixed.
Check the "Effects" section in ccsm and make sure the "Window Decoration" plugin is enabled. When you click its icon, the settings page should show a field called "Command". The value for this field should be "emerald --replace". Is it enabled?
Yes, Window Decorations is enabled, and yes, "emerald --replace" is in the command field. It fails with the message in post #6, and there are no window decorations.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.