You are not logged in.

#1 2017-06-03 18:26:49

TomaszGasior
Member
From: Poland
Registered: 2017-06-03
Posts: 16
Website

gtk3-mushrooms — GTK3 package with my own patches.

I like classic GTK-based desktop environments like MATE and XFCE. I use both, XFCE often. I like also GTK3-based apps and GTK project.
However it seems to me that GTK3 is a bit too "gnomish".  GNOME and GTK is maintained by one Red Hat team, but I think GTK authors should be aware that GTK is used also outside GNOME. wink

I am PHP programmer, I don't have wide knowledge about C (in which GTK is written). However I created "gtk3-mushrooms" AUR package with patched GTK3. These patches fixes small things that irritated me in GTK3 running in XFCE. Some patches are based on code found in web, others I created myself.

You can read more about gtk3-mushrooms here:
https://github.com/TomaszGasior/gtk3-mu … /README.md

See screenshots also:
http://imgur.com/a/Wx2L8

AUR package:
https://aur.archlinux.org/packages/gtk3-mushrooms/

What do you think about it? wink

Last edited by TomaszGasior (2017-06-04 12:07:09)

Offline

#2 2017-08-30 13:37:56

TomaszGasior
Member
From: Poland
Registered: 2017-06-03
Posts: 16
Website

Re: gtk3-mushrooms — GTK3 package with my own patches.

Hi! I updated my package. There are some interesting changes.

· Client Side Decorations are disabled by default but you can enable it by `GTK_CSD` environment variable. If you set `GTK_CSD=0` CSD will be enabled but shadows will be drawn server-side (by window manager) instead of GTK client-side shadows. This change can solve problems with wrong positioning of windows and context menus with not fully compatible window manager such as MATE's Marco.  But if your GTK theme do not specify decoration's borders you will not be able to resize windows. ;( In this case you should add to your ~/.config/gtk-3.0/gtk.css this code "decoration { border: 3px solid #000 }".

· Typeahead search is restored to GTK's file chooser. However it is possible to use default GTK's recursive search by left alt + s shortcut. So with my patch you can merge speed of typeahead search and functionality of GTK's recursive search. If you have "gtk-dialog-use-header" setting enabled, instead shortcut, you can use also button on the headerbar.

· Integration with GNOME's Accessibility Toolkit is disabled by default to avoid unwanted errors in console output ("Couldn't connect to accessibility bus") and unused background processes. You should use `NO_AT_BRIDGE=0` enviroment variable to re-enable it.

· Adwaita theme looks great in XFCE and MATE. It has smaller buttons, entry fields and other controls. Message dialogs and file chooser look better.

https://github.com/TomaszGasior/gtk3-mu … creenshots
https://github.com/TomaszGasior/gtk3-mushrooms/releases

Offline

#3 2017-09-09 19:28:47

TomaszGasior
Member
From: Poland
Registered: 2017-06-03
Posts: 16
Website

Re: gtk3-mushrooms — GTK3 package with my own patches.

Package updated to new GTK version.

Offline

#4 2017-09-10 19:25:25

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: gtk3-mushrooms — GTK3 package with my own patches.

Logged in just to say that I'm a huge fan of your work, and thank you for it.

Surprised to see not much written here.

Offline

#5 2017-09-17 20:44:53

TomaszGasior
Member
From: Poland
Registered: 2017-06-03
Posts: 16
Website

Re: gtk3-mushrooms — GTK3 package with my own patches.

TomaszGasior wrote:

· Integration with GNOME's Accessibility Toolkit is disabled by default to avoid unwanted errors in console output ("Couldn't connect to accessibility bus") and unused background processes. You should use `NO_AT_BRIDGE=0` enviroment variable to re-enable it.

I updated my package. Currently integration with GNOME's a11y toolkit is not disabled but errors in console output (and systemd's journal) are hidden. It is possible to use Orca reader and other a11y tools without trouble.

Ranguvar wrote:

Logged in just to say that I'm a huge fan of your work, and thank you for it.

I'am happy if you like my patches. wink

I have small news for Manjaro users (are there some here?). It's possible to install `gtk3-classic` from official Manjaro repo. This package is based on my `gtk3-mushrooms` from AUR.

Offline

#6 2017-12-27 02:49:12

TomaszGasior
Member
From: Poland
Registered: 2017-06-03
Posts: 16
Website

Re: gtk3-mushrooms — GTK3 package with my own patches.

I prepared new version of `gtk3-mushrooms`. What's new?

* "Insert emoji" context menu item of entry fields is hidden because… I don't like it. wink If you need it, `export GTKM_INSERT_EMOJI=1`.
* Backdrop CSS state is disabled. There is a lot of themes, which style differently inactive windows using `:backdrop` CSS state. It was created for CSDs (to style decorations of inactive windows). Qt4, Qt5 (with GTK2 integration) and GTK2 have not this feature, so for better consistency I disabled backdrop. It can be enabled by enabling CSDs.
* And the best improvment: message dialogs have traditional appearance with left-aligned texts and right-aligned buttons. ;-) See screenshots. Before: https://i.imgur.com/pehyh1U.jpg . After: https://i.imgur.com/JkThc9F.jpg .

I need your feedback according to last point. Since GTK 3.12 message dialogs were ugly outside GNOME (exactly: outside Mutter or without CSDs). Some GTK themes uses "dirty hacks" (like negative margins of buttons or additional paddings) to make message dialogs less ugly. Unfortunately, this "dirty hacks" make message dialogs wich my patch uglier. ;( I tested my patch with themes from Arch Linux repo. Arc theme for example, sets bigger paddings for buttons in message dialogs, this makes it less consistent. I don't want to fix things like this for each popular theme in my patch but if you encounter problem with message dialogs, please report it here — we can fix it by custom `~/.config/gtk-3.0/gtk.css`. wink

Offline

#7 2018-07-12 05:17:56

TomaszGasior
Member
From: Poland
Registered: 2017-06-03
Posts: 16
Website

Re: gtk3-mushrooms — GTK3 package with my own patches.

New package version. There is no patches update, only `PKGBUILD` update.

- The wrong checksum is fixed.
- `libcups` is added to `makedepends`. Without it GTK3 is built without CUPS support.
- Google Cloundprint integration is disabled to avoid `rest` dependency. This printing backend is useful only for GOA users (GNOME desktop and probably Cinammon desktop). If you need it, please tell me.
- Colord integration is disabled also to avoid, it seems to me, senseless dependency. If you think it's useful, please tell me.

Offline

#8 2018-09-04 08:20:50

TomaszGasior
Member
From: Poland
Registered: 2017-06-03
Posts: 16
Website

Re: gtk3-mushrooms — GTK3 package with my own patches.

gtk3-mushrooms 3.24.0-1 released. Patches without changes, only GTK update.

IMPORTANT notice for users of Awesome and i3 window managers:
There is a problem in GTK 3.24 which causes a bug in tray icons in these WMs. Reported here:

* https://gitlab.gnome.org/GNOME/gtk/issues/1280
* https://forum.manjaro.org/t/i3status-sy … e/52987/84
* https://github.com/TomaszGasior/gtk3-mu … /issues/12

i3 and Awesome users will encounter this problem regardless of used GTK: vanilla gtk **3.24** or gtk3-mushrooms 3.24.0-1.

Offline

#9 2018-09-22 01:00:34

TomaszGasior
Member
From: Poland
Registered: 2017-06-03
Posts: 16
Website

Re: gtk3-mushrooms — GTK3 package with my own patches.

New gtk3-mushrooms patchset release.

— Places sidebar has new button called “Networks”. It can be used as a replacement of (hidden by me) “Other locations” button for accessing network shares.

— In XFCE, console errors like this should not be shown now:
`Calling org.xfce.Session.Manager.Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method "Inhibit" with signature "susu" on interface "org.xfce.Session.Manager" doesn't exist".`
It’s annoying to see it while using gedit or xed from command line.

— Finally! Now, gtk3-mushrooms includes the fix for tray icons problem in Awesome and i3wm. I see the problem exists even in XFCE (when compositor is off).

As always you can download the package from here: https://github.com/TomaszGasior/gtk3-mushrooms/releases

Offline

#10 2019-03-03 07:25:02

TomaszGasior
Member
From: Poland
Registered: 2017-06-03
Posts: 16
Website

Re: gtk3-mushrooms — GTK3 package with my own patches.

I am looking for new maintainer for gtk3-mushrooms package. I switched from XFCE to GNOME and I won’t use gtk3-mushrooms anymore.

I will be maintaining gtk3-mushrooms until new maintainer will appear or until 1 June 2019: GTK updates, fixes of problems reported by users but no new patches/features.

Last edited by TomaszGasior (2019-03-03 07:25:40)

Offline

#11 2019-06-08 10:59:31

TomaszGasior
Member
From: Poland
Registered: 2017-06-03
Posts: 16
Website

Re: gtk3-mushrooms — GTK3 package with my own patches.

gtk3-mushrooms has new maintainer: https://github.com/krumelmonster/gtk3-mushrooms

Offline

Board footer

Powered by FluxBB