Page 1 of 1

What is a 'flag' Concerning this Example...

Posted: Sat Feb 17, 2018 1:34 pm
by adoptapet
Somewhere on the Web, I found what was described as a
solution to eliminating the nuisance "keyring" sequence dialogue windows in
Opera: --password-store=basic. As a 'root' user, this was supposed to be added as a "flag" in
usr/share/applications/opera.

Now, when I search, I can find no definition, description or illustration
of a 'flag', how to insert it, or where in the settings this is supposed to
be inserted.

Can someone please insert in their reply a 'screenshot' of an example of this editing in the Opera settings?

Appreciate very much, Walter (adoptapet)

Re: What is a 'flag' Concerning this Example...

Posted: Sat Feb 17, 2018 1:50 pm
by austin.texas
The file usr/share/applications/opera is a ".desktop" file
I don't have Opera installed, but the actual name of the file is probably opera.desktop
You can look in the usr/share/applications/ folder to see.
What you need to do is open that file in a text editor to add what they are calling a "flag".

Code: Select all

gksudo xed /usr/share/applications/opera.desktop
You are going to have a line that starts with Exec=
You will simply add --password-store=basic to the end of that line.

Post the result of this command if you need more help:

Code: Select all

cat /usr/share/applications/opera.desktop

Re: What is a 'flag' Concerning this Example...

Posted: Sat Feb 17, 2018 2:36 pm
by adoptapet
Hi, Austin, visited your beautiful city in 1959, right after Basic Training in San Antonio. Below is the configuration, trying to follow your instructions. Must have done something incorrectly 'cause even after a system reboot, the problem of the 'triple-cancellation' dialog windows persisted.

Well, would you believe, I did a screen capture of the new configuration (along with your instructions) and when I tried to upload it and insert it in this reply using the 'image' icon, all which happens is it wants me to insert a URL; but of course, my file-system address is not web-based. Here, though, is a copy of the editing:

[Desktop Entry]
Version=1.0
Name=Opera
GenericName=Web browser
Comment=Fast and secure web browser
TryExec=opera
Exec=opera %U
Exec=--password-store=basic
Terminal=false
Icon=opera
Type=Application
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;application/x-opera-download;
Actions=NewWindow;NewPrivateWindow;

Re: What is a 'flag' Concerning this Example...

Posted: Sat Feb 17, 2018 2:51 pm
by xenopeek
That's not entirely correct. You should add the --password-store=basic to the existing line starting with Exec=. So like this, with addition in green and removal in red:

Exec=opera --password-store=basic %U
Exec=--password-store=basic

The file should then look like so:
[Desktop Entry]
Version=1.0
Name=Opera
GenericName=Web browser
Comment=Fast and secure web browser
TryExec=opera
Exec=opera --password-store=basic %U
Terminal=false
Icon=opera
Type=Application
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;application/x-opera-download;
Actions=NewWindow;NewPrivateWindow;

Re: What is a 'flag' Concerning this Example...

Posted: Sat Feb 17, 2018 2:54 pm
by austin.texas
You did something wrong. You now have 2 EXEC= lines:
Exec=opera %U
Exec=--password-store=basic


There should be only ONE (Nemo)
OK, that is a joke... :lol:

Your one line should be:
Exec=opera %U --password-store=basic

EDIT: I see xenopeek beat me to the post.
And xenopeek's line is likely best Exec=opera --password-store=basic %U

Re: What is a 'flag' Concerning this Example...

Posted: Sat Feb 17, 2018 3:06 pm
by adoptapet
Thank you both, Austin and Xenopeek! Well, take a look at this syntax...must have done something wrong, for after a reboot, Opera still brought up the three nuisance dialog windows!

[Desktop Entry]
Version=1.0
Name=Opera
GenericName=Web browser
Comment=Fast and secure web browser
TryExec=opera
Exec=opera --password-store=basic %U
Terminal=false
Icon=opera
Type=Application
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;application/x-opera-download;
Actions=NewWindow;NewPrivateWindow;

Re: What is a 'flag' Concerning this Example...

Posted: Sat Feb 17, 2018 3:16 pm
by austin.texas
I have never tried disabling the password prompt in that manner. It appears that it does not work.
This is the procedure I use:
First delete the current keyrings. Don't be afraid: you won't remove your root password or your user password, but only your personal keyrings. Proceed like this:
Launch a terminal, and run this command:

Code: Select all

rm -v ~/.local/share/keyrings/*.keyring
The next time when you're being prompted for a keyring password, leave the password field blank (simply click Continue and then again Continue, thus agreeing to "unsafe" storage).

Reference: https://sites.google.com/site/easylinux ... g-password

SOLVED: Re: What is a 'flag' Concerning this Example...

Posted: Sat Feb 17, 2018 3:37 pm
by adoptapet
Congratulations, Austin!! I believe you've done it! It seems that I can now open Opera with no 'roadblocks'. Can't thank you and Xenopeek enough for taking the time to help an old man!!