From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net> |
Cc: | Joao De Almeida Pereira <jdealmeidapereira(at)pivotal(dot)io>, Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>, Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>, Neel Patel <neel(dot)patel(at)enterprisedb(dot)com>, Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>, Robert Eckhardt <reckhardt(at)pivotal(dot)io> |
Subject: | Re: Showstopper desktop runtime issue |
Date: | 2018-03-23 12:00:23 |
Message-ID: | CA+OCxoyCisZh_4amHhpq2Pz7yX+ivcWEpXOvQ2RpdeqvFJzZmw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
On Thu, Mar 22, 2018 at 4:58 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
>
> On Thu, Mar 22, 2018 at 4:28 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
>>
>> 2) This option is not very appealing to me, because we would be pilling
>>>> code into the QT portion of the application, that I hope we remove in the
>>>> future, that currently is untested to solve a problem caused by a Window
>>>> Manager......
>>>> I would be more in favor of creating a Application Indicator that would
>>>> support 2 actions, Kill running pgAdmins and launch the browser to access
>>>> them. There is a lot of interesting websites that talk about this, and how
>>>> to develop. I had to download one to have a docker indicator..... But as I
>>>> said in a previous thread, I believe that this should be a 3rd party
>>>> application and not a first class citizen on pgAdmin, as the majority of
>>>> the ones that I found are.
>>>>
>>>
>>> I can't comment on the specific ways to sort it out, but I think
>>> *basing* things in option 2 is by far the best option. If it's just an
>>> additional add-on that can be made a dependency of the packages it's not a
>>> huge problem (provided this add-on is available on the major platforms like
>>> rhel, ubuntu, debian of course)
>>>
>>
>> It would just be a modified version of what we have. Instead of having an
>> icon in the system tray, we'd probably have multiple Start Menu icons to
>> replace the tray icon menu. They would have to signal a running instance to
>> do something, or become a new instance and then do the something if nothing
>> is running already.
>>
>
> Of course, another option here might be to figure out that we're running
> under Gnome/GTK at runtime, and if so, create an indicator icon and menu
> instead of the tray icon. That is, apparently, what Skype and other similar
> apps do now. The indicator icons go on the right of the top menu bar (kinda
> like where tray icons go on macOS).
>
I investigated this, and have failed to find anything about how to do this
so far.
However, the following does fix the problem:
1) # dnf install gnome-shell-extension-topicons-plus
2) Run gnome-tweak-tool
3) Enable TopIcons Plus
There are apparently ways to enable the extension globally from the command
line. Need to test that (and figure out if it would be considered bad form
to do so).
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2018-03-23 12:03:31 | Re: v3.0 release on hold |
Previous Message | Ashesh Vashi | 2018-03-23 11:27:23 | Re: v3.0 release on hold |