[gpodder] Re: No menu bar on Kubuntu 20

  • From: Gary Shears <garys@xxxxxxx>
  • To: gpodder@xxxxxxxxxxxxx
  • Date: Fri, 16 Apr 2021 09:44:12 +0200


On 15.04.21 23:48, Brand Huntsman wrote:

Can you tell me the output of `echo $XDG_CURRENT_DESKTOP` in a terminal?

KDE. I'm running on Kubuntu.

Then find gpodder's gtkui/app.py file, in Gentoo it is at
/usr/lib/python3.8/site-packages/gpodder/gtkui/app.py

Change line 146 from
self.want_headerbar = (('GNOME' in xdg_current_desktops) and not gpo...
to
self.want_headerbar = True

That should fix the problem by enabling CSD in gpodder until a permanent
solution is implemented.

I commented out line 146 and added line 147:

    self.want_headerbar = True

It fails to start:

Traceback (most recent call last):
  File "/home/gary/gpodder/src/gpodder/gtkui/app.py", line 147, in
do_startup
    self.want_headerbar = TRUE
NameError: name 'TRUE' is not defined

I'm not a python programmer, and barely a programmer at all, so I don't
know what's going on here.

Thanks for you help.

Gary


Other related posts: