Starting maximised (revisited) solved

I have an Opera icon on desktop that opens opera maximised but I can’t add it to the panel and if I click on the Icon in the menu list (internet) it doesn’t open maximised,is the a way to get this to open maximised from the panel?

Run

sudo xed /usr/share/applications/opera.desktop

make it read

[Desktop Entry]
Version=1.0
Name=Opera
GenericName=Web browser
Comment=Fast and secure web browser
TryExec=opera
Exec=opera --start-maximized %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;

[Desktop Action NewWindow]
Name=New Window
Exec=opera --new-window --start-maximized
TargetEnvironment=Unity

[Desktop Action NewPrivateWindow]
Name=New Private Window
Exec=opera --private --start-maximized
TargetEnvironment=Unity

SAVE the file.

Now the menu item in your main menu will also open maximised.

As for the panel … which panel are you using ?

You may now need to remove Opera from the panel, and re-add it.

Cheers Mark will give it a go.Panel I’m using is the default one that came with Cinnamon Tara
Thanks

Yep that sorted it thanks Mark.

Great stuff :slight_smile:

Mark Opera has now stopped opening maximised after update,I normally just re edit after an update with above text but now getting this message

** (xed:9810): WARNING **: 08:09:58.974: Set document metadata failed: Setting attribute metadata::xed-spell-language not supported

** (xed:9810): WARNING **: 08:09:58.975: Set document metadata failed: Setting attribute metadata::xed-encoding not supported

** (xed:9810): WARNING **: 08:10:10.399: Set document metadata failed: Setting attribute metadata::xed-position not supported
Any ideas mate.

those are Gtk warnings for the xed text editor … nothing to worry about.

Why Opera has stopped working with the --start-maximized option is beyond me … they must have disabled the option, though god only knows why ::slight_smile:

Well it’s back working again,don’t know what happened there but thanks for replying Mark.

Great news :slight_smile:

I guess Opera must have fixed something.