You are not logged in.

#1 2018-09-17 09:16:55

Zhme
Member
Registered: 2017-06-11
Posts: 80

[Solved] Couldn't get file descriptor... | Issue with setting font

I have been attempting to get my xterm configured and looking more presentable but I keep having issues with setting my font for the console.  I have read the several pages in the fonts category and searched numerous times for useful answers online to no avail.

I'm not entirely sure which commands will give relevant output for this particular problem but I can do my best ahead of time to expedite this process!

This output keeps showing up after all the steps I've taken to get rid of it, general search engine browsing doesn't really give a specific reason so it seems to be somewhat of a core error for a generalized problem.

Couldn't get a file descriptor referring to the console

contents of /etc/vconsole.conf

KEYMAP=us

I've tried to modify this file but I now have no use of my Windows key so I just removed everything but this line...

.Xresources

!Theme Nine
xterm*background: rgb:1a/1a/1a
xterm*foreground: rgb:00/4d/00
xterm*color0:     rgb:00/00/00
xterm*color1:     rgb:9e/18/28
xterm*color2:     rgb:00/88/00
xterm*color3:     rgb:96/8a/38
xterm*color4:     rgb:41/41/71
xterm*color5:     rgb:96/3c/59
xterm*color6:     rgb:41/81/79
xterm*color7:     rgb:be/be/be
xterm*color8:     rgb:66/66/66
xterm*color9:     rgb:cf/61/71
xterm*color10:     rgb:7c/bc/8c
xterm*color11:     rgb:ff/f7/96
xterm*color12:     rgb:41/86/be
xterm*color13:     rgb:cf/9e/be
xterm*color14:     rgb:71/be/be
xterm*color15:    rgb:ff/ff/ff

xterm*font:  *-fixed-*-*-*-18-*

xterm*cursorColor: #d6d6d6

I hope before I get scolded I can avoid some of that by stating that I have read the wiki pretty thoroughly, but I don't have a great amount of experience with GNU/Linux so some of the steps may have went over my head or be misunderstood and/or overcomplicated (by myself).  I would like to set my font to the DeJaVu or the Terminus font for xterm so that I won't run into font sizing issues anymore.

Last edited by Zhme (2018-09-17 17:20:16)

Offline

#2 2018-09-17 13:07:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,840

Re: [Solved] Couldn't get file descriptor... | Issue with setting font

xterm.*.faceName: DejaVu Sans Mono
xterm.*.faceSize: 9

Offline

#3 2018-09-17 13:43:26

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,541
Website

Re: [Solved] Couldn't get file descriptor... | Issue with setting font

I gather you are trying to run `setfont` in an xterm.  Xterm is a terminal emulator, it is not a console itself, so setfont (and other tty-console-only programs) will not work.  You set the xterm font in Xdefaults/Xresources.

Once you set the font in that file as directed by Seth, then you have to ensure the file is loaded using xrdb as described in the wiki (most likely in your ~/.xinitrc).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2018-09-17 17:19:04

Zhme
Member
Registered: 2017-06-11
Posts: 80

Re: [Solved] Couldn't get file descriptor... | Issue with setting font

Wow, I'm glad I posted in the right section, using setfont in my initial console sets font and the FONT assignment in vconsole remains effectively... As for assigning the xterm value the font assignment appears to have worked but the font size gives an obnoxious character spacing, curious.  Marked as solved thank you all!

Last edited by Zhme (2018-09-17 17:21:02)

Offline

#5 2018-09-17 17:36:51

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [Solved] Couldn't get file descriptor... | Issue with setting font

Zhme wrote:

As for assigning the xterm value the font assignment appears to have worked but the font size gives an obnoxious character spacing, curious.

You are setting an installed monospace font, yes?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB