LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-07-2019, 01:12 PM   #1
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 1,105

Rep: Reputation: Disabled
Xfce4-terminal: hieroglyphic fonts


I seem to have found another glitch with xfce4-terminal and mc.

* Launch xfce4-terminal.
* Open mc.
* Select a text file.
* Press F4 to launch mcedit.
* Exit mcedit.

The fonts in the tab and window title bar change to some kind of hieroglyphics fonts. Perhaps some kind of line font, I don't know.

I fiddled some with LC environment variables. Same hieroglyphic results.

I configured mc to use an external editor and changed EDITOR=nano and VISUAL=nano. Same hieroglyphic results.

I am unable to replicate the hieroglyphics in mate-terminal or [u]xterm. The glitch seems isolated to xfce4-terminal.

Any ideas?

Edit: I installed roxterm and see the same hieroglyphic results. Curious. Possibly points to the underlying vte engine?

Last edited by upnort; 09-07-2019 at 01:41 PM.
 
Old 09-07-2019, 02:11 PM   #2
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Brú na Bóinne, IE
Distribution: Slackware, NetBSD
Posts: 1,600

Rep: Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099
Quote:
Originally Posted by upnort View Post
I seem to have found another glitch with xfce4-terminal and mc.

...

Any ideas?
You asked for ideas; here's mine. Stop fighting all these second-rate terminals and just use xterm, a battle-tested terminal designed to work with X. Spend some time getting ~/.Xresources to your satisfaction. Knowing you I have no doubt you already have .Xresources working to your satisfaction. Then get tmux or screen working if you want multiple tabs in your terminal. I'm probably one of the few who went from tmux to screen and found screen better behaved and just as easy to configure.

Result? I've had no issues since I moved to xterm and abandoned all the other terminal emulators I had been trying over the years: rxvt-unicode, konsole, xfce-terminal. The only other terminal I'm happy with is mlterm, but that's because I own a Japanese van and I know what that country is like in its pursuit of perfection.
 
Old 09-07-2019, 02:38 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,093

Rep: Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929
xfce4-terminal (I assume you mean the one in -current?) just isn't very good.

Use Kitty.

It has 24-bit color support, displays every character in quickbrown.txt, can display color emoji, and has a featureset that's intended to make tmux redundant. It's also famously performant.
Attached Thumbnails
Click image for larger version

Name:	kitty_with_pattern.png
Views:	30
Size:	86.2 KB
ID:	31317  

Last edited by dugan; 09-07-2019 at 03:05 PM.
 
Old 09-07-2019, 03:47 PM   #4
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 1,105

Original Poster
Rep: Reputation: Disabled
Quote:
Stop fighting all these second-rate terminals and just use xterm, a battle-tested terminal designed to work with X
You have a point. I am somewhat surprised after all these decades that there seems to be no simple base foundation for X terminal emulators that all developers might use. I thought vte was supposed to be such a foundation, but perhaps I misunderstand. After all these decades the simple things like this should not break.

Quote:
Then get tmux or screen working if you want multiple tabs in your terminal.
Big missing feature for me with xterm is tabs. I already use screen but I don't think that will help me with respect to replacing multiple tabs. Often I have a terminal window open with several tabs. I'm not into tiling windows either so multiple terminal windows won't help.

Quote:
displays every character in quickbrown.txt,
Now that file is an interesting test. On my system xfce4-terminal fails dramatically. To be certain I used a test account and defaults. Changing xfce4-terminal to UTF-8 renders quickbrown.txt correctly but makes no difference with respect to the original hieroglyphic results.
 
Old 09-07-2019, 03:54 PM   #5
TheRealGrogan
Member
 
Registered: Oct 2010
Location: Ontario, Canada
Distribution: Slackware, Manjaro (for gaming)
Posts: 129

Rep: Reputation: 106Reputation: 106
This is my favourite terminal, you can pry RXVT (well, now urxvt) from my stiff, dead fingers. I've been using this for near 20 years.

Code:
urxvt -bg black -cr green -fg white -C -fn 9x15 -sl 1000 -ls
I think it needs the scalable fonts for "-fn 9x15" but that's the look I'm used to. Nothing else will do :-)

I don't use it, but mc looks pretty good in my terminal.
 
Old 09-07-2019, 04:51 PM   #6
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,416

Rep: Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759
Quote:
Originally Posted by dugan View Post
xfce4-terminal (I assume you mean the one in -current?) just isn't very good.

Use Kitty.

It has 24-bit color support, displays every character in quickbrown.txt, can display color emoji, and has a featureset that's intended to make tmux redundant. It's also famously performant.
tmux (like screen) keeps a session alive when you aren't connected. I didn't see where kitty did that.
 
Old 09-07-2019, 04:52 PM   #7
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,416

Rep: Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759
Quote:
Originally Posted by upnort View Post
I seem to have found another glitch with xfce4-terminal and mc.

* Launch xfce4-terminal.
* Open mc.
* Select a text file.
* Press F4 to launch mcedit.
* Exit mcedit.

The fonts in the tab and window title bar change to some kind of hieroglyphics fonts. Perhaps some kind of line font, I don't know.

I fiddled some with LC environment variables. Same hieroglyphic results.

I configured mc to use an external editor and changed EDITOR=nano and VISUAL=nano. Same hieroglyphic results.

I am unable to replicate the hieroglyphics in mate-terminal or [u]xterm. The glitch seems isolated to xfce4-terminal.

Any ideas?

