Score:1

gedit admin:// timeout

er flag

Whenever I do some administration on my home server, I will have a terminal open running commands with sudo and modifying files with gedit admin://<path_to_file> &!

Since it always take me more than 5 minutes to get everything done, I found annoying to have to re-type my password every so often.

I successfully managed to increase the time-out for command line from the default 5 minutes to 1 hour by adding the following content in /etc/sudoers.d/<custom_file>:

Defaults:<user> timestamp_timeout=60

But I can't find a way to increase the time-out of gvfsd-admin and prevent the prompt for password so often (see screenshot here - sorry it is in French: gvfsd-admin password prompt)

I know there are workarounds like using sudo -H gedit <file> but it will come with other downsides.

Thank you.

FedKad avatar
cn flag
I think, one simple solution would be to leave `gedit` running and not closing it before running the subsequent `gedit ...` commands.
DjZU avatar
er flag
Unfortunately, despite not closing `gedit`, the password prompt will still show up after like 5 minutes when saving the file, that's the point.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.