* Getting rid of the GUI pop-ups
@ 2017-02-15 19:09 Tory S. Anderson
2017-02-15 21:03 ` Jude DaShiell
` (2 more replies)
0 siblings, 3 replies; 14+ messages in thread
From: Tory S. Anderson @ 2017-02-15 19:09 UTC (permalink / raw)
To: Emacs Help List
With Emacs 25.1.1, password prompts are no longer in the menu bar
but via my (KDE/Plasma) window manager. Not only is this annoying,
it is costly -- it takes 30 seconds to a full minute for the popup
to appear, meanwhile Emacs is frozen. I would love for this to
just be the menu prompt, as it used to be. I've tried
`(setq menu-prompting nil)`
but it doesn't seem to have any effect. I see these prompts most
often when opening .gpg files and when trying to perform a git
push. I'm hoping someone will tell me there is a better way to
disable these than just rebuilding emacs from source with X menus
disabled (particularly as I have been pleased to get my emacs from
the repo without needing to build from source).
Good news would be much appreciated!
- Tory
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting rid of the GUI pop-ups
2017-02-15 19:09 Getting rid of the GUI pop-ups Tory S. Anderson
@ 2017-02-15 21:03 ` Jude DaShiell
2017-02-15 21:35 ` torys.anderson
2017-02-16 2:14 ` Glenn Morris
2017-02-16 14:49 ` Stefan Monnier
2 siblings, 1 reply; 14+ messages in thread
From: Jude DaShiell @ 2017-02-15 21:03 UTC (permalink / raw)
To: Tory S. Anderson, Emacs Help List
Have you tried running emacs -nw inside of a terminal yet and
interfacing with a password yet?
On Wed, 15 Feb 2017, Tory S. Anderson wrote:
> Date: Wed, 15 Feb 2017 14:09:40
> From: Tory S. Anderson <torys.anderson@gmail.com>
> To: Emacs Help List <help-gnu-emacs@gnu.org>
> Subject: Getting rid of the GUI pop-ups
>
> With Emacs 25.1.1, password prompts are no longer in the menu bar but via my
> (KDE/Plasma) window manager. Not only is this annoying, it is costly -- it
> takes 30 seconds to a full minute for the popup to appear, meanwhile Emacs is
> frozen. I would love for this to just be the menu prompt, as it used to be.
> I've tried
>
> `(setq menu-prompting nil)`
> but it doesn't seem to have any effect. I see these prompts most often when
> opening .gpg files and when trying to perform a git push. I'm hoping someone
> will tell me there is a better way to disable these than just rebuilding
> emacs from source with X menus disabled (particularly as I have been pleased
> to get my emacs from the repo without needing to build from source).
>
> Good news would be much appreciated!
>
> - Tory
>
>
--
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting rid of the GUI pop-ups
2017-02-15 21:03 ` Jude DaShiell
@ 2017-02-15 21:35 ` torys.anderson
2017-02-15 23:11 ` Jude DaShiell
2017-02-15 23:12 ` Jude DaShiell
0 siblings, 2 replies; 14+ messages in thread
From: torys.anderson @ 2017-02-15 21:35 UTC (permalink / raw)
To: Jude DaShiell; +Cc: Emacs Help List
This behaves precisely the same way: :30-1:00 wait time for KDE to
put up a "password" prompt which requires I use a mouse.
Jude DaShiell <jdashiel@panix.com> writes:
> Have you tried running emacs -nw inside of a terminal yet and
> interfacing with a password yet?
>
> On Wed, 15 Feb 2017, Tory S. Anderson wrote:
>
>> Date: Wed, 15 Feb 2017 14:09:40
>> From: Tory S. Anderson <torys.anderson@gmail.com>
>> To: Emacs Help List <help-gnu-emacs@gnu.org>
>> Subject: Getting rid of the GUI pop-ups
>>
>> With Emacs 25.1.1, password prompts are no longer in the menu
>> bar but via my (KDE/Plasma) window manager. Not only is this
>> annoying, it is costly -- it takes 30 seconds to a full minute
>> for the popup to appear, meanwhile Emacs is frozen. I would
>> love for this to just be the menu prompt, as it used to
>> be. I've tried
>>
>> `(setq menu-prompting nil)` but it doesn't seem to have any
>> effect. I see these prompts most often when opening .gpg files
>> and when trying to perform a git push. I'm hoping someone will
>> tell me there is a better way to disable these than just
>> rebuilding emacs from source with X menus disabled
>> (particularly as I have been pleased to get my emacs from the
>> repo without needing to build from source).
>>
>> Good news would be much appreciated!
>>
>> - Tory
>>
>>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting rid of the GUI pop-ups
2017-02-15 21:35 ` torys.anderson
@ 2017-02-15 23:11 ` Jude DaShiell
2017-02-15 23:16 ` Jude DaShiell
2017-02-15 23:12 ` Jude DaShiell
1 sibling, 1 reply; 14+ messages in thread
From: Jude DaShiell @ 2017-02-15 23:11 UTC (permalink / raw)
To: torys.anderson; +Cc: Emacs Help List
not good, screen readers in command line environments like espeak and
fenrir and speechdup at the least are not going to like this.
On Wed, 15
Feb 2017, torys.anderson@gmail.com wrote:
> Date: Wed, 15 Feb 2017 16:35:40
> From: torys.anderson@gmail.com
> To: Jude DaShiell <jdashiel@panix.com>
> Cc: Emacs Help List <help-gnu-emacs@gnu.org>
> Subject: Re: Getting rid of the GUI pop-ups
>
> This behaves precisely the same way: :30-1:00 wait time for KDE to put up a
> "password" prompt which requires I use a mouse.
> Jude DaShiell <jdashiel@panix.com> writes:
>
>> Have you tried running emacs -nw inside of a terminal yet and interfacing
>> with a password yet?
>>
>> On Wed, 15 Feb 2017, Tory S. Anderson wrote:
>>
>>> Date: Wed, 15 Feb 2017 14:09:40
>>> From: Tory S. Anderson <torys.anderson@gmail.com>
>>> To: Emacs Help List <help-gnu-emacs@gnu.org>
>>> Subject: Getting rid of the GUI pop-ups
>>>
>>> With Emacs 25.1.1, password prompts are no longer in the menu bar but via
>>> my (KDE/Plasma) window manager. Not only is this annoying, it is costly --
>>> it takes 30 seconds to a full minute for the popup to appear, meanwhile
>>> Emacs is frozen. I would love for this to just be the menu prompt, as it
>>> used to be. I've tried
>>>
>>> `(setq menu-prompting nil)` but it doesn't seem to have any effect. I see
>>> these prompts most often when opening .gpg files and when trying to
>>> perform a git push. I'm hoping someone will tell me there is a better way
>>> to disable these than just rebuilding emacs from source with X menus
>>> disabled (particularly as I have been pleased to get my emacs from the
>>> repo without needing to build from source).
>>>
>>> Good news would be much appreciated!
>>>
>>> - Tory
>>>
>>>
>
--
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting rid of the GUI pop-ups
2017-02-15 21:35 ` torys.anderson
2017-02-15 23:11 ` Jude DaShiell
@ 2017-02-15 23:12 ` Jude DaShiell
1 sibling, 0 replies; 14+ messages in thread
From: Jude DaShiell @ 2017-02-15 23:12 UTC (permalink / raw)
To: torys.anderson; +Cc: Emacs Help List
Have you tried emacs-nox and found this adverse popup behavior to happen
in that package too?
On Wed, 15 Feb 2017, torys.anderson@gmail.com wrote:
> Date: Wed, 15 Feb 2017 16:35:40
> From: torys.anderson@gmail.com
> To: Jude DaShiell <jdashiel@panix.com>
> Cc: Emacs Help List <help-gnu-emacs@gnu.org>
> Subject: Re: Getting rid of the GUI pop-ups
>
> This behaves precisely the same way: :30-1:00 wait time for KDE to put up a
> "password" prompt which requires I use a mouse.
> Jude DaShiell <jdashiel@panix.com> writes:
>
>> Have you tried running emacs -nw inside of a terminal yet and interfacing
>> with a password yet?
>>
>> On Wed, 15 Feb 2017, Tory S. Anderson wrote:
>>
>>> Date: Wed, 15 Feb 2017 14:09:40
>>> From: Tory S. Anderson <torys.anderson@gmail.com>
>>> To: Emacs Help List <help-gnu-emacs@gnu.org>
>>> Subject: Getting rid of the GUI pop-ups
>>>
>>> With Emacs 25.1.1, password prompts are no longer in the menu bar but via
>>> my (KDE/Plasma) window manager. Not only is this annoying, it is costly --
>>> it takes 30 seconds to a full minute for the popup to appear, meanwhile
>>> Emacs is frozen. I would love for this to just be the menu prompt, as it
>>> used to be. I've tried
>>>
>>> `(setq menu-prompting nil)` but it doesn't seem to have any effect. I see
>>> these prompts most often when opening .gpg files and when trying to
>>> perform a git push. I'm hoping someone will tell me there is a better way
>>> to disable these than just rebuilding emacs from source with X menus
>>> disabled (particularly as I have been pleased to get my emacs from the
>>> repo without needing to build from source).
>>>
>>> Good news would be much appreciated!
>>>
>>> - Tory
>>>
>>>
>
>
--
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting rid of the GUI pop-ups
2017-02-15 23:11 ` Jude DaShiell
@ 2017-02-15 23:16 ` Jude DaShiell
2017-02-16 21:44 ` torys.anderson
0 siblings, 1 reply; 14+ messages in thread
From: Jude DaShiell @ 2017-02-15 23:16 UTC (permalink / raw)
To: torys.anderson; +Cc: Emacs Help List
No wonder emacs-twittering-mode never created a gpg file for me when I
authorized the app and later had to authorize the app again. The popup
didn't react well with espeak. That's good to know. Any other emacs
packages I should remove from this system on account of this bug that
prompt for passwords and/or use gpg?
On Wed, 15 Feb 2017, Jude DaShiell wrote:
> Date: Wed, 15 Feb 2017 18:11:36
> From: Jude DaShiell <jdashiel@panix.com>
> To: torys.anderson@gmail.com
> Cc: Emacs Help List <help-gnu-emacs@gnu.org>
> Subject: Re: Getting rid of the GUI pop-ups
>
> not good, screen readers in command line environments like espeak and fenrir
> and speechdup at the least are not going to like this.
> On Wed, 15 Feb 2017, torys.anderson@gmail.com wrote:
>
>> Date: Wed, 15 Feb 2017 16:35:40
>> From: torys.anderson@gmail.com
>> To: Jude DaShiell <jdashiel@panix.com>
>> Cc: Emacs Help List <help-gnu-emacs@gnu.org>
>> Subject: Re: Getting rid of the GUI pop-ups
>>
>> This behaves precisely the same way: :30-1:00 wait time for KDE to put up a
>> "password" prompt which requires I use a mouse. Jude DaShiell
>> <jdashiel@panix.com> writes:
>>
>>> Have you tried running emacs -nw inside of a terminal yet and interfacing
>>> with a password yet?
>>>
>>> On Wed, 15 Feb 2017, Tory S. Anderson wrote:
>>>
>>>> Date: Wed, 15 Feb 2017 14:09:40
>>>> From: Tory S. Anderson <torys.anderson@gmail.com>
>>>> To: Emacs Help List <help-gnu-emacs@gnu.org>
>>>> Subject: Getting rid of the GUI pop-ups
>>>>
>>>> With Emacs 25.1.1, password prompts are no longer in the menu bar but via
>>>> my (KDE/Plasma) window manager. Not only is this annoying, it is costly
>>>> -- it takes 30 seconds to a full minute for the popup to appear,
>>>> meanwhile Emacs is frozen. I would love for this to just be the menu
>>>> prompt, as it used to be. I've tried
>>>>
>>>> `(setq menu-prompting nil)` but it doesn't seem to have any effect. I see
>>>> these prompts most often when opening .gpg files and when trying to
>>>> perform a git push. I'm hoping someone will tell me there is a better way
>>>> to disable these than just rebuilding emacs from source with X menus
>>>> disabled (particularly as I have been pleased to get my emacs from the
>>>> repo without needing to build from source).
>>>>
>>>> Good news would be much appreciated!
>>>>
>>>> - Tory
>>>>
>>>>
>>
>
>
--
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting rid of the GUI pop-ups
2017-02-15 19:09 Getting rid of the GUI pop-ups Tory S. Anderson
2017-02-15 21:03 ` Jude DaShiell
@ 2017-02-16 2:14 ` Glenn Morris
2017-02-16 8:28 ` tomas
2017-02-16 14:49 ` Stefan Monnier
2 siblings, 1 reply; 14+ messages in thread
From: Glenn Morris @ 2017-02-16 2:14 UTC (permalink / raw)
To: Tory S. Anderson; +Cc: Emacs Help List
Tory S. Anderson wrote:
> With Emacs 25.1.1, password prompts are no longer in the menu bar but
> via my (KDE/Plasma) window manager.
[...]
> I see these prompts most often when opening .gpg files and when trying
> to perform a git push.
I think you'll find these are gpg dialogue boxes, not Emacs ones. See eg
http://lists.gnu.org/archive/html/help-gnu-emacs/2016-02/msg00102.html
http://stackoverflow.com/questions/16826849/emacs-stop-popup-window-for-gpg-passphrase
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting rid of the GUI pop-ups
2017-02-16 2:14 ` Glenn Morris
@ 2017-02-16 8:28 ` tomas
2017-02-16 15:44 ` torys.anderson
0 siblings, 1 reply; 14+ messages in thread
From: tomas @ 2017-02-16 8:28 UTC (permalink / raw)
To: Glenn Morris; +Cc: Emacs Help List, Tory S. Anderson
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, Feb 15, 2017 at 09:14:39PM -0500, Glenn Morris wrote:
> Tory S. Anderson wrote:
>
> > With Emacs 25.1.1, password prompts are no longer in the menu bar but
> > via my (KDE/Plasma) window manager.
> [...]
> > I see these prompts most often when opening .gpg files and when trying
> > to perform a git push.
>
> I think you'll find these are gpg dialogue boxes, not Emacs ones. See eg
>
> http://lists.gnu.org/archive/html/help-gnu-emacs/2016-02/msg00102.html
> http://stackoverflow.com/questions/16826849/emacs-stop-popup-window-for-gpg-passphrase
Yes. Newer GPGs think users crave for popups. The component
in GPG responsible for that... uh... embellishment is called
"pinentry", and there are different ones (for Gnome and KDE,
depending on your masochism's flavour). Luckily there's a
pinentry-emacs (I think it's in EPA); for tty users there
seems to be a pinentry-tty.
The situation isn't as dire as it used to be in the first days
of GPG2: it had only GUI pinentries. I just wouldn't have
used that.
regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlilYrUACgkQBcgs9XrR2kbZ1wCcCEyQYaLC8kgVU2SJ1ij0DEa7
WewAnjSjLsoAJ2rUA+zgUivJzDg7LKqi
=4hqa
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting rid of the GUI pop-ups
2017-02-15 19:09 Getting rid of the GUI pop-ups Tory S. Anderson
2017-02-15 21:03 ` Jude DaShiell
2017-02-16 2:14 ` Glenn Morris
@ 2017-02-16 14:49 ` Stefan Monnier
2 siblings, 0 replies; 14+ messages in thread
From: Stefan Monnier @ 2017-02-16 14:49 UTC (permalink / raw)
To: help-gnu-emacs
> (KDE/Plasma) window manager. Not only is this annoying, it is costly -- it
> takes 30 seconds to a full minute for the popup to appear, meanwhile Emacs
I'm not fond of GPG's GUI dialog, but it doesn't take that long for me:
it's basically instantaneous, as it should be. You should report a bug
against GPG (and/or its pinentry thingy) to try and figure out what's
going on and get it fixed.
Stefan
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting rid of the GUI pop-ups
2017-02-16 8:28 ` tomas
@ 2017-02-16 15:44 ` torys.anderson
2017-02-16 15:53 ` tomas
0 siblings, 1 reply; 14+ messages in thread
From: torys.anderson @ 2017-02-16 15:44 UTC (permalink / raw)
To: tomas; +Cc: Emacs Help List
I also get the pop-ups for git, though, which leads me to think it
is not specifically about GPG. Is this a generalized problem, or
does it happen that GPG and Magit have made some similar
decisions?
<tomas@tuxteam.de> writes:
> On Wed, Feb 15, 2017 at 09:14:39PM -0500, Glenn Morris wrote:
>> Tory S. Anderson wrote:
>>
>> > With Emacs 25.1.1, password prompts are no longer in the menu
>> > bar but
>> > via my (KDE/Plasma) window manager.
>> [...]
>> > I see these prompts most often when opening .gpg files and
>> > when trying
>> > to perform a git push.
>>
>> I think you'll find these are gpg dialogue boxes, not Emacs
>> ones. See eg
>>
>> http://lists.gnu.org/archive/html/help-gnu-emacs/2016-02/msg00102.html
>> http://stackoverflow.com/questions/16826849/emacs-stop-popup-window-for-gpg-passphrase
>
> Yes. Newer GPGs think users crave for popups. The component
> in GPG responsible for that... uh... embellishment is called
> "pinentry", and there are different ones (for Gnome and KDE,
> depending on your masochism's flavour). Luckily there's a
> pinentry-emacs (I think it's in EPA); for tty users there
> seems to be a pinentry-tty.
>
> The situation isn't as dire as it used to be in the first days
> of GPG2: it had only GUI pinentries. I just wouldn't have
> used that.
>
> regards
> -- tomás
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting rid of the GUI pop-ups
2017-02-16 15:44 ` torys.anderson
@ 2017-02-16 15:53 ` tomas
0 siblings, 0 replies; 14+ messages in thread
From: tomas @ 2017-02-16 15:53 UTC (permalink / raw)
To: torys.anderson; +Cc: Emacs Help List
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, Feb 16, 2017 at 08:44:48AM -0700, torys.anderson@gmail.com wrote:
> I also get the pop-ups for git, though, which leads me to think it
> is not specifically about GPG. Is this a generalized problem, or
> does it happen that GPG and Magit have made some similar decisions?
Similar, yes. It's your desktop environment trying to be helpful and
playing ssh agent. I remember dimly having disabled that, but it's
a while I don't use any DE anymore (yes, because of such things).
(the ssh agent and the gpg agent are both in the job of keeping access
to your unlocked credentials for the session).
regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlilyv8ACgkQBcgs9XrR2ka2VgCdHjmxq8VSCie1mvfriOZymW2j
jwgAmwVpR58Ez2faDBGy+gAMOZ6ouHOx
=jKQI
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting rid of the GUI pop-ups
2017-02-15 23:16 ` Jude DaShiell
@ 2017-02-16 21:44 ` torys.anderson
2017-02-16 22:09 ` John Mastro
0 siblings, 1 reply; 14+ messages in thread
From: torys.anderson @ 2017-02-16 21:44 UTC (permalink / raw)
To: Emacs Help List
I can indeed get rid of the GUI pop-ups by changing my gpg
settings, adding the following to ~/.gnupg/gpg-agent.conf
--8<---------------cut here---------------start------------->8---
allow-emacs-pinentry
--8<---------------cut here---------------end--------------->8---
This solves the original question, putting prompts back in emacs.
It also reveals that my problem is not the prompt, as these emacs
prompts take just as long to appear as did the popups. However,
they are fast on my practically identically configured laptop. If
anyone has ideas on why or how to debug this, I'm all ears.
- Tory
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting rid of the GUI pop-ups
2017-02-16 21:44 ` torys.anderson
@ 2017-02-16 22:09 ` John Mastro
2017-02-17 8:37 ` tomas
0 siblings, 1 reply; 14+ messages in thread
From: John Mastro @ 2017-02-16 22:09 UTC (permalink / raw)
To: Emacs Help List
<torys.anderson@gmail.com> wrote:
> I can indeed get rid of the GUI pop-ups by changing my gpg settings,
> adding the following to ~/.gnupg/gpg-agent.conf
>
> --8<---------------cut here---------------start------------->8---
> allow-emacs-pinentry
> --8<---------------cut here---------------end--------------->8---
>
> This solves the original question, putting prompts back in emacs.
>
> It also reveals that my problem is not the prompt, as these emacs
> prompts take just as long to appear as did the popups. However, they
> are fast on my practically identically configured laptop. If anyone
> has ideas on why or how to debug this, I'm all ears.
Your situation sounds at least superficially similar to the one
described here:
https://lists.gnupg.org/pipermail/gnupg-users/2015-November/054736.html
Hope that helps
John
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Getting rid of the GUI pop-ups
2017-02-16 22:09 ` John Mastro
@ 2017-02-17 8:37 ` tomas
0 siblings, 0 replies; 14+ messages in thread
From: tomas @ 2017-02-17 8:37 UTC (permalink / raw)
To: help-gnu-emacs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, Feb 16, 2017 at 02:09:36PM -0800, John Mastro wrote:
> <torys.anderson@gmail.com> wrote:
> > I can indeed get rid of the GUI pop-ups by changing my gpg settings,
[...]
> > It also reveals that my problem is not the prompt, as these emacs
> > prompts take just as long to appear as did the popups [...]
> Your situation sounds at least superficially similar to the one
> described here:
>
> https://lists.gnupg.org/pipermail/gnupg-users/2015-November/054736.html
Yikes. Waiting for the bus?
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlimtjgACgkQBcgs9XrR2kYxJACeJoU7Mkfrq2zjUWs5Dc5JoytX
MO8An0gAJe8NkcMTzcq6MHRRRF907f3+
=HdHB
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2017-02-17 8:37 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-15 19:09 Getting rid of the GUI pop-ups Tory S. Anderson
2017-02-15 21:03 ` Jude DaShiell
2017-02-15 21:35 ` torys.anderson
2017-02-15 23:11 ` Jude DaShiell
2017-02-15 23:16 ` Jude DaShiell
2017-02-16 21:44 ` torys.anderson
2017-02-16 22:09 ` John Mastro
2017-02-17 8:37 ` tomas
2017-02-15 23:12 ` Jude DaShiell
2017-02-16 2:14 ` Glenn Morris
2017-02-16 8:28 ` tomas
2017-02-16 15:44 ` torys.anderson
2017-02-16 15:53 ` tomas
2017-02-16 14:49 ` Stefan Monnier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).