Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-05-17 04:54:38

EuriNaiz
Member
From: 127.0. 0.1
Registered: 2022-04-25
Posts: 3
Website

GTK, HIGs & The XFCE's Future

Note: I wrote this article using Markdown, so I posted it in my web as a backup if you want to have a best experience reading: https://www.eurinaiz.com//blog/GTK-HIGs … CE-Future/

Here is the plain text copy:






# GTK, HIGs & The XFCE's Future


We all can be d’accord with me when I say that a modern DE/OS should be beauty, accessible, stable, easy to use and recognisable. Recently GNOME, in their process to become into a platform, neutralised GTK a little (is expected to be fully neutral in their version 5), removing all widgets that follow the GNOME’s HIG, and moving ‘em to the new library Libadwaita, so, now Adwaita isn’t part of GTK anymore… That’s so useful for another DEs and Platforms (like Elementary)…

You can keep using GTK 4 without problems, but for GTK 5 it will be harder, because you’ll need use a library, like LibAdwaita or Granite.

But, why does GTK libraries care here? Easy, In the future all apps will use a library to be built, and now in GTK 4 you can force apps to ignore library and use GTK themes with the GTK_THEME variable, but it is expected to be dropped for GTK 5… And taking in count that GNOME apps are SO popular and included by a lot of distros (like Linux Mint or Manjaro), the XFCE desktop will (and actually) look SO inconsistent. But, Inconsistency isn’t the only problem, other problems are:

    The multiple HIGs for the end user, ¡That’s confusing!
    Accesibility
    Branding problems (for XFCE and Distros)
    User’s personalisation
    Broken apps caused by “Themes”
    Etc…

The “theming” problems.

I know, theming is a controversial topic, right, but just think about it…

Imagine: You’re running KDE Plasma, and you arbitrarily modify the style sheets of the apps (a.k.a you apply a “theme”) to look like MacOS… The HIGs are the same, the theme won’t change it, and the app won’t look like MacOS because the KDE apps don’t follow the HIG’s. The HIG are the same and you cannot change ‘em without rewriting the app. The same happens with GNOME apps, even overriding the appearance, the app won’t look like an XFCE app.

    Epiphany is a special case, because Elementary and GNOME co-worked together, and it is possible because both HIG are so close.

    Maybe KDE apps could be adapted to Windows, because the HIG are similar.

As ecosystem, Elementary officially support GTK, Epiphany, and other external projects, and even, are part of the ecosystem. In the future, when all apps were using a GTK library, adopting apps will be hard for XFCE, but there are some possible solutions and I’ll mention em in this article.
They lied, GNOME theming is not dead.

Doesn’t Adwaita killed theming? Answering that question isn’t too easy like a “yes” or “no”, because… Yes, the old and dirty way to “theme” apps is over, but it’s fine, because there are no broken apps anymore But the good new is: ¡Now you’ll be able to theme your apps right! without broken apps or weird issues.

But what do I mean with broken apps? This:

secrets white text in white background

So, Now we can theme apps based on libadwaita? Yes, because now themes are colour palettes, and, even you can see some themes for libadwaita right now, themes applied for all system, or themes for individual apps. The next theme is applied for all system:

Flat Remix Theme For Adwaita Apps:

flat remix theme for adwaita

And this theme is for an app specifically:

Pink theme for G-T-E (GNOME Text Editor) by Xerz: Pink G-T-E Theme by Xerz

But, that isn’t all, ¡Now we haven’t got third themes just for adwaita apps!, Now devs provide us themes officially, like the themes provided by default for G-T-E

GTE settings screenshot

    Here is an interesting article, I really recommend it.

But, Why I am talking about GNOME? This is XFCE… Right, now I can explain some solutions for these problematics. The antecedents are important to understand the following points.
Adopting (and co-develop) a GTK library (and their HIGs)

Adopting Adwaita IN MY OPINION is the best option, and what I want to see in the XFCE’s future. And the reasons are:

    Like granite, the GNOME HIGs are designed with accessibility and beauty in mind (and studies behind).
    ¡The major part of the GTK GNU+Linux apps are wrote using GNOME HIG!. That means that almost all apps will look native, and consistent with the system/DE.
    Theming. You’ll be able to set custom themes (colour palettes) and accent colours.
    Is maintained by a large user/dev base, you can have some warranties, like the support in the future or the new features addition.
    A more unified experience. Before you’ve based the XFCE icons in Adwaita icons, or setting CSD by default… Now this could be the next step to offer a better experience.
    The possibility to offer a best and standardised dark mode.
    The opportunity to collaborate and work with the GNOME developers. Where a single person do a good work, a whole team can do miracles.

    D’accord with an interview between Dedoimedo and Sean (XFCE Core Developer), you’d like to hire development, design and bug triage… I have good news: That’s work done in adwaita, if adwaita is adopted as GTK4 library for XFCE apps, the only thing to worry is doing the bug triage.

What about Granite?

I know that Adwaita’s appearance could be a little different compared with GreyBird… But [the new] Adwaita is nice, so eyecandy, easy, and has good accessibility. But, there is other library too good build like Adwaita, and that’s Granite, the official theme (and HIG/Library) for Elementary Platform.

Here you can see a comparison between Granite and Eyecandy, you can look the similarities… Actually GreyBird and Granite are SO close, even in colours (but more modern)…

Personally I think Granite is closer than Adwaita, with GreyBird.
GreyBird’s appearance     Granite’s appereance
XFCE Display dialog     Elementary Desktop settings

Here is the comparison but in dark mode:
GreyBird’s appearance     Granite’s appereance
XFCE Panel settings     Granite Demo

But what are the reasons to adopt Granite?

    Is built with some UI studies, that gives you some idea about the experience that the end user gets.
    Is supported by a corporation, it can warrant the long time development and support.
    https://blog.elementary.io/user-interfa … -findings/
    Is designed thinking to be inclusive with all people, accessibility features are just features.
    The design is so close with GreyBird (but modern), the change won’t be as radical as Adwaita could be.
    There is a dev base developing apps for Elementary platform… That means, the experience is less or more coherent and consistent (but not at all like could be with Adwaita)
    You can monetise your apps in the Elementary’s store… That means, more money entries for XFCE project.

Co-building a new GTK library, HIG, iconography, and platform with Mate or other project.

Ok, This is weird, but, keep reading because it makes sense… Mate and XFCE are small projects (compared with KDE or GNOME, but not the smallest like LXQT), and building a whole and attractive platform could be hard, so, working together could derivate a new collaborative platform, at least, a shared GTK library, HIGs, and maybe some apps/ports…

I do not know a lot about Mate, but in my experience, XFCE and Mate have some similarities, and redundant apps… About the philosophy or direction I have no idea, but I think you can converge in this and work together.

For example Pluma and Mousepad, they’re so, so, so similar… With a shared library, HIGs, etc… The maintainers could work in a single app, adding features faster, or improving the app fixing bugs faster; And the same with terminal, Image Viewer…

Even, with some fear about being cancelled, I can say… Even you could co-develop a single DE/Platform… (Something like Razor-qt and LXDE) and just offer two layouts, a layout like XFCE and other like Mate… That could specially beneficial for all (specially for end users), because they will be able to get a best, modern and rich experience, without personalisation or choosing options…

The situation also could be applied with Cinnamon, but, being realistic, I think it wouldn’t happen… Is more probably with Mate.
Co-create a new GTK library to reimplement AGAIN the old bad practices…

