I’m trying to take the command I learned in Peppermint for resizing Opera and bring it to the launcher in Ubuntu 16,04,3 so that Opera browser size itself correctly. I’ve tried playing with Gedit and Create launcher using this source, but I’ve had no luck.
Here’s the command I’m trying to convert from Peppermint 8 Respin to Ubuntu Unity 16.04.3:
opera-beta --window-size=1600,850 %U
Any help or pointers figuring this out would be greatly appreciated.
I’m getting this warning in the terminal, PCNetSpec:
perknh@xerus:~$ sudo gedit /usr/share/applications/opera.desktop
[sudo] password for perknh:
(gedit:4363): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
** (gedit:4363): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported
** (gedit:4363): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported
I don’t know what to make of it. :-\
[EDIT]
After a night’s sleep, I got it!
Once I got to the applications folder manually, I ran your command as root through the terminal. I then logged out and in, closed Opera-beta browser, and then reopened it. It’s now sizing itself as it should.
Thank you, PCNetSpec!
P.S.
I have to say it’s easier tweaking applications in Peppermint (Xfce) than in Ubuntu (Unity).