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.
@ w1k0 thanks you. i've noticed theres alot of reading in linux... i notice your in poland so i have to leave you with a polish joke...what does a polish bride get on her wedding night thats long and hard? a last name!
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
Quote:
Originally Posted by myglide
i notice your in poland so i have to leave you with a polish joke...what does a polish bride get on her wedding night thats long and hard? a last name!
It wasn’t fair to ask me the question and give me the answer very close to it. I hadn’t the chance to try to guess the right answer (or to think up the new one).
I heard a few really good jokes in my life but because of the very bad memory I can’t tell you none of them.
So I translated for you a comic strip by Polish artist Marek Raczkowski. I like that strip very much. It’s made up of four pictures:
1. A man walks in the park and spots a little boy in a hooded red raincoat carrying a blue bucket which squats on the path here and there.
2. Man: “What do you do, boy?”. Boy: “I collect dogs poops”.
3. Man: “It’s very nice. Here you overlooked one of them”.
OFFTOPIC: That is a nice looking font. I am not very knowledgeable about fonts, may it be that this is not an Unicode font? I use some Unicode characters in my shell prompt, but they are only displayed as blocks with the Terminus font, is there a way to correct that?
I use utf8 too. After a Slackware fresh install I run this to
fix some encoding issues:
Code:
#!/bin/sh
# Fix fonts on Slackware
[ `whoami` != "root" ] && echo "You must be root" && exit 1
fontpath=/usr/share/fonts
installed="100dpi 75dpi OTF Speedo TTF Type1 cyrillic misc"
# Clean cache
rm /var/cache/fontconfig/* 2>/dev/null
# Clean fonts.* files
find $fontpath -name fonts.scale -delete
find $fontpath -name fonts.dir -delete
find $fontpath -name encodings.dir -delete
# Regenerate
for i in $installed; do
mkfontdir $fontpath/$i
mkfontscale $fontpath/$i
done
cd $fontpath/encodings
mkfontdir -n -e .
cd $fontpath/encodings/large
mkfontdir -n -e .
fc-cache --really-force --system-only --verbose
These encoding issues give problems with some X applications and
window managers (using utf-8).
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
Quote:
Originally Posted by TobiSGD
OFFTOPIC: That is a nice looking font. I am not very knowledgeable about fonts, may it be that this is not an Unicode font? I use some Unicode characters in my shell prompt, but they are only displayed as blocks with the Terminus font, is there a way to correct that?
To see the X Window terminus font which use UTF8 encoding run that command:
I hope my answer solved your problem ultimately. If not feel free to ask me the question. Then we could try to finish that.
(I overlooked your original question -- I spotted it in the reply by eloi -- that explains the delay in the answer.)
Some explanation.
The problem I found is encodings.dir files are not well
generated at installation time. That confuses X with some
encodings. I ignore if it's directly related or can fix the
TobiSGD issue but I judged useful to post it.
My workaround is a bit "brute force". Surely you can
improve it.
Can it be considered a bug report in Slackware folklore?
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
eloi,
You encountered some issues, you solved them, and that works for you. That’s good.
You published your solution and now the other folks can solve their problems as well. That’s great.
To make your hint more complete disclose here which encodings and which applications caused the issues and describe these issues a bit. It’ll be wonderful.
For me it is simple as that: The chars I use in my prompt (frowning face, smiling face) are not available in the Terminus font, but since I use a framebuffered CLI only on one machine and I like to keep my machine's configurations consistent I simply keep it with the standard font for now, maybe I will change the font in the future (and with that the prompt), but now I have no plans for that.
Nonetheless I nice lession about fonts, thanks.
You encountered some issues, you solved them, and that works for you. That’s good.
Not exact. Search on internet.
Quote:
You published your solution and now the other folks can solve their problems as well. That’s great.
To make your hint more complete disclose here which encodings and which applications caused the issues and describe these issues a bit. It’ll be wonderful.
I was concise because I didn't want to extend an off-topic comment.
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
Quote:
Originally Posted by eloi
I was concise because I didn't want to extend an off-topic comment.
Quote:
Originally Posted by eloi
Can it be considered a bug report in Slackware folklore?
The bug report includes the description of the bug. It isn’t off-topic. Off-topic was the puzzle part and the moderator split the thread into two parts. The other one is here. It’s moderator’s job.
So if you’d like to finish your “bug report” disclose here which encodings and which applications caused the issues and describe these issues a bit. In the other case different people could try your solution to solve the problems which aren’t related to it.
***
As I mentioned in the post #37 I don’t like X Window version of the terminus font so I stayed with -misc-fixed-* font which is much more readable in 9x15 size than ter-x16n. After a few days I switched back from the console ter-216n terminus font to the standard lat2-16 font – it’s much more readable as well. As I can recall in a remote past I tried terminus font and I switched back to my standard fonts. The terminus font is simply too delicate to be well readable.
As the terminus developers claim: it’s “a clean, fixed width bitmap font, designed for long (8 and more hours per day) work with computers”. Maybe it’s designed for such a purpose but it doesn’t meet the users’ expectations concerning the readability so it’s poorly designed though I have to admit that it looks very nice. Unfortunately the nice appearance doesn’t matter.
Last edited by w1k0; 03-23-2013 at 08:18 AM.
Reason: moving things to the right place
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.