Conky does not use instructed font with “can't load Xft font” error
conky: can't load Xft font 'Ubuntu:size=8,weight:normal'
is the error message which appears in the terminal.
use_xft yes
is present in the Conky config file.
The Conky file can be found here
fonts conky
add a comment |
conky: can't load Xft font 'Ubuntu:size=8,weight:normal'
is the error message which appears in the terminal.
use_xft yes
is present in the Conky config file.
The Conky file can be found here
fonts conky
add a comment |
conky: can't load Xft font 'Ubuntu:size=8,weight:normal'
is the error message which appears in the terminal.
use_xft yes
is present in the Conky config file.
The Conky file can be found here
fonts conky
conky: can't load Xft font 'Ubuntu:size=8,weight:normal'
is the error message which appears in the terminal.
use_xft yes
is present in the Conky config file.
The Conky file can be found here
fonts conky
fonts conky
asked Jun 17 '16 at 15:30
Grim ReaperGrim Reaper
14116
14116
add a comment |
add a comment |
5 Answers
5
active
oldest
votes
Conky 1.10 configuration file use a new syntax !
Usually, it can convert old file "on the fly" but it seems that the version of 16.04 have some issue.
I had the same problem as you since I updated my machine. After a lot research, it seems that you must convert your configuration file to the new format.
To help you, there is a script located in :
/usr/share/doc/conky-all/convert.lua
see here : Convert to new 1.10 syntax
You must install "lua5.2" first and then make the script executable (as root)
Then, from ~/.conky where your config file should be located :
/usr/share/doc/conky-all/convert.lua <your_conkyrc>
Pay attention :
- the configuration file should be in the "old" format
- the conversion script overwrite the old version ! Make a copy before if needed
Then, you will still have the problem with the font, but if you convert as explained by DK Bose, it should work (it worked for me)
{font Ubuntu:bold:size=7}
(no '=' after 'font')
Good luck
add a comment |
I poked around on this, and with my environment, I had some different issues.
I'm using Unity with Compiz. My Lua Rings weren't working, and neither were my fonts. My Lua Rings were just in the wrong directory.
I had changed the font to Ubuntu. However, the format was wrong as indicated in this thread. However, my format didn't match any of the ones listed here in previous comments.
I'm attaching a sample of some of my properly formatted text from the memory section of my Seamod that works with my environment:
${offset 90}${font Ubuntu:bold:size=10}${color5}MEM
So for me, I had to find and replace:
font Ubuntu:size=10,weight:normal
with
font Ubuntu:bold:size=10
add a comment |
Instead of
Ubuntu:size=8,weight:normal
try
font = 'Ubuntu:normal:size=8'
This assumes you are using Conky version 1.10.
add a comment |
Just remove ",weight
" part from font lines in conky
config:
For example, replace
[...]
${color5}${font Ubuntu:size=8,weight:normal}TOP
${font Ubuntu:size=8,weight:normal}${color1}${top name 1}${alignr}${top cpu 1}%
[...]
by
[...]
${color5}${font Ubuntu:size=8:normal}TOP
${font Ubuntu:size=8:normal}${color1}${top name 1}${alignr}${top cpu 1}%
[...]
P.S. Tested on Lubuntu 16.04 (conky 1.10).
1
worked for me on Ubuntu 18.04!
– Waylon Flinn
May 15 '18 at 16:56
I did it in Linux Mint 19 (Tara) Mate and after reload conky, same error appear. Like my config haven't changed anything.
– Marcelo Ágil
Nov 5 '18 at 16:33
add a comment |
That might be https://github.com/brndnmtthws/conky/issues/778 - use "true" instead of "yes".
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f788228%2fconky-does-not-use-instructed-font-with-cant-load-xft-font-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
Conky 1.10 configuration file use a new syntax !
Usually, it can convert old file "on the fly" but it seems that the version of 16.04 have some issue.
I had the same problem as you since I updated my machine. After a lot research, it seems that you must convert your configuration file to the new format.
To help you, there is a script located in :
/usr/share/doc/conky-all/convert.lua
see here : Convert to new 1.10 syntax
You must install "lua5.2" first and then make the script executable (as root)
Then, from ~/.conky where your config file should be located :
/usr/share/doc/conky-all/convert.lua <your_conkyrc>
Pay attention :
- the configuration file should be in the "old" format
- the conversion script overwrite the old version ! Make a copy before if needed
Then, you will still have the problem with the font, but if you convert as explained by DK Bose, it should work (it worked for me)
{font Ubuntu:bold:size=7}
(no '=' after 'font')
Good luck
add a comment |
Conky 1.10 configuration file use a new syntax !
Usually, it can convert old file "on the fly" but it seems that the version of 16.04 have some issue.
I had the same problem as you since I updated my machine. After a lot research, it seems that you must convert your configuration file to the new format.
To help you, there is a script located in :
/usr/share/doc/conky-all/convert.lua
see here : Convert to new 1.10 syntax
You must install "lua5.2" first and then make the script executable (as root)
Then, from ~/.conky where your config file should be located :
/usr/share/doc/conky-all/convert.lua <your_conkyrc>
Pay attention :
- the configuration file should be in the "old" format
- the conversion script overwrite the old version ! Make a copy before if needed
Then, you will still have the problem with the font, but if you convert as explained by DK Bose, it should work (it worked for me)
{font Ubuntu:bold:size=7}
(no '=' after 'font')
Good luck
add a comment |
Conky 1.10 configuration file use a new syntax !
Usually, it can convert old file "on the fly" but it seems that the version of 16.04 have some issue.
I had the same problem as you since I updated my machine. After a lot research, it seems that you must convert your configuration file to the new format.
To help you, there is a script located in :
/usr/share/doc/conky-all/convert.lua
see here : Convert to new 1.10 syntax
You must install "lua5.2" first and then make the script executable (as root)
Then, from ~/.conky where your config file should be located :
/usr/share/doc/conky-all/convert.lua <your_conkyrc>
Pay attention :
- the configuration file should be in the "old" format
- the conversion script overwrite the old version ! Make a copy before if needed
Then, you will still have the problem with the font, but if you convert as explained by DK Bose, it should work (it worked for me)
{font Ubuntu:bold:size=7}
(no '=' after 'font')
Good luck
Conky 1.10 configuration file use a new syntax !
Usually, it can convert old file "on the fly" but it seems that the version of 16.04 have some issue.
I had the same problem as you since I updated my machine. After a lot research, it seems that you must convert your configuration file to the new format.
To help you, there is a script located in :
/usr/share/doc/conky-all/convert.lua
see here : Convert to new 1.10 syntax
You must install "lua5.2" first and then make the script executable (as root)
Then, from ~/.conky where your config file should be located :
/usr/share/doc/conky-all/convert.lua <your_conkyrc>
Pay attention :
- the configuration file should be in the "old" format
- the conversion script overwrite the old version ! Make a copy before if needed
Then, you will still have the problem with the font, but if you convert as explained by DK Bose, it should work (it worked for me)
{font Ubuntu:bold:size=7}
(no '=' after 'font')
Good luck
answered Jun 22 '16 at 19:07
ericcericc
1211
1211
add a comment |
add a comment |
I poked around on this, and with my environment, I had some different issues.
I'm using Unity with Compiz. My Lua Rings weren't working, and neither were my fonts. My Lua Rings were just in the wrong directory.
I had changed the font to Ubuntu. However, the format was wrong as indicated in this thread. However, my format didn't match any of the ones listed here in previous comments.
I'm attaching a sample of some of my properly formatted text from the memory section of my Seamod that works with my environment:
${offset 90}${font Ubuntu:bold:size=10}${color5}MEM
So for me, I had to find and replace:
font Ubuntu:size=10,weight:normal
with
font Ubuntu:bold:size=10
add a comment |
I poked around on this, and with my environment, I had some different issues.
I'm using Unity with Compiz. My Lua Rings weren't working, and neither were my fonts. My Lua Rings were just in the wrong directory.
I had changed the font to Ubuntu. However, the format was wrong as indicated in this thread. However, my format didn't match any of the ones listed here in previous comments.
I'm attaching a sample of some of my properly formatted text from the memory section of my Seamod that works with my environment:
${offset 90}${font Ubuntu:bold:size=10}${color5}MEM
So for me, I had to find and replace:
font Ubuntu:size=10,weight:normal
with
font Ubuntu:bold:size=10
add a comment |
I poked around on this, and with my environment, I had some different issues.
I'm using Unity with Compiz. My Lua Rings weren't working, and neither were my fonts. My Lua Rings were just in the wrong directory.
I had changed the font to Ubuntu. However, the format was wrong as indicated in this thread. However, my format didn't match any of the ones listed here in previous comments.
I'm attaching a sample of some of my properly formatted text from the memory section of my Seamod that works with my environment:
${offset 90}${font Ubuntu:bold:size=10}${color5}MEM
So for me, I had to find and replace:
font Ubuntu:size=10,weight:normal
with
font Ubuntu:bold:size=10
I poked around on this, and with my environment, I had some different issues.
I'm using Unity with Compiz. My Lua Rings weren't working, and neither were my fonts. My Lua Rings were just in the wrong directory.
I had changed the font to Ubuntu. However, the format was wrong as indicated in this thread. However, my format didn't match any of the ones listed here in previous comments.
I'm attaching a sample of some of my properly formatted text from the memory section of my Seamod that works with my environment:
${offset 90}${font Ubuntu:bold:size=10}${color5}MEM
So for me, I had to find and replace:
font Ubuntu:size=10,weight:normal
with
font Ubuntu:bold:size=10
edited Aug 2 '16 at 13:57
grooveplex
2,20611433
2,20611433
answered Aug 1 '16 at 2:08
matrix8967matrix8967
365
365
add a comment |
add a comment |
Instead of
Ubuntu:size=8,weight:normal
try
font = 'Ubuntu:normal:size=8'
This assumes you are using Conky version 1.10.
add a comment |
Instead of
Ubuntu:size=8,weight:normal
try
font = 'Ubuntu:normal:size=8'
This assumes you are using Conky version 1.10.
add a comment |
Instead of
Ubuntu:size=8,weight:normal
try
font = 'Ubuntu:normal:size=8'
This assumes you are using Conky version 1.10.
Instead of
Ubuntu:size=8,weight:normal
try
font = 'Ubuntu:normal:size=8'
This assumes you are using Conky version 1.10.
answered Jun 17 '16 at 16:31
DK BoseDK Bose
13.7k124084
13.7k124084
add a comment |
add a comment |
Just remove ",weight
" part from font lines in conky
config:
For example, replace
[...]
${color5}${font Ubuntu:size=8,weight:normal}TOP
${font Ubuntu:size=8,weight:normal}${color1}${top name 1}${alignr}${top cpu 1}%
[...]
by
[...]
${color5}${font Ubuntu:size=8:normal}TOP
${font Ubuntu:size=8:normal}${color1}${top name 1}${alignr}${top cpu 1}%
[...]
P.S. Tested on Lubuntu 16.04 (conky 1.10).
1
worked for me on Ubuntu 18.04!
– Waylon Flinn
May 15 '18 at 16:56
I did it in Linux Mint 19 (Tara) Mate and after reload conky, same error appear. Like my config haven't changed anything.
– Marcelo Ágil
Nov 5 '18 at 16:33
add a comment |
Just remove ",weight
" part from font lines in conky
config:
For example, replace
[...]
${color5}${font Ubuntu:size=8,weight:normal}TOP
${font Ubuntu:size=8,weight:normal}${color1}${top name 1}${alignr}${top cpu 1}%
[...]
by
[...]
${color5}${font Ubuntu:size=8:normal}TOP
${font Ubuntu:size=8:normal}${color1}${top name 1}${alignr}${top cpu 1}%
[...]
P.S. Tested on Lubuntu 16.04 (conky 1.10).
1
worked for me on Ubuntu 18.04!
– Waylon Flinn
May 15 '18 at 16:56
I did it in Linux Mint 19 (Tara) Mate and after reload conky, same error appear. Like my config haven't changed anything.
– Marcelo Ágil
Nov 5 '18 at 16:33
add a comment |
Just remove ",weight
" part from font lines in conky
config:
For example, replace
[...]
${color5}${font Ubuntu:size=8,weight:normal}TOP
${font Ubuntu:size=8,weight:normal}${color1}${top name 1}${alignr}${top cpu 1}%
[...]
by
[...]
${color5}${font Ubuntu:size=8:normal}TOP
${font Ubuntu:size=8:normal}${color1}${top name 1}${alignr}${top cpu 1}%
[...]
P.S. Tested on Lubuntu 16.04 (conky 1.10).
Just remove ",weight
" part from font lines in conky
config:
For example, replace
[...]
${color5}${font Ubuntu:size=8,weight:normal}TOP
${font Ubuntu:size=8,weight:normal}${color1}${top name 1}${alignr}${top cpu 1}%
[...]
by
[...]
${color5}${font Ubuntu:size=8:normal}TOP
${font Ubuntu:size=8:normal}${color1}${top name 1}${alignr}${top cpu 1}%
[...]
P.S. Tested on Lubuntu 16.04 (conky 1.10).
edited Sep 23 '16 at 9:44
answered Sep 23 '16 at 9:38
DIG mblDIG mbl
1537
1537
1
worked for me on Ubuntu 18.04!
– Waylon Flinn
May 15 '18 at 16:56
I did it in Linux Mint 19 (Tara) Mate and after reload conky, same error appear. Like my config haven't changed anything.
– Marcelo Ágil
Nov 5 '18 at 16:33
add a comment |
1
worked for me on Ubuntu 18.04!
– Waylon Flinn
May 15 '18 at 16:56
I did it in Linux Mint 19 (Tara) Mate and after reload conky, same error appear. Like my config haven't changed anything.
– Marcelo Ágil
Nov 5 '18 at 16:33
1
1
worked for me on Ubuntu 18.04!
– Waylon Flinn
May 15 '18 at 16:56
worked for me on Ubuntu 18.04!
– Waylon Flinn
May 15 '18 at 16:56
I did it in Linux Mint 19 (Tara) Mate and after reload conky, same error appear. Like my config haven't changed anything.
– Marcelo Ágil
Nov 5 '18 at 16:33
I did it in Linux Mint 19 (Tara) Mate and after reload conky, same error appear. Like my config haven't changed anything.
– Marcelo Ágil
Nov 5 '18 at 16:33
add a comment |
That might be https://github.com/brndnmtthws/conky/issues/778 - use "true" instead of "yes".
add a comment |
That might be https://github.com/brndnmtthws/conky/issues/778 - use "true" instead of "yes".
add a comment |
That might be https://github.com/brndnmtthws/conky/issues/778 - use "true" instead of "yes".
That might be https://github.com/brndnmtthws/conky/issues/778 - use "true" instead of "yes".
answered 2 days ago
Cees TimmermanCees Timmerman
235216
235216
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f788228%2fconky-does-not-use-instructed-font-with-cant-load-xft-font-error%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown