Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explain changing GTK theme in FAQ #40

Merged
merged 1 commit into from Jul 16, 2023

Conversation

eht16
Copy link
Member

@eht16 eht16 commented Jan 4, 2022

Part of geany/geany#3063.

@eht16
Copy link
Member Author

eht16 commented Jan 4, 2022

@techee what to do with the macOS stub? Can the GTK theme changed at all on macOS or is it fixed to "Prof-Gnome"?

@techee
Copy link
Member

techee commented Jan 5, 2022

Changing themes is not officially supported on macOS (I create the settings.ini file every time Geany is launched and update it based on whether the user has light or dark theme used for macOS with Prof-Gnome hard-coded). That said, it is possible to replace the theme inside Geany.app bundle (Geany.app/Contents/Resources/share/themes/Prof-Gnome), just the Prof-Gnome directory has to be preserved and different theme placed inside it.

I think the appearance is reasonably native-looking though so users shouldn't worry about it much.

@eht16
Copy link
Member Author

eht16 commented Jan 8, 2022

Thanks.
I added what you said and hope that's still correct :D.
Should we add a note that changes get lost when upgrading Geany on macOS after Geany.app/Contents/Resources/share/themes/Prof-Gnome has been changed or will the changes persist?

@elextr would you mind re-reading the new FAQ entry for wording and clarity?

Copy link
Member

@elextr elextr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

## How to change the GTK theme?

The GTK theme defines the look and feel of Geany. Many different themes are available on the net,
including dark ones. You might have a look at https://www.gnome-look.org/ for GTK3 themes.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest "Many different themes, including dark ones, are available on the net, for example from https://www.gnome-look.org/."

No need to mention GTK3, its all Geany does ATM.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


### On Linux/Unix systems

Changing the GTK theme on Linux and Unix distributions is done differently depending on the desktop environment you use.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add at the start "Geany will follow the GTK theme set by the normal desktop tools so changing ..."

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


- find and download a GTK theme
- unpack its contents into the directory `c:\Users/<YOUR_USERNAME>\AppData\Local\themes\` (create if it does not exist yet)
- create the directory `c:\Users/<YOUR_USERNAME>\AppData\Local\gtk-3.0\` if it not already exists
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

" ... if it does not already exist"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


- "Prof-Gnome" https://www.gnome-look.org/p/1334194 (used in Geany for macOS)
- "Windows 10" https://github.com/B00merang-Project/Windows-10
- "Windows 10 Dark" https://github.com/B00merang-Project/Windows-10-Dark
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about your favourite olde fashioned ... erm I mean "traditional" 😄 one?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about your favourite olde fashioned ... erm I mean "traditional" 😄 one?

I would suggest including that one too. I spent today testing various themes from gnome-look and most didn't work/look very well and the Win95 theme was a pleasant outlier.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What are you talking about? What is "my traditional one"?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The one from good old times where you could distinguish individual widgets:

https://github.com/grassmunk/Chicago95

This by the way is how the traditional (i.e. non-web-like) user interface widgets look on Windows 11:

  1. Task one - notice there are tabs
  2. Task two - tell which one is selected

Crazy UI design.

image

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I just added it. I still can't really take this theme seriously hence my confusion :D.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@eht16 yeah, @techee understood it, I simply meant a Win(somewhere between 95 and 7) theme since you had only listed Win 10 themes. Can't comment on which actual theme though.


### On macOS

Geany releases for macOS have the "Prof-Gnome" theme pre-installed and depending on the used macOS theme, the light or dark variant is used automatically.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and depending on the macOS theme used, the light or dark variant is used automatically.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

The GTK theme defines the look and feel of Geany. Many different themes are available on the net,
including dark ones. You might have a look at https://www.gnome-look.org/ for GTK3 themes.

Note that changing the GTK theme will not affect the syntax highlighting color theme within Geany.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it called a "color scheme" eg Menu->View->Change Color Scheme...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@elextr
Copy link
Member

elextr commented Jan 8, 2022

Don't forget to link to it from the download page so users will find it.

[Edit: sorry if this spammed everybody multiple times, github told me it failed so I submitted the comment again, then it did all of them, sigh]

@techee
Copy link
Member

techee commented Jan 8, 2022

I added what you said and hope that's still correct :D.

Yep, perfect!

Should we add a note that changes get lost when upgrading Geany on macOS after Geany.app/Contents/Resources/share/themes/Prof-Gnome has been changed or will the changes persist?

The changes will get lost, not sure if it's necessary to document it but it depends on the output of @elextr --pedantic :-).

@techee
Copy link
Member

techee commented Jan 8, 2022

"Prof-Gnome" https://www.gnome-look.org/p/1334194 (used in Geany for macOS)

By the way the prof-gnome version in osx is modified quite a bit from the official release because there were bugs in the theme and I also wanted to make it look more macOS-like. I just pushed a few commits to the geany-osx repo in an attempt to create something that would also look good on Windows.

@eht16
Copy link
Member Author

eht16 commented Jan 9, 2022

Thanks for the review!

Don't forget to link to it from the download page so users will find it.

Already done (https://github.com/geany/www.geany.org/pull/40/files#diff-fd05f263f386602f0eb5eedfa0cef4e12ba1625599b97a67c2e9010f9f4ccb4fR12).

"Prof-Gnome" https://www.gnome-look.org/p/1334194 (used in Geany for macOS)

By the way the prof-gnome version in osx is modified quite a bit from the official release because there were bugs in the theme and I also wanted to make it look more macOS-like. I just pushed a few commits to the geany-osx repo in an attempt to create something that would also look good on Windows.

Ok, I changed the link to your one.

@eht16 eht16 merged commit 2ca1408 into geany:master Jul 16, 2023
5 checks passed
@eht16 eht16 deleted the faq_add_change_gtk_theme branch July 16, 2023 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants