Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-13-2016, 03:29 AM
|
#1
|
LQ Newbie
Registered: Sep 2016
Posts: 3
Rep: 
|
Using Font Awesome in terminal
Here is how font awesome icon is displayed in terminal:
http://i.imgur.com/B59n2qD.png
and sublime text:
http://i.imgur.com/zKrcGpm.png
How can I fix font awesome icon in terminal? Is there a way to do it?
|
|
|
12-13-2016, 10:31 AM
|
#2
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by slirx
|
you should be able to just install your font, update cache, then go into your terminal preferences then change your font.
unless you're using something like xterm, where you'd have to edit its config file.
|
|
|
12-13-2016, 11:23 AM
|
#3
|
LQ Newbie
Registered: Sep 2016
Posts: 3
Original Poster
Rep: 
|
Quote:
Originally Posted by BW-userx
you should be able to just install your font, update cache, then go into your terminal preferences then change your font.
unless you're using something like xterm, where you'd have to edit its config file.
|
Font Awesome is installed, because I can see the icon between <span> and </span>. The problem that the icon is displayed with fixed character width and </span> after the icon overlays it.
I've tried urxvt, termite, xfce4-terminal.
|
|
|
12-13-2016, 11:28 AM
|
#4
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by slirx
Font Awesome is installed, because I can see the icon between <span> and </span>. The problem that the icon is displayed with fixed character width and </span> after the icon overlays it.
I've tried urxvt, termite, xfce4-terminal.
|
I hope this is what you are doing and it helps
After you get up and running, you can place Font Awesome icons just about anywhere with the
and hopefully this
http://askubuntu.com/questions/70022...-character-map
here too
gabrielelana/awesome-terminal-fonts
Last edited by BW-userx; 12-13-2016 at 11:32 AM.
|
|
|
12-13-2016, 11:39 AM
|
#5
|
LQ Newbie
Registered: Sep 2016
Posts: 3
Original Poster
Rep: 
|
Quote:
Originally Posted by BW-userx
|
No, it does not help. The first link is about using Font Awesome in web browser. I need to fix displaying the icon in linux terminal ( https://en.wikipedia.org/wiki/Linux_console), not web browser. The next link doesn't contain anything related to terminal too.
Anyway, thanks.
|
|
|
12-13-2016, 11:45 AM
|
#6
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by slirx
No, it does not help. The first link is about using Font Awesome in web browser. I need to fix displaying the icon in linux terminal ( https://en.wikipedia.org/wiki/Linux_console), not web browser. The next link doesn't contain anything related to terminal too.
Anyway, thanks.
|
that third link I put in there has icon fonts for terminal use
|
|
|
12-14-2016, 01:05 PM
|
#7
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
Terminals tend to have fixed width fonts. You might try with urxvt, rxvt with unicode extenstions. Although likely futile IMO if you're not monospace and/or bitmap font wise. Or use the gui versions of emacs / vi.
|
|
|
All times are GMT -5. The time now is 06:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|