Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wayland ones more #2049

Closed
RafalSkolasinski opened this issue Aug 13, 2021 · 13 comments
Closed

Wayland ones more #2049

RafalSkolasinski opened this issue Aug 13, 2021 · 13 comments

Comments

@RafalSkolasinski
Copy link

Trying on Fedora 34, Gnome 40, Wayland.

In many places I've seen now recommendation to use

env GDK_BACKEND=x11 tilix --quake

to get tilix working again but for me unfortunately gives "wayland is not supported".

@RafalSkolasinski
Copy link
Author

Okay, this is magic. Just after posting it started to work....

@Arcitec
Copy link

Arcitec commented May 29, 2022

Okay, this is magic. Just after posting it started to work....

Not magic at all. It was explained in the 1st post in the Tilix Wayland thread (#1314):

Workaround 2: Force the x11 back-end when running tilix under quake mode in wayland. Since tilix is single process this is only going to work if tilix is started in quake mode first. Also leads to other issues like mixed-monitor scaling not working which is a key benefit of Wayland for many users.

Relevant part: "Since tilix is single process this is only going to work if tilix is started in quake mode first."

You started a tilix process in wayland mode, therefore it doesn't matter what environment variable you send to tilix --quake since the (single) Tilix process is already running in wayland mode.

I posted this answer in case others find your ticket and have the same issue. :)

@RafalSkolasinski
Copy link
Author

True :). I think I realized it a bit later and did not came back to clarify.

Thanks for posting explanation. It makes this issue, though resolved, more complete.

@Arcitec
Copy link

Arcitec commented May 29, 2022

@RafalSkolasinski Aight, good to hear! :) By the way I have a solution for Wayland. It's ddterm, a Quake-terminal extension if you're using GNOME. It integrates into the shell/compositor itself and is therefore able to control the window size and position even on Wayland. It allows animations, transparency, and full control. It's a great complement to Tilix, without having to use the x11 hack:

https://extensions.gnome.org/extension/3780/ddterm/

@RafalSkolasinski
Copy link
Author

Thanks for suggestion, I'll check it!
Is the extension able to provide "quake" feature?

@Arcitec
Copy link

Arcitec commented May 29, 2022

@RafalSkolasinski Yep, it's a super configurable quake terminal. You can choose top/left/right/bottom side of the screen, change size, transparency, animation (how it bounces in/out of view, or disable it for instant appearance), themeing and color support, multiple tabs, etc. And since it runs inside GNOME Shell (which has permission to move/resize windows), it has total Wayland support!

@Arcitec
Copy link

Arcitec commented May 29, 2022

@RafalSkolasinski Hey again! I've spent the evening creating a guide + a program to convert Tilix colors to ddterm, to make it easy to convert your Tilix configuration to ddterm.

Check it out over there, and if you have any comments about the guide it's better to post over on the new thread! :)

#1314 (comment)

@RafalSkolasinski
Copy link
Author

But... Actually isn't ddterm another terminal rather than way of running tilix quake mode on wayland?

@Arcitec
Copy link

Arcitec commented May 29, 2022

@RafalSkolasinski It's not Tilix but it's the same terminal emulator core (VTE), same color scheme, same font, and you can bind the same hotkeys in it. It's the best solution for Wayland. Tilix itself will never get Wayland quake support because it's not possible. And the X11/XWayland "hack/workaround" has many downsides. The linked post describes the pros and cons of all solutions.

@RafalSkolasinski
Copy link
Author

Okay, thanks. I'll check it. But of the main things I love tilix for is tiles :). And actually fact that it works on every DE I use (and I frequently go from gnome to kde to i3)

@Arcitec
Copy link

Arcitec commented May 29, 2022

@RafalSkolasinski Oh, you can tile this one too. Well... tabs. DDTerm supports Ctrl-Shift-N to create more tabs. And Alt-1/2/3 etc to switch between the tabs. You can rebind these shortcuts of course.

I use ddterm on F12 as my dropdown for quick tasks, and Tilix (in normal wayland mode, no quake mode) on Super+T as my terminal for more serious work.

The guide I linked above will help you setup ddterm nicely to match Tilix's quake-style.

@RafalSkolasinski
Copy link
Author

Yes maybe it will just be for the quake mode then :).

Normally when I have tilix open i have a combo of tabs and tiles. Some things I need to see at the same time etc...

@Arcitec
Copy link

Arcitec commented May 29, 2022

@RafalSkolasinski Yeah me too. I use Tilix when I do some serious work that needs tabs/sessions and tiles. DDterm isn't a replacement for Tilix itself, just for the dropdown feature. Try the guide and good luck. It has all steps you'll need to match the Tilix style in ddterm! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants