Re: How to detect a gtk desktop programmatically
- From: Tres Finocchiaro <tres finocchiaro gmail com>
- To: Ray Strode <halfline gmail com>
- Cc: desktop-devel-list <desktop-devel-list gnome org>
- Subject: Re: How to detect a gtk desktop programmatically
- Date: Wed, 29 Apr 2020 15:59:10 -0400
I'm asking how to detect a Gtk desktop. An answer that says "always' isn't really correct. The use-cases for this -- as indicated by the Debian search results in the commit that removed this flag -- were in the hundreds.
The ability to detect a Gtk-based desktop seems like a perfectly valid question.
Hi,
> So, with the removal of this GNOME_DESKTOP_SESSION_ID variable, how should OpenJDK -- moving forward -- detect a Gtk-based desktop?
So as I understand it, the choices for look and feel are:
WindowsLookAndFeel, GTKLookAndFeel, AquaLookAndFeel,
MotifLookAndFeel, and MetalLookAndFeel
Of those choices, GTKLookAndFeel is the best answer for any linux
desktop I think. KDE configures gtk to look nice on KDE, and the rest
of the
desktops use GTK or at least look good with GTK. Defaulting to Metal
means looking bad on almost every desktop.
Or can you think of a common desktop choice where GTK look and feel
isn't the best option of the available ones?
I think the logic should just be "if running linux, pick gtk". You
shouldn't need to check any environment variables, imo.
--Ray
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]