You are not logged in.

#1 2022-02-09 13:50:02

alnexus
Member
Registered: 2022-02-09
Posts: 20

How do I configure GTK in Arch, Wayland?

I installed the Arc-dark and I have no idea of how to tell the apps to use it.

(I recently installed Arch and used the Sway WM, which uses the Wayland protocol. I installed the Atom (IDE?) text editor and something about it bugs me. I have installed xwayland too, but I have no idea of how any of this works. The GTK theme is very weird on it, I mean the "toolbar", the menu. I suppose it is using the default GTK theme and I have no idea how to change it if I'm not using a DE and even though I've read on the wiki on how to setup the config files I think I've did something wrong. I installed the Arc-dark and I have no idea of how to tell the apps to use it.)

(I dunno if this should go in Newbie Corner or here)


uname -r

Offline

#2 2022-02-09 14:07:33

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,306

Re: How do I configure GTK in Arch, Wayland?

Wayland or not should be irrelevant for theme configuration: https://wiki.archlinux.org/title/GTK#Configuration

Offline

#3 2022-02-09 14:08:43

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: How do I configure GTK in Arch, Wayland?

https://wiki.archlinux.org/title/GTK#Co … tion_tools

For a GUI that doesn't pull in loads of dependencies I use lxappearance-gtk3.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#4 2022-02-09 14:10:06

dogknowsnx
Guest

Re: How do I configure GTK in Arch, Wayland?

#5 2022-02-09 14:25:16

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,499
Website

Re: How do I configure GTK in Arch, Wayland?

Atom uses electron, so the toolbar is most not likely a gtk widget, so themes are (mostly) irrelevant, unless you can configure electron to respect some bits of the gtk theme.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2022-02-09 18:31:18

alnexus
Member
Registered: 2022-02-09
Posts: 20

Re: How do I configure GTK in Arch, Wayland?

Thanks everyone who helped. I had messed something up before, but it worked when I made the config files in /etc/share/gtk-2.0 (or gtk-3.0). I also had to look up the name of the theme directory, like "Arc-Dark-solid". It worked on the Atom IDE too, that thing on the top (it uses the GTK theme engine I guess). Again, thanks a lot for the help! LXAppearance is also very useful. Last time I had tried this and it hadn't worked I just wasn't paying much attention.


uname -r

Offline

#7 2022-02-10 07:45:05

AhmadRaniri
Member
Registered: 2020-07-14
Posts: 36

Re: How do I configure GTK in Arch, Wayland?

You also can set it via gsettings. Nice tool tbh. I use it on sway Wayland, Hikari Wayland compositor.

Offline

Board footer

Powered by FluxBB