roman

@hi@romanzolotarev.com




homehttps://romanzolotarev.com

176 following, 474 followers

0 ★ 1 ↺

[?]roman » 🌐
@hi@romanzolotarev.com

how to set font in xterm on ? for example, i want

  • facename spleen-6
  • scaled up to 18px
  • no antialiasing
i've tried a few things in my .Xdefaults, but nothing works as expected

    ...
    Older...

    [?]Alex » 🔓
    @holsta@mastodon.art

    @hi This .Xdefaults works for me (I have poor eyesight, so adjust as needed):

    HIDPI
    XTerm*faceName: spleen:pixelsize=64:antialias=false
    XLock*font: spleen:pixelsize=64:antialias=false

    XTerm*faceName: spleen:pixelsize=32:antialias=false
    XLock*font: spleen:pixelsize=32:antialias=false

      ...

      [?]kasperd » 🔓
      @kasperd@westergaard.social

      I was wondering if this can be specified on the command line in order to test how it looks before putting it in .Xdefaults

        [?]Peter Kotrčka » 🌐
        @peterkotrcka@mastodon.bsd.cafe

        @hi I'm using .Xresources like this: pkotrcka.inlisp.org/.Xresources and then don't forget to load it with xrdb: wiki.archlinux.org/title/X_res

        I have this in my .xinitrc / .xsession :
        pkotrcka.inlisp.org/.xinitrc

          [?]Garvalf » 🌐
          @garvalf@ludosphere.fr

          @hi can't tell if it's similar on bsd, but on debian I have to remove some default config and source mine from my bashrc:

          github.com/farvardin/dotfiles/

            [?]pmjv s klapkami na očích » 🌐
            @pmjv@snac.lab8.cz

            I don't think xterm itself can scale up anything.

            pkg_add spleen
            xset +fp /usr/local/share/fonts/X11/misc
            # in .Xresources
            *faceName: spleen-6
            xrdb -merge .Xresources
            You have to use xrandr, either
            --dpi n
            or
            --scale .n --filter none

            if you use gui programs, you might have a bad time

            ymmv

            ...
            1 ★ 0 ↺

            [?]roman » 🌐
            @hi@romanzolotarev.com

            @pmjv@snac.lab8.cz thank you. seems like the only solution. i was hoping xterm can scale up...

              [?]zolaris » 🌐
              @zolaris@mastodon.illumos.cafe

              @hi

              ```xrdb -merge .Xresources```

              is the magic ingrident.

                [?]𝙹𝚘𝚎𝚕 𝙲𝚊𝚛𝚗𝚊𝚝 ♑ 🤪 » 🌐
                @joel@gts.tumfatig.net

                @hi there is xterm*facename and xterm*facesize. Also, there is xft*dpi (or xrandr —dpi). Not sure if that targets you question but that’s what I have here to deal with fint size.

                History