this post was submitted on 25 Mar 2024
44 points (89.3% liked)

Linux

48229 readers
493 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Actually I am switching to Wayland and Most of apps I use support GTK Theming (Librewolf,Thunderbird,Libreoffice etc).But I cant find any terminal which is based on Gtk so that I can complete this theming. So do you people know of any GTK based Terminal for wayland?

all 48 comments
sorted by: hot top controversial new old
[–] [email protected] 21 points 7 months ago (1 children)

How much theming does a terminal need? Personally my required features were a server and good font support. Currently I use the foot terminal: https://codeberg.org/dnkl/foot

[–] [email protected] 3 points 7 months ago (1 children)

I am thinking of something GTK so that Its theme changes when I change GTK Theme 😀.

[–] [email protected] 7 points 7 months ago (1 children)

So is the theming here for the window decorations or the text colour scheme?

[–] [email protected] 4 points 7 months ago

Window decoration is primary but color scheme can extra goodness

[–] [email protected] 16 points 7 months ago* (last edited 7 months ago) (2 children)
[–] [email protected] 4 points 7 months ago (1 children)
[–] [email protected] 7 points 7 months ago

Yes, it works on Wayland. I'd also give GNOME's Console a shot.

[–] [email protected] 1 points 7 months ago (1 children)

New question

How to change my GTK4 theme. I was using nwg-look but it is not working for Console and Blackbox

[–] [email protected] 4 points 7 months ago

Ah, that's because GTK4 and libadwaita severely restricted custom theming. They may be ways around this but I have no idea because I use just adw-gtk3 as my theme so all my apps look uniform on Gnome.

So I guess you'll either search for a way to hack this or just stick to GTK3 apps if you don't want the stock GTK4 look.

[–] [email protected] 13 points 7 months ago (1 children)

Ptyxis, it's a modern, container-friendly, Wayland-friendly GTK-based terminal.

[–] [email protected] 1 points 7 months ago (3 children)

Not available for nix 🥲

[–] [email protected] 6 points 7 months ago (1 children)

It's available via Flatpak though. It's been a dream to use...very fast, lots of options, and excellent container integration.

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago)

Yeah, and it even has inertial scrolling, which is badly needed in most applications. And yet, so few seem to support it.

[–] [email protected] 5 points 7 months ago* (last edited 7 months ago) (1 children)

nix like in nixos?

three solutions:

  • enable flatpak and install it from there
  • package it
  • ask me to package it
[–] [email protected] 2 points 7 months ago

3rd option looks dope.

But let me use flatpak

[–] [email protected] 12 points 7 months ago (1 children)
[–] [email protected] 2 points 7 months ago (1 children)

New question

How to change my GTK4 theme. I was using nwg-look but it is not working for Console and Blackbox

[–] [email protected] 2 points 7 months ago

I think you can't change gtk4 theme with gui but you can change it in text editor gtk4 config file is in .config/gtk4.0/

[–] [email protected] 6 points 7 months ago (2 children)

What about the normal GNOME Terminal? Or the new one called Blackbox?

[–] [email protected] 3 points 7 months ago (1 children)

GTK4. So no way to switch themes easily.

[–] [email protected] 1 points 7 months ago (1 children)

I think the normal GNOME Terminal still uses GTK 3

[–] [email protected] 1 points 7 months ago (1 children)

Did not worked for me 😕

[–] [email protected] 1 points 7 months ago (1 children)

Then maybe try Tilix? It's very similar to the GNOME Terminal emulator (it includes some extra features) and it definitely uses GTK3

[–] [email protected] 1 points 7 months ago (1 children)

Hmm it is working.

But opening preferences crashes app.

[–] [email protected] 1 points 7 months ago (1 children)

Ok that's weird. Might be Wayland related, I only tried it on Xorg.

[–] [email protected] 2 points 7 months ago

Hmm, probably Wayland Related.

[–] [email protected] 3 points 7 months ago (1 children)

Black Box has been out for a while, I think you're thinking of Ptyxis

[–] [email protected] 2 points 7 months ago

God damn these guys create a new terminal emulator every day

[–] [email protected] 5 points 7 months ago* (last edited 7 months ago) (1 children)
[–] [email protected] 2 points 7 months ago (1 children)

Crashing when I try to open preferences 🥲

But GTK theming is working. There is some vte issues with my system (Don't know what) but thanks.

[–] [email protected] 2 points 7 months ago (1 children)
[–] [email protected] 1 points 7 months ago

But I am unable to open tilix preferences. Whenever I hit preferences it crases.

Probably I should file an issue.

[–] [email protected] 3 points 7 months ago

sakura terminal emulator for me 'cause I can edit color sets in its .config file and then switch between them under the right-click menus.

[–] [email protected] 3 points 7 months ago (1 children)

I use Alacritty on Gnome just because it has better window decorations than Kitty.

[–] [email protected] 1 points 7 months ago (1 children)

I use it, but on wayfire, because I like it more than kitty, though I have to use alacritty with screen, since it doesn't support tabs, which is the only thing I wish alacritty would add, but I can deal with screen OK. What do you mean with window decorations? They look pretty normal to me, like the ones on electron apps now a days...

[–] [email protected] 2 points 7 months ago (1 children)

Gnome refuses to implement Server Side Decorations on Wayland (because... reasons) so applications are forced to draw their own. Kitty's decorations are very bare bones and ugly. Alacritty's decorations match much better with the rest of Gnome.

[–] [email protected] 1 points 7 months ago

I see. And I do like CSD over SSD, :)

The alacritty decorations are just plain simple GTK bar, so you'll see the simple regular GTK bar for applications not embedding CSDs withing the apps same one on electron apps (signal-desktop, slack-electron, and so on) get. In the case of a terminal emulator that's understandable, it needs the space... I was trying to paste a snapshot, or attach a simple image here, but didn't find how to, and I won't do any sort of patebin right now. So I don't consider that simple bar, nice decorations, but they do what they're meant to, so that's fine for me. I guess it look better on gnome though. I use wayfire + waybar + ..., and GTK apps work pretty well there, and I have installed and currently use materia dark theme, and the look is good in general for me. As I don't like kitty, I really don't remember how worse it is in comparison, but I still consider alacritty bar not so impressive, hehe.

[–] [email protected] 2 points 7 months ago (3 children)

As other people have commented: why would GTK be so important? A terminal should be a bare window, without any decoration. At least that's what I use: first setting I check in a terminal is "disable window title" or something like that.

[–] [email protected] 6 points 7 months ago

Tabs, https://visor.binaryage.com/ visor mode terminals, integration with desktop themes, OS auth for allowing sudo, (e.g. biometrics). While you may prefer a bare minimum terminal, there’s plenty of valid use cases for a terminal with good integration to the desktop environment.

[–] [email protected] 2 points 7 months ago

So that I can switch theme of most portion of system in a go.

[–] [email protected] 1 points 7 months ago

You're portraying your personal preference as an expected standard.

[–] [email protected] 2 points 7 months ago

Guys, TO wants a terminal with dark/light support for the terminal part or switching color scheme with a command.

I guess the simplest for now would be to use tput in your .bahrc/zshrc?

[–] [email protected] 1 points 7 months ago (1 children)

The theme is such a small part of what a terminal can do. I would choose a terminal based on features and confirm it has a theme/colorscheme available that matches your preferences.

[–] [email protected] 0 points 7 months ago

How to u see screen in daytime vs night time.

[–] [email protected] 1 points 7 months ago
[–] [email protected] 1 points 7 months ago (1 children)

Your gtk theme wouldn't change your terminal colours with the precision that just manually changing the colours would. Terminals only have 8 colour settings you need to set, it's not exactly a crazy undertaking to change your terminal theme separate to your gtk theme

[–] [email protected] 1 points 7 months ago

But just GTK theme based foreground and background colour?