Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

[SOLVED] Emojis on rxvt-unicode

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
lbjork64
n00b
n00b
Posts: 6
Joined: Wed Sep 27, 2017 3:58 pm
Location: Sweden
Contact:
Contact lbjork64
Website

[SOLVED] Emojis on rxvt-unicode

  • Quote

Post by lbjork64 » Thu Oct 12, 2017 1:33 pm

I am having a bit of a problem getting Unicode emojis to render on rxvt-unicode. So far, I've installed the font "Emojione Color".
I've also added this entry to ~/.Xresources and merged it with xrdb:

Code: Select all

URxvt*font: xft:DejaVu Sans Mono:size=10,xft:Emojione Color:size=10
URxvt*letterSpace: -2
I've also checked the spelling to make sure I didn't say "colour" instead of "color". And yet, emojis refuse to render properly -- only appearing as square boxes.

What should I do?

EDIT:

.ps 36
.ft B
SOLVED: SOLUTION:
.ft R
Use xterm or st.
Last edited by lbjork64 on Thu Oct 12, 2017 9:59 pm, edited 1 time in total.
I'm a wanna-be computer scientist. Not good at anything. When I die, throw me in the trash.
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Thu Oct 12, 2017 8:21 pm

urxvt only supports the first 64K characters. Install a terminal that doesn't lie about its unicode support, like st or xterm.
Top
Zucca
Administrator
Administrator
User avatar
Posts: 4706
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Fri Oct 13, 2017 4:37 pm

Ant P. wrote:urxvt only supports the first 64K characters.
Interesting... I like urxvt, but this might be a reason to change. So... urxvt supports "utf-6"? :roll:
st sure is "pure" in it's design. It should replace xterm as a "default" term in xorg (imo).
..: Zucca :..

Code: Select all

0100100100100000011000010110110100100000
0100111001100001010011100010000100100000
0100100100100000011000010110110100100000
0110000100100000011011010110000101101110
00100001
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Fri Oct 13, 2017 5:07 pm

urxvt only supports UCS-2, like Windows 2000 or Java 1.3. The author is one of those types that gets angry if you so much as point out bugs, so it'll likely never be fixed (same goes for its use of manually-premultiplied alpha transparency and color escape code parsing).

st's unicode isn't perfect, it doesn't know some characters should be double-width, but at least it's trying.
Top
Zucca
Administrator
Administrator
User avatar
Posts: 4706
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Sat Oct 14, 2017 8:08 pm

I wonder how's the support on other terminal emulators then... Like Konsole, xfce-terminal or even alacritty.
..: Zucca :..

Code: Select all

0100100100100000011000010110110100100000
0100111001100001010011100010000100100000
0100100100100000011000010110110100100000
0110000100100000011011010110000101101110
00100001
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Sat Oct 14, 2017 8:42 pm

AFAIK most of the heavyweight terms nowadays are just wrappers around libvte, which should get this stuff right.
Top
zlg
Retired Dev
Retired Dev
Posts: 49
Joined: Tue Sep 11, 2012 2:32 am
Location: Earth

  • Quote

Post by zlg » Tue Oct 17, 2017 11:34 pm

Thanks for the info on terminals, Ant P. You seem to know quite a bit about terminal emulators; are there any that can mimic urxvt's Ctrl+Shift (ISO 14755 mode) behavior? For example, I can hold Ctrl+Shift, then press 2665. When I let go of the modifier keys, it prints ♥, as expected. I know GTK+ enabled terminal emulators have Ctrl+Shift+u <numbers><Enter>, but urxvt's chord feels more natural. Do other terminal emulators offer anything like that?
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Wed Oct 18, 2017 5:58 pm

urxvt's is done via a perl plugin iirc. No idea if others have anything like that.

XCompose is a better way of doing unicode imo: it works in any window (even Wine ones), and the default list (in /usr/share/X11/locale/en_US.UTF-8/Compose) covers nearly everything I can think of wanting to use regularly. Note that it makes heavy use of "<Multi_key>" which defaults to shift+altgr (not altgr+shift!)
Top
Post Reply

8 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic