this post was submitted on 16 Jul 2024
75 points (98.7% liked)

Linux

48634 readers
1590 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
 

Hello. I released a new version of my theme changing app for Linux.

It adds the feature to (force) set the theme of gnome libadwaita apps without libadwaita patches, among other minor tweaks. Besides that, it can change GTK2/3/4, Kvantum, icon and cursor themes, GTK CSS and some appearance settings across GUI frameworks.

Hope this is useful.

top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 5 months ago (2 children)

Looks nice and useful thanks

I get this error using it for the first time.

[Errno 2] No such file or directory: '/home/xxx/.config/gtk-4.0/gtk.css'

Considering that file doesn't exist the app might create it if necessary?

Cheers

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

Ok, so I can't reproduce the error. If I remove the .config/gtk-4.0 folder, it just gets recreated by my app and no error occurs on my arch machine with gnome.

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

Thanks for checking.

I just checked as well and on my system (arch, xfce) the file exists but it's a symlink, created by a theme I tried but doesn't exist on my system anymore ("qogir-gtk-theme-git"). After removing the symlinks it works.

I clicked apply in the app and a gtk.css and settings.ini files was created. The gtk.css file it's empty. Is that the intended behavior?

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

If you selected the adwaita theme, yes, there will be no css written

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

Hmm, will look into it

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

Maybe you would be interested into maintaining Gradience instead of making a new LibAdwaita theming app from scratch ? Just thinking, haven't tested it but I don't see any straight reasons for one over the other outside the maintainership. https://github.com/GradienceTeam/Gradience

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

Does GNOME really need an app to change the theme?

KDE plasma has this natively...

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

Does GNOME really need an app to change the theme?

You can also do what this app does manually. The point is that "themes" are an hack and not officially supported, as such it doesn't make sense to provide an official interface to set them.

KDE plasma has this natively...

Do you mean for global themes, application styles or plasma styles? All application styles I can find either use Kvantum or require you to compile them manually...

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

Depends on what you call a theme. I was referring to color themes that can be synced with GTK apps, while the actual buttons stay the same.

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

Gnome 47 will have support for accent colors if that's what you want.

[–] nyan 1 points 5 months ago (1 children)

Too lazy to check github . . . will it work on systems that don't run Gnome? It would be nice not to have to figure out how to hand-write a GTK4 theme as I did with GTK3.

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

yes it works on all desktop environments.

gtk4 themes are similar to the gtk3 ones - it's still css, maybe with some addidtions