mclang
Posts: 42
Joined: Mon Sep 18, 2017 8:50 pm

Cannot run gnome-terminal under KDE

Thu Aug 09, 2018 7:56 am

I need to use gnome terminal instead of konsole because using base16-shell and base16-vim is a pain with konsole :(

Problem is, gnome terminal does not start but gives this error instead:

Code: Select all

# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached
After a long while when I noticed that `gnome terminal` needs `gnome-terminal-server.service` to work I found that it is indeed some kind of locale issue as so many other questions already suggested:

Code: Select all

systemctl --user status gnome-terminal-server.service
● gnome-terminal-server.service - GNOME Terminal Server
   Loaded: loaded (/usr/lib/systemd/user/gnome-terminal-server.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2018-08-09 09:24:59 EEST; 2min 1s ago
  Process: 4423 ExecStart=/usr/lib64/gnome-terminal/gnome-terminal-server (code=exited, status=9)
 Main PID: 4423 (code=exited, status=9)

Aug 09 09:24:59 ... systemd[955]: Starting GNOME Terminal Server...
Aug 09 09:24:59 ... gnome-terminal-server[4423]: Locale not supported.
Aug 09 09:24:59 ... systemd[955]: gnome-terminal-server.service: Main process exited, code=exited, status=9/n/a
Aug 09 09:24:59 ... systemd[955]: gnome-terminal-server.service: Failed with result 'exit-code'.
Aug 09 09:24:59 ... systemd[955]: Failed to start GNOME Terminal Server.

But the locale seems to be what it is supposed to be:

Code: Select all

LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=

Code: Select all

   System Locale: LANG=en_US.utf8
       VC Keymap: n/a
      X11 Layout: us+altgr-intl
       X11 Model: pc104
So can anybody help me getting gnome terminal to run?

I'm using the patreon only Solus Plasma edition, if it makes any difference:
KDE Plasma Version: 5.13.4
KDE Frameworks Version: 5.48.0
Qt Version: 5.11.1
Kernel Version: 4.17.11-84-current
Gnome Terminal: 3.28.1, release: 34

dschinn1001
Posts: 144
Joined: Mon Mar 20, 2017 5:31 pm

Re: Cannot run gnome-terminal under KDE

Thu Aug 09, 2018 11:37 pm

Nobody up to today has tried to mix Gnome with KDE to create a "Wollmilchsau" ... (engl. = "wool-milk-sow") ...

In KDE name of terminal is konsole or console and it is the own created terminal of KDE and konsole is fixed to KDE - not Gnome-terminal ...

dschinn1001
Posts: 144
Joined: Mon Mar 20, 2017 5:31 pm

Re: Cannot run gnome-terminal under KDE

Thu Aug 09, 2018 11:52 pm

When you explore a bit, you can find differences explained between GNOME and KDE here :

https://www.diffen.com/difference/GNOME_vs_KDE

There you can see, that GNOME is using GTK+ and KDE is using QT - as toolkits.

This is why you cannot make a dog out of a cat. Gnome-Terminal would need GTK+ and KDE Konsole would need QT.

mclang
Posts: 42
Joined: Mon Sep 18, 2017 8:50 pm

Re: Cannot run gnome-terminal under KDE

Fri Aug 10, 2018 6:36 am

Feeling trollish, are you 8-)

I know very well the differences between Gnome/KDE and GTK/Qt and I know Konsole. But the problem is Konsole, although supporting 256 color space, does not support modifying colors 16-21, which is needed to make base16-shell and base16-vim work properly. There is workarounds but the thing is I'd rather use terminal emulator I know works than change my configuration on twelve or so servers I manage.

I'd gladly use something like urxvt as I did before gnome terminal, but it doesn't display all glyphs right that e.g vim-airline uses. Otherwise urxvt would be perfect. Tilda would be another possibility, but it doesn't work under wayland. Guake/Yaguake seems too heavy for my tastes.

¿Comprende?

User avatar
kyrios
Posts: 2048
Joined: Thu Sep 22, 2016 4:20 pm

Re: Cannot run gnome-terminal under KDE

Fri Aug 10, 2018 11:34 am

Not solving the issue but an alternative terminal app like tilix could be a good workaround

mclang
Posts: 42
Joined: Mon Sep 18, 2017 8:50 pm

Re: Cannot run gnome-terminal under KDE

Sat Aug 11, 2018 7:01 pm

I'm open for suggestions, as long as:
- they are light weight
- they support base16-shell (256 color or more, possibility to modify colors 16-22)
- they can display all glyphs fir vim-airline

I will check out tilix, thanks!

mclang
Posts: 42
Joined: Mon Sep 18, 2017 8:50 pm

Re: Cannot run gnome-terminal under KDE

Mon Aug 13, 2018 11:45 am

I have been trying tilix.

All is good after sourcing `vte.sh` manually, except:
- I don't like the gnome style titlebar (although it takes less space).
- I cannot get fonts to render properly.
- My custom prompt for showing git status information does not work

First one is moot point but the other two are show stoppers. For now at least.

mclang
Posts: 42
Joined: Mon Sep 18, 2017 8:50 pm

Re: Cannot run gnome-terminal under KDE

Mon Aug 13, 2018 12:41 pm

I just tried also `terminator`, but it also has the same font rendering issue... Is there something that messes up tilix/terminator font rendering when run under KDE?

Return to “Other Questions”