View previous topic :: View next topic |
Author |
Message |
The Main Man Veteran
Joined: 27 Nov 2014 Posts: 1166 Location: /run/user/1000
|
Posted: Mon Jul 19, 2021 11:40 pm Post subject: [Solved] Wayland mlterm problem |
|
|
I've noticed x11-terms/mlterm has wayland USE flag, since I'm on Wayland I've decided to try it , even though I never heard about it before, I was curious.
So, I've emerged it and because I have wayland in make.conf it compiled with that flag enabled, it had X flag enabled as well.
It starts, seems to be working fine, so I've decided to turn off X , re-emerged it with disabled X flag.
First thing I've noticed is that it's not anymore in the applications list, so then I went ahead to launch it from other terminal, there's no mlterm anymore, instead there's mlterm-wl
And here comes the problem, nothing happens when I launch mlterm-wl, I press enter and there's no new window created, nothing, no output, just the new line in shell waiting for another command.
Now, I'm not sure if this is upstream problem or perhaps something in the ebuild isn't right, I've tried to investigate but wasn't able to conclude anything.
So, to recap, default flags + wayland -> works, default flags + "-X wayland" doesn't work in Sway Wayland.
Last edited by The Main Man on Tue Jul 20, 2021 9:56 pm; edited 1 time in total |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3345 Location: Rasi, Finland
|
Posted: Tue Jul 20, 2021 7:11 pm Post subject: |
|
|
Code: | file "$(which mlterm-wl)" | to see if its a shell script of even an empty file. _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 Location: Dallas area
|
Posted: Tue Jul 20, 2021 7:40 pm Post subject: |
|
|
mlterm-wl is an executable.
It indeed doesn't do anything when called directly, well this is in the log file
Code: | $ tail .mlterm/msg.log
Jul 20 14:42:15[4777] ERROR(No such file or directory): Couldn't open display wayland-0.
Jul 20 14:42:15[4777] Unable to open screen.
Jul 20 14:43:01[5019] ERROR(No such file or directory): Couldn't open display wayland-0.
Jul 20 14:43:01[5019] Unable to open screen. |
Not sure why it thinks wayland display is 0, but that's probably why it doesn't work.
Edit to add: this works
Code: | $ mlterm-wl -d wayland-1 |
I shouldn't have to pass it the display though. _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
The Main Man Veteran
Joined: 27 Nov 2014 Posts: 1166 Location: /run/user/1000
|
Posted: Tue Jul 20, 2021 8:15 pm Post subject: |
|
|
I have the same in msg.log, display is wayland-1 as well, however "mlterm-wl -d wayland-1" does the same as "mlterm-wl"
Maybe it works under Wayfire and has some problems under Sway, not sure.
I'll probably open mlterm github issue |
|
Back to top |
|
|
The Main Man Veteran
Joined: 27 Nov 2014 Posts: 1166 Location: /run/user/1000
|
Posted: Tue Jul 20, 2021 10:02 pm Post subject: |
|
|
I was reading the wrong log file, the one in .config/mlterm was saying "Failed to load /usr/share/fonts/misc/10x20.pcf.gz."
I had to add this in ebuild
Code: | --enable-anti-alias
--enable-fontconfig |
I still have to launch it with -d wayland-1, but okay, interesting terminal btw, it had some issues but I made a 9999 ebuild which solved most of those.
Thanks you for your inputs gentleman, much obliged. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|