Yes, one more time talking about collaboration with other proyects, but… If KDE collaborate in GNOME and vice-versa, Why XFCE and Mate not? This option is less ambitious and, in reality, won’t fix the actual problems, but… Anyway, a new library could be co-created to reimplement the old hacks “themes”, and allow users theme their desktop, and cross-desktop apps without a persistent appearance like now’s happening with GNOME LibAdwaita or Elementary apps… Probably Cinnamon could be interested in this… I don’t know.

    It won’t solve the problems, ¡It will prolong ‘em only! And moving the problems from GTK to the new library
    The desktop will never be consistent, or attractive to new developers (Right now, some developers have been approaching to GNOME as platform… Now GNU/Linux is a little more attractive for developers than before)
    Is time lost that could be used to improve other parts of XFCE like accessibility or Wayland support.
    You could lost the time to adapt you to the modern times, and this could cost the attractive to be used as DE for new operating systems, or even, the existence of the XFCE project…

Create your OWN GTK Library, HIG, and platform.

Ok, this is the last option (in addition to keep the things like they’re), and I think it isn’t feasible for many reasons… And that’s create your own HIG, Library, etc…

    Now it’s so late to start with it, in retrospective with the past releases times, it would be ready for 2045… /s ¡Debian released their last version with the last XFCE version!
    The second obstacle is being attractive to make XFCE apps… If there are just 3 or 4 XFCE apps… Good luck being consistent and having a HIG coherent…
    With this, maybe new distros focused in XFCE will born and will make XFCE more attractive and used…
    Maybe this could stop the residual use of XFCE (mainly for lightweight distros) and, making it a first raze DE/platform and return “to the game”.

Conclusions

I know that XFCE project have few people, and add some of this to the to-do list requires efforts, time and maybe money too, but now is the time to start working in the times to come, because though the time XFCE have been losing relevance and that could cost the project’s existence…

And in this time, you have the opportunity to fix some deficiencies and old bad practices, and if you postpone it, after it could require more effort, time and maybe starting again some code (just see GNOME 2 and GNOME 3).

I also know that XFCE needs other improvements that could be more important than this, like the Wayland port to stay current, the deprecation of X.org is coming and everything seems to indicate that fedora will be the first OS doing it.

But this also requires time, and I prefer to put the topic on the table now that there is time to discuss and work in it, GTK 4 have been released some time ago, and the GTK 5 release is far in future, but should be warned, without surprises.

Euri Montero ?️ Kontaktua [at] EuriNaiz [dot] com

Offline

#2 2022-05-17 14:57:28

CwF
Member
Registered: 2018-01-28
Posts: 288

Re: GTK, HIGs & The XFCE's Future

I'm simple. Using Debian with XFCE and minimal eye candy. I like the subtleties of transparency, hover hints, and the now missing Zebra line or whatever it's called, but prefer the unnoticed rather than outright bling.

Libadwaita's recent work has simplified my creations greatly. I've pulled 30MB of redundant gnome fat from my creations. I need only one theme, with light and dark variation. Needless options and variations seem to be a hallmark of Linux. They are either extensive, or absent.

I also work on a different timeline. Wayland doesn't fit my usage yet. I don't expect a choice is needed within the next few years. I utilize horsepower from one machine and manage and display on others. Wayland throws that out the window, however windows style solutions can be tacked on top. X's integrated and extended functions already work. Slimmer tighter more efficient code is great, unless it's incomplete.

New and shiny is alluring. Every new generation wants to reinvent the wheel.  A social mantra to make the existing better is missing. The generalized Lego kit has lost out to the dedicated appliance. As if all computing is the same. As long as XFCE stays away from trying to emulate the appliance like ease of a smart phone I'll be happy.

Offline

#3 2023-05-28 14:02:17

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,990

Re: GTK, HIGs & The XFCE's Future

Mod note: I've had a couple of requests to close this post, but I'm going to keep it open. We're going to assume, for the time being, that this isn't a troll.

I see you've posted to the mailing list and reddit. Hopefully you're getting the feedback you are looking for. On a personal note, I think you're intentions are mis-guided. You don't seem to have a good grasp of the meaning and purpose of Xfce, nor the process required to create meaningful contributions to the project (drive-by suggestions are not the way). I urge you to take a more active role in the development and/or management of Xfce so that you can understand it better before suggesting changes of this nature.

With respect to the survey, it is possibly one of the worst survey designs I've seen in a while. It will in no way help you get the answers you seek.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB