[SOLVED]console fonts
I am trying to test various console fonts as discussed here:
http://wiki.archlinux.org/index.php/Fonts#Console_fonts
Testing console fonts, ie:
$ setfont /usr/share/kbd/consolefonts/gr737b-9x16-medieval.psfu.gz
has no effect.
showconsolefont gives:
$ showconsolefont
PIO_UNISCRNMAP: Operation not permitted
cannot change translation table
What do I need to change so that I can test consolefonts? Thanks.
Last edited by kekules_dream (2010-06-18 12:45:36)
How silly of me. This works fine
if you are in the console!
Please disregard.
Similar Messages
-
[SOLVED] Console Font Gets Reset During Boot
I've recently switched to Arch Linux and am quite happy with it. I've never had so much fun with Linux until a friend recommended Arch. I have since installed it on both my MacBook Pro and Mac mini. Everything has been pretty smooth, but I do have one issue.
During the boot process, the system starts up with its default console font, per the usual. I have edited /etc/vconsole.conf to set the font to Lat2-Terminus16 and to set the keyboard layout to Dvorak. Here's my current config:
KEYMAP=dvorak
FONT=Lat2-Terminus16
Part-way through the boot process, the font switches to use the new font. So far, so good. Shortly after, however, the screen gets cleared and continues to produce normal kernel messages until the screen is cleared once again and presents the boot prompt, but with the default console font as opposed to the font in vconsole.conf. I am able to re-set the font again by using the setfont command, but this is a bit of an inconvenience. The keyboard layout, however, is as it should be: set to Dvorak. So, systemd-vconsole-setup.service is doing its job.
I have narrowed down the problem to that when agetty starts, it seems to be resetting the font back to the default. I have tried adding nouveau (my machines have Nvidia) to the array of modules within /etc/mkinitcpio.conf and rebuilding initramfs, but I get the same results. I have also tried adding vconsole.font=Lat2-Terminus16 to the boot arguments in GRUB, but I get the same results. This is affecting both of my machines. I have updated them with pacman -Syu, but the problem still exists.
I have found a workaround which is to add a service to systemd (I call it fontfix.service), set it to start after getty.target, and have it included in multi-user.target. But is there a better way? Or is something else other than agetty resetting the font?
tl;dr
agetty appears to be resetting the console font after systemd-vconsole-setup.service sets the font. Is there a way to have agetty recognize what console font is currently is use? Or is something else other than agetty resetting the font?
Last edited by linux2647 (2013-01-10 07:30:30)https://wiki.archlinux.org/index.php/Sy … er_boot.3F
-
[SOLVED] Console Font Not Retained After Reboot
Hi, again. Happy to report that I successfully installed Arch Linux last night, with no problems whatsoever. Thanks to those who addressed my concerns. Still reading up on the package manager, user and group management, etc.
Anyway, one of the first things I noticed is that the console font gets reset after every reboot. I need to manually type "setfont Lat2-Terminus16" - which works just fine, except for the annoyance in having to do that each time I boot up. My /etc/vconsole.conf has the following:
KEYMAP=us
FONT=Lat2-Terminus16
Following the solution described here:
https://bbs.archlinux.org/viewtopic.php?id=155876
I added 'consolefont' (without quotes) to the beginning (first item) of the HOOKS line in /etc/mkinitcpio.conf. Then I rebuilt the initramfs by typing "mkinitcpio -p linux". Again, no errors during the rebuild.
I've rebooted several times, but there's no change... my selected console font is not retained.
Can anyone point what I'm doing wrong, or offer ideas? Thanks.
Last edited by R0b0ty (2013-03-06 16:52:42)Have you tried
If the fonts seems to not change on boot, or change only temporarily, it is most likely that they got reset when graphics driver was initialized and console was switched to framebuffer. To avoid this, load your graphics driver earlier. See for example KMS#Early_KMS_start or other ways to setup your framebuffer before /etc/vconsole.conf gets applied.
https://wiki.archlinux.org/index.php/Fonts#Examples_2 -
[Solved] console font issue
Hi there!
Can't get terminus-font in console
I installed terminus-font, and renamed it as it described at wiki:
cp /usr/share/kbd/consolefonts/ter-v14n.psf.gz /usr/share/kbd/consolefonts/ter-v14n.psfu.gz
FONT="ter-v14n" string added to /etc/vconsole.conf
"consolefont" hook added to mkinitcpio hooks list, mkinitcpio rebuilt.
But after reboot I still have a default font.
During boot I can see that font switches to terminus but at login prompt it switches back to default font.
I think font itself is ok: I can switch to terminus manually by running 'setfont ter-v14n' and it works fine. But it so boring to do it on every boot...
Where am I wrong?
Thanks in advance.
Last edited by chord (2014-08-10 00:15:25)That's Russian and I'd rather not touch non-English pages. I barely have to time to fix the English ones, so spreading myself thinner isn't going to help.
https://en.wikipedia.org/wiki/Cyrillic_script
Google translated the part about the cp command as
In this case, after the installation of many of the fonts, for example, terminus, font files, and even get there automatically, but are unsupported extension psf.gz. To a certain variable CONSOLEFONT font was found, rename the font file to its expansion was psfu.gz.
That's not true - at least not anymore. Maybe it once was <shrugs>
$ cat /etc/vconsole.conf
FONT=ter-v16n
FONT_MAP=8859-2
KEYMAP=pl2
$ ls -l /usr/share/kbd/consolefonts/ter-*.psfu.gz
$ ls -l /usr/share/kbd/consolefonts/ter-v16n.psf.gz
-rw-r--r-- 1 3.7K May 8 16:33 /usr/share/kbd/consolefonts/ter-v16n.psf.gz
Look, Ma, no psfu.gz files!
Edit: Quick rm https://wiki.archlinux.org/index.php?ti … did=316040
Last edited by karol (2014-08-09 22:46:15) -
[solved] Console font not displaying characters properly
I have set up /etc/vconsole.conf to read as follows, as laid down in the unofficial beginners guide (or somewhere linked to from there)
KEYMAP=us
FONT=ter-114n
When I boot, I get the proper font (that's one of the terminus-font s). But if i do something like
% mv "hi" "hi"
the characters that SHOULD be apostrophes are in fact... The greek letter rho or something. I don't know. However, if I run "setterm ter-114n" it loads both the font correctly, as well as the mapping. I cannot for the life of me figure out where it's getting that correct mapping, or how I can just load it automatically.
Anybody know what else I need to do to have it set itself up?
Thanks
Last edited by scott_fakename (2013-06-20 15:22:41)Maybe your problem is similar to this one, read the bug report.
https://bugs.archlinux.org/task/35721 -
[solved]systemd and console font
Hi guys. I've just switched my laptop over to systemd and so far I'm finding it great! I am, however, having a slight issue with getting it to set a console font, err, properly.
KEYMAP=uk
FONT=Lat2-Terminus16
Before switching to systemd, this worked fine. However now when I boot up, the font is set early (I have the hook in mkinitcpio.conf) but once I get to the login screen, the screen flickers and I end up back on the default font. I've tried this with several of the available fonts and it happens with all of them. I don't have it set anywhere else, so I'm not sure why the font is being reset. Has anyone else come across this issue yet?
Cheers.
Last edited by JHeaton (2012-08-25 20:20:34)bohoomil wrote:Did you really rebuild the initramfs? Once it becomes a part of your boot image, it shouldn't be reset (which happens when the video driver like nouveau gets loaded: if this is the case, add your video driver to the MODULES array in /etc/mkinitcpio,conf and rebuild the image again). I have been doing the very same thing every time I prepare a new setup and it always works as expected.
Yes, I did rebuild it. I didn't have the video driver in MODULES though; adding it has now solved the issue. Don't know why I hadn't added i915 to that array though.
Thanks very much for your help. -
[SOLVED] "Loading console font" fails at boot
Hello everyone,
At each boot, the line where it loads the console font fails. The font configured in rc.conf is "161", it's the one by default on installation.
/var/log/boot
Loading Console Font: 161 ^[[231G [BUSY] ^[[231G [FAIL]
It's a fresh install done today.
Any idea why it would fail that?
Last edited by blno (2012-01-06 21:18:47)Navigate to /usr/share/kbd/consolefonts, pick the font, test it by issuing
setfont font-name.gz
-- and if everything works OK, add it to rc.conf and rebuild your initramfs.
Edit (because I'm extremely short-minded): while adding the font to the rc.conf file, do so without any extensions, eg. Uni2-Fixed16. And 2: before you rebuild your initramfs, it's wise to add "consolefont" to HOOKS in mkinitcpio.conf. It's not obligatory, but this way the new font will become active at the earliest boot stage.
Last edited by bohoomil (2012-01-04 22:52:51) -
[SOLVED] Virtual console font setting is not being applied
TL;DR I want to have the ter-114b font (from the terminus-font package; its path is /usr/share/kbd/consolefonts/ter-114b.psf.gz) as my console font.
What have I done:
% cat /etc/vconsole.conf
KEYMAP=br-abnt2
FONT=ter-114b
According to the wiki, this setting should be sufficient. However, there is something wrong, because whenever I reboot my computer, I get the default font instead (I can notice that by executing setfont ter-114b, then I see the difference).
Further information:
% systemctl status systemd-vconsole-setup
● systemd-vconsole-setup.service - Setup Virtual Console
Loaded: loaded (/usr/lib/systemd/system/systemd-vconsole-setup.service; static; vendor preset: disabled)
Active: active (exited) since Sa 2014-12-20 19:41:23 BRST; 12min ago
Docs: man:systemd-vconsole-setup.service(8)
man:vconsole.conf(5)
Process: 193 ExecStart=/usr/lib/systemd/systemd-vconsole-setup (code=exited, status=0/SUCCESS)
Main PID: 193 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/systemd-vconsole-setup.service
The Wiki also mentions something about loading KMS earlier than vconsole, however I'm not sure if this refers to the part which talks about putting 'consolefont' as a mkinitcpio hook, or if this refers to the whole section. Anyways, even if I tried to follow this, the problem is the i915 hook (my notebook has an Intel graphics card) doesn't exist as a mkinitcpio module, as the wiki indicates. Or I don't have the necessary module file.
Any clues about what could be wrong here?
Edit: typo
Last edited by thiagowfx (2014-12-20 23:06:53)Stripped down version of pacman -Ql mkinitcpio. Notice that there is no i915 hook:
mkinitcpio /etc/
mkinitcpio /etc/initcpio/
mkinitcpio /etc/initcpio/hooks/
mkinitcpio /etc/initcpio/install/
mkinitcpio /etc/mkinitcpio.conf
mkinitcpio /etc/mkinitcpio.d/
mkinitcpio /usr/
mkinitcpio /usr/bin/
mkinitcpio /usr/bin/lsinitcpio
mkinitcpio /usr/bin/mkinitcpio
mkinitcpio /usr/lib/
mkinitcpio /usr/lib/initcpio/
mkinitcpio /usr/lib/initcpio/functions
mkinitcpio /usr/lib/initcpio/hooks/
mkinitcpio /usr/lib/initcpio/hooks/consolefont
mkinitcpio /usr/lib/initcpio/hooks/keymap
mkinitcpio /usr/lib/initcpio/hooks/memdisk
mkinitcpio /usr/lib/initcpio/hooks/resume
mkinitcpio /usr/lib/initcpio/hooks/shutdown
mkinitcpio /usr/lib/initcpio/hooks/sleep
mkinitcpio /usr/lib/initcpio/hooks/usr
mkinitcpio /usr/lib/initcpio/init
mkinitcpio /usr/lib/initcpio/init_functions
mkinitcpio /usr/lib/initcpio/install/
mkinitcpio /usr/lib/initcpio/install/autodetect
mkinitcpio /usr/lib/initcpio/install/base
mkinitcpio /usr/lib/initcpio/install/block
mkinitcpio /usr/lib/initcpio/install/consolefont
mkinitcpio /usr/lib/initcpio/install/filesystems
mkinitcpio /usr/lib/initcpio/install/fsck
mkinitcpio /usr/lib/initcpio/install/fw
mkinitcpio /usr/lib/initcpio/install/keyboard
mkinitcpio /usr/lib/initcpio/install/keymap
mkinitcpio /usr/lib/initcpio/install/memdisk
mkinitcpio /usr/lib/initcpio/install/mmc
mkinitcpio /usr/lib/initcpio/install/modconf
mkinitcpio /usr/lib/initcpio/install/pata
mkinitcpio /usr/lib/initcpio/install/resume
mkinitcpio /usr/lib/initcpio/install/sata
mkinitcpio /usr/lib/initcpio/install/scsi
mkinitcpio /usr/lib/initcpio/install/sd-shutdown
mkinitcpio /usr/lib/initcpio/install/sd-vconsole
mkinitcpio /usr/lib/initcpio/install/shutdown
mkinitcpio /usr/lib/initcpio/install/sleep
mkinitcpio /usr/lib/initcpio/install/strip
mkinitcpio /usr/lib/initcpio/install/usb
mkinitcpio /usr/lib/initcpio/install/usbinput
mkinitcpio /usr/lib/initcpio/install/usr
mkinitcpio /usr/lib/initcpio/install/virtio
mkinitcpio /usr/lib/initcpio/shutdown
mkinitcpio /usr/lib/initcpio/udev/
mkinitcpio /usr/lib/initcpio/udev/01-memdisk.rules
Also, suppose I add this hook anyway, so my /etc/mkinitcpio.conf has this line:
HOOKS="base systemd autodetect i915 modconf block filesystems btrfs keyboard consolefont keymap fsck"
Output of mkinitcpio -p linux:
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.17.6-1-ARCH
-> Running build hook: [base]
-> Running build hook: [systemd]
-> Running build hook: [autodetect]
==> ERROR: Hook 'i915' cannot be found
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [btrfs]
-> Running build hook: [keyboard]
-> Running build hook: [consolefont]
-> Running build hook: [keymap]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.17.6-1-ARCH
-> Running build hook: [base]
-> Running build hook: [systemd]
==> ERROR: Hook 'i915' cannot be found
-> Running build hook: [modconf]
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
-> Running build hook: [filesystems]
-> Running build hook: [btrfs]
-> Running build hook: [keyboard]
-> Running build hook: [consolefont]
-> Running build hook: [keymap]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
See? This hook doesn't exist in my system for some odd reason. Maybe some package is missing? I have xf86-video-intel. -
Console font size in console mode Arch x86_64
hi
i do fresh install Archlinux 2013 x86_64. so i see some change btwin that and 2011, any way , everythings work OK, fast (KDE) but sometime i need work in console mode (ctrl+alt+f1) but i cant change resolution of console font, because now is settingsome basic and so big. i have nvidia card and drivers. i try read ths https://wiki.archlinux.org/index.php/Uvesafb but i cant find some solutions how setting everything with grub2 etc. in my old laptop i have arch 2011 and grub1 but everything work OK include console font, that was much better to setting, in that arch i cant find any working solution, so please help me if somebody know about this.
thanks
Last edited by H20 (2013-03-01 20:44:07)[ 15.458823] NVRM: Your system is not currently configured to drive a VGA console
[ 15.458830] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
[ 15.458834] NVRM: requires the use of a text-mode VGA console. Use of other console
[ 15.458838] NVRM: drivers including, but not limited to, vesafb, may result in
[ 15.458841] NVRM: corruption and stability problems, and is not supported.
I suspect that it's still the case. You may even have this message in your own dmesg.
Switch console to VGA mode and use xterm instead.
This has nothing to do with resolution setting in a framebuffer, which is what the title of the thread suggests.
I'm pretty sure it does - it looks like the console is being switched to VGA text mode; nvidia has no reason to touch fonts.
Last edited by mich41 (2013-03-01 21:40:35) -
Problem with Consolas font in a form
I have problem with Consolas font in a form in latest Adobe Reader (v11.0.9)
It shows dots (password sign) instead of letters. Edit box is not configured for passwords.
Form was created by Foxit PhantomPDF and it shows correctly in Foxit.
Can somebody check PDF for errors or warnings?
http://www60.zippyshare.com/v/71759184/file.htmlYou should embed these fonts in the document.
If you need more help with this, please ask in the Acrobat forum. -
How to use console font in terminal
i love console font and color in the way it appears. there are some thread but it's not actually a solutions. https://bbs.archlinux.org/viewtopic.php?id=138811
https://bbs.archlinux.org/viewtopic.php?id=77522
is it possble to convert bitmap font to ttf fon?
i really want to work in X with terminal like console (the same meaning).
any suggestion? (tks for reading)litemotiv wrote:
jasonwryan wrote:
Have you tried copying the required font to a directory X knows about; eg.,
/usr/share/fonts/local
(assuming that is in your fontpath)?
I don't have a font called terminal in my /usr/share/kbd/consolefonts/ but
having Tamsyn there and in the fonts/local means I can use it in TTY and X.
No that doesn't seem to work, it looks like they are a different format (PSF versus PCF).
There is this for converting PCF to PSF: http://unix.stackexchange.com/a/21144 (courtesy of...)
So we should need a utility to do the opposite i guess.
As always, there are a couple of steps:
You can use psftools to convert from .psf to .bdf, and from there to .pcf
...in theory, anyway
Both tools are helpfully available
1. https://aur.archlinux.org/packages.php?ID=22491
2. http://www.archlinux.org/packages/extra … -bdftopcf/ -
Restoring default console font size
I recently performed a long overdue series of updates, and now I'm facing the same font size issue that was discussed in this thread: https://bbs.archlinux.org/viewtopic.php?id=96768
Now I've seen this page, which talks about changing the font and the size: https://wiki.archlinux.org/index.php/Fo … fault_font
But the thing is I actually like the font, it's just the size that I'm trying to change. When the system starts to boot, the size is great. It's only after "waiting for udev uevents to be processed" has finished that the font gets tiny. So I know the right settings are somewhere in there, I just don't know where to keep them the way they are without getting changed.
I have a sneaking suspicion the fix is easy, I'm just missing it. Any help would be greatly appreciated!
Last edited by Infrared (2012-06-03 02:49:31)jasonwryan wrote:
Instructions for changing the default console font are on the wiki: https://wiki.archlinux.org/index.php/Fo … fault_font
As far as I can tell, the default font is called, oddly enough, default - and if you look in /usr/share/kbd/consolefonts you will see only two options: 8x16 and 8x9 - use setfont to confirm.
If neither of those is large enough after KMS kicks in, you might try one of the other older school fonts in that directory.
Oddly enough, it is called default, haha. Played around with a couple of the font settings, but what wound up happening was that it would load the font, and then after ""waiting for udev uevents to be processed" finished, the font got tiny again.
So it might be a resolution thing. Will look into that.
Gusar wrote:When this comes up (this thread is by far not the first one on this subject), the reaction is always advising to change the font. Never to change the resolution. Yet another one of the weird phenomenons I find so interesting.
Suggestions on best method to do so?
Last edited by Infrared (2012-06-04 01:46:15) -
Consolas font rendering issues
Hi All,
Consolas font is not getting rendered properly with Konsole on KDE & Openbox. LXTerminal on KDE is displaying the same behaviour. But it works well with LXterminal on Openbox 3.5.2.
Any idea where the problem could be?
http://aruncpp.blogspot.com/2014/02/con … linux.html
Thanks,
ArunYeah I've never seen this before either. Please open a
support webcase!
Flash Player technical support is available via webcase only
at:
http://www.adobe.com/support/contact/
There is no phone support for Flash Player.
Be sure to provide OS and system info..
Also, if it were my machine I'd create a new admin user
profile, install a browser to that profile, then install FP10 and
test with -just- that profile... -
Console font is huge. I see the font variable in rc.conf, but not sure what to do to make it smaller. All the font names look like gibberish, and I don't want a new font. I just want this font smaller, so that the screen can show more than 25 lines at a time.
Add vga=*** to your grub menu.lst. It should look like this:
kernel /vmlinuz26 root=/dev/hda3 ro vga=789
You can change the vga number to whatever you want. -
What changed with console fonts?
Yesterday I did an upgrade for the first time in three months. Everything went fine except I lost my lat9-16 console fonts as stated to use in /etc/rc.conf. I just get questionmarks instead, which indicates the font file cannot be found by the system. No panic, I just use default fonts instead. But I want to know what changed from three months ago. Thanks.
Last edited by Abakaba (2009-03-24 14:23:05)pacman.log will tell you what was updated. It's generally a lot easier to determine which package did something if there are only a few package upgrades, rather than hundreds.
Maybe you are looking for
-
How Do I Set RecordSource in VBA to a Predefined Query?
How Do I Set RecordSource in VBA to a Predefined Query? For example... Me.RecordSource = qryAllUsers Does not work. Thanks, Dave
-
Hi: We are in the process of creating a data mart. We decided to use SCD Type 2 for dimensions. I read the SCD 2 transformation logic framework from Oracle Warehouse Builder. Is there any new framework available for this? I also read Chris Busch's fr
-
just found my phone after it being lost for a month and dont remember the passcode what do i do
-
Can't set up Range Extender AC1200
And the reason is so stupid I'd like to kick the guy who created the set up process in the groin!! The software walks you through the steps but it doesn't have and option to skip the 5Ghz set up. I have the 5G disable on my router, I have no items
-
XK01 - Company ID for trading partner - default value
Hi gurus, I would really appreciate your help on this one: I need to insert a default value in the "company ID for trading partner" field when creating a vendor(or customer). The value must be inserted when using transaction XK01 either manually or v