Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions on xgterm #8

Open
wuqso opened this issue Apr 29, 2019 · 3 comments
Open

Questions on xgterm #8

wuqso opened this issue Apr 29, 2019 · 3 comments

Comments

@wuqso
Copy link

wuqso commented Apr 29, 2019

I was able to install x11iraf and I have two questions on xgterm.

  1. On the high DPI screen of my laptop, the xgterm window and the fonts therein are small even I use 'xgterm -fn 12x24'.
  2. There are three backslashes before the prompt in the xgterm window.
    screen
@olebole
Copy link
Member

olebole commented Apr 29, 2019

The backslashes probably come from escape sequences of your shell prompt. They will not appear in IRAF.
For highdpi screens: Fixes are welcome. Just open a Pull Request ;-)

@olebole
Copy link
Member

olebole commented Sep 28, 2021

Just a hint for highdpi screens: you can use the fonts "lucidasanstypewriter-12" or "terminus-18" which give you larger screen. You may play with the size; lucidasanstypewriter isavailable in 8/10/12/14/18/24, and terminus in 12/14/16/18/20/22/24/28/32.

To play with it, just add it as a command line option, xgterm -fn lucidasanstypewriter-12 -e irafcl. To make it permanent, put it into the ~/.Xresources and merge it with xrdb ~/.Xresources.

For the Terminus font, you need to install the package xfonts-terminus, and (if you don't want to restart the X server) do a xset fp rehash.

@Firestar-Reimu
Copy link

Firestar-Reimu commented May 20, 2024

I use Archlinux, I struggled for this afternoon to fix this.

  1. install xorg-mkfontscale, you have mkfontdir and mkfontscale
  2. install xorg-xlsfonts you have xlsfonts
  3. mkfontscale && mkfontdir && xset fp rehash, and then xlsfonts, see what fonts do you have? if there is no what you like you can install some packages like xorg-fonts-misc xorg-fonts-100dpi terminus-font
  4. test what font you like with xgterm -fn ???, for me it is lucidasanstypewriter-24
  5. add xgterm*font: lucidasanstypewriter-24 to ~/.Xresources and merge it with xrdb ~/.Xresources
  6. do a xset fp rehash, check xrdb -query

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants