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

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
User avatar
adoptapet
Level 1
Level 1
Posts: 17
Joined: Thu Jun 07, 2007 7:56 pm
Location: Franklin, TN, USA

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

Post by adoptapet » Sat Feb 17, 2018 1:34 pm

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)
Last edited by Moem on Sat Feb 17, 2018 3:12 pm, edited 1 time in total.
Reason: Extra large text removed. Please use formatting sparingly.

User avatar
austin.texas
Level 20
Level 20
Posts: 12054
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

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

Post by austin.texas » Sat Feb 17, 2018 1:50 pm

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
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018

User avatar
adoptapet
Level 1
Level 1
Posts: 17
Joined: Thu Jun 07, 2007 7:56 pm
Location: Franklin, TN, USA

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

Post by adoptapet » Sat Feb 17, 2018 2:36 pm

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;

User avatar
xenopeek
Level 24
Level 24
Posts: 23193
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

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

Post by xenopeek » Sat Feb 17, 2018 2:51 pm

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;
Image

User avatar
austin.texas
Level 20
Level 20
Posts: 12054
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

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

Post by austin.texas » Sat Feb 17, 2018 2:54 pm

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
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018

User avatar
adoptapet
Level 1
Level 1
Posts: 17
Joined: Thu Jun 07, 2007 7:56 pm
Location: Franklin, TN, USA

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

Post by adoptapet » Sat Feb 17, 2018 3:06 pm

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;

User avatar
austin.texas
Level 20
Level 20
Posts: 12054
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

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

Post by austin.texas » Sat Feb 17, 2018 3:16 pm

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
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018

User avatar
adoptapet
Level 1
Level 1
Posts: 17
Joined: Thu Jun 07, 2007 7:56 pm
Location: Franklin, TN, USA

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

Post by adoptapet » Sat Feb 17, 2018 3:37 pm

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!!

Post Reply

Return to “Software & Applications”