Edit: I installed roxterm and see the same hieroglyphic results. Curious. Possibly points to the underlying vte engine?
Current or 14.2? I am unable to reproduce your problem in 14.2.
 
Old 09-07-2019, 05:07 PM   #8
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 1,105

Original Poster
Rep: Reputation: Disabled
Quote:
Current or 14.2? I am unable to reproduce your problem in 14.2.
14.2. That you can't reproduce in 14.2 might mean something in my global settings causing the glitch.

Perhaps I found a solution: xfce4-terminal 0.6.92.

I am unable to replicate the original hieroglyphics fonts.

I am unable to make the window shrink with a persistent tab bar (MiscAlwaysShowTabs=TRUE).

With 0.6.92 I am unable to replicate the weird line wrap I described in my first test of 0.6.92.

Interestingly, 0.6.92 supports more colors with the following one-liner I found online, whereas 0.6.3 does not:

printf "\x1b[38;2;255;100;0mTRUECOLOR\x1b[0m\n"1b[0m\n"

I don't notice anything directly related in the change long but the color fix might be related to changing to vte3.

I'm holding my breath with the weird line wrapping.

Last edited by upnort; 09-07-2019 at 05:09 PM.
 
Old 09-07-2019, 05:42 PM   #9
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,093

Rep: Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929Reputation: 3929
If you're using tmux, then the best terminal to run it in is currently Termite. Believe me, I've been looking into this over the last few days.

Use my SlackBuild. It's much better than the one on SBo.

https://github.com/duganchen/my_slac...master/termite

Same support for millions of colors, UTF-8, and colored emoji as Kitty.

Last edited by dugan; 09-07-2019 at 06:27 PM.
 
Old 09-07-2019, 05:47 PM   #10
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Brú na Bóinne, IE
Distribution: Slackware, NetBSD
Posts: 1,600

Rep: Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099
Quote:
Originally Posted by upnort View Post
Big missing feature for me with xterm is tabs. I already use screen but I don't think that will help me with respect to replacing multiple tabs. Often I have a terminal window open with several tabs. I'm not into tiling windows either so multiple terminal windows won't help.
You can have multiple windows in screen, something I consider to be better than tabs. Create a new window with prefix key + c, and switch between them with prefix key + n (next) and prefix key + p (previous).

I use ` (backtick) for prefix key, so it's fairly convenient. To send a real backtick while you're in screen, press the key twice.

To rename a window, just do prefix key + A

See attached for multiple screen windows (vim, mutt, mc, etc.,), within one fluxbox window.
Attached Thumbnails
Click image for larger version

Name:	2019-09-07-234401_824x910_scrot.png
Views:	24
Size:	35.2 KB
ID:	31319  

Last edited by Gerard Lally; 09-07-2019 at 06:23 PM.
 
Old 09-07-2019, 05:47 PM   #11
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 1,105

Original Poster
Rep: Reputation: Disabled
I created a fresh stock 14.2 VM with Xfce as the default desktop. Same hieroglyphics with xfce-terminal 0.6.3 and mc.

Quote:
You can have multiple windows in screen, something I consider to be better than tabs.
Learn something new every day. I gave that a whirl but I haven't wrapped my head around the idea. I understand what is happening but I think I prefer physical tabs. I'll have to tinker more.

Last edited by upnort; 09-07-2019 at 05:53 PM.
 
Old 09-07-2019, 06:04 PM   #12
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Brú na Bóinne, IE
Distribution: Slackware, NetBSD
Posts: 1,600

Rep: Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099Reputation: 1099
Quote:
Originally Posted by upnort View Post
Learn something new every day. I gave that a whirl but I haven't wrapped my head around the idea. I understand what is happening but I think I prefer physical tabs. I'll have to tinker more.
What are called windows in screen is really tabs. One fluxbox xterm window can have multiple screen windows, accessed by shortcut.

You can also have multiple panes, which is more or less the tiling you were thinking of. The attached image shows one fluxbox window, xterm, with multiple screen windows running inside, and the visible screen window split into three panes - a top pane and a bottom pane, with the bottom pane split horizontally. It's hard to wrap your head around it because windows in a window manager are not the same as windows in screen, so I just visualise windows in screen as tabs.

You can see a list of windows in screen, and select another window, with prefix key + "
Attached Thumbnails
Click image for larger version

Name:	2019-09-08-000614_984x1042_scrot.png
Views:	26
Size:	142.0 KB
ID:	31320  

Last edited by Gerard Lally; 09-07-2019 at 06:06 PM.
 
Old Yesterday, 11:54 PM   #13
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware, Proxmox, Debian, CentOS, Ubuntu MATE
Posts: 1,105

Original Poster
Rep: Reputation: Disabled
I should tag this thread as solved. Since installing xfce4-terminal 0.6.92 I haven't had related issues.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 14.1 + XFCE4 - xfce4-notifyd and volume controls Freaksta Slackware 1 08-10-2014 10:00 AM
fixed fonts on xfce4-terminal faizlo Linux - Software 2 12-06-2013 02:26 PM
upgrade to slackware 12.2 + xfce4.6 (xfce4-power-manager doesn't work) zux Slackware 4 04-22-2009 11:28 AM
xfce4 and icon for xfce4-mixer vehn Slackware 1 11-15-2008 03:37 PM
Getting rid of XFCE4-panel...using xfce4 and Ubuntu jagibbs Linux - Software 1 04-06-2006 05:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration