• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Opera start up window size

    Opera for Linux
    3
    10
    2712
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Former User
      A Former User last edited by

      Is there anything in the saved files "browser profile" whatever you'd like to call it, that can
      set the initial start up window size on Linux?

      Reply Quote 0
        1 Reply Last reply
      • A Former User
        A Former User last edited by

        There you go
        https://forums.opera.com/topic/20897/opera-does-not-remember-window-size/3

        Reply Quote 0
          1 Reply Last reply
        • A Former User
          A Former User last edited by leocg

          Thanks. I should have been more specific, as I was hoping to be able to set a specific size, that to which I usually expand the window manually. The --start-maximized option doesn't quite set the window to maximum size, but it is very close. Although that option, purportedly from Gentoo's chromium package, tried a few of the others, and they don't seem to work.

          opera --help
          

          gets this output:

          
          ---------------------------------------------------------------------------------------
          Opera 63.0.3368.66 Stable
          Features available through command-line switches:
                  --with-feature:better-address-bar [Enabled by default: true]
                  --with-feature:captive-portal-interstitial [Enabled by default: true]
                  --with-feature:chrome-extensions-one-click-install-policy [Enabled by default: true]
                  --with-feature:chromium-ua-compatibility [Enabled by default: false]
                  --with-feature:crypto-wallet [Enabled by default: true]
                  --with-feature:crypto-wallet-ios-instructions [Enabled by default: true]
                  --with-feature:crypto-wallet-new-server [Enabled by default: true]
                  --with-feature:lookalike-url-navigation-suggestions [Enabled by default: true]
                  --with-feature:notification-overlay-on-taskbar [Enabled by default: false]
                  --with-feature:partner-bookmarks-opt-out [Enabled by default: true]
                  --with-feature:reborn-3-dropdown [Enabled by default: false]
                  --with-feature:reborn-communicator-show-permissions [Enabled by default: true]
                  --with-feature:search-results-extensions-block-v2 [Enabled by default: true]
                  --with-feature:sd-flicker-buster [Enabled by default: false]
                  --with-feature:toolkit-bookmarks [Enabled by default: false]
                  --with-feature:update-recovery-page [Enabled by default: true]
                  --with-feature:wallpapers-api [Enabled by default: true]
                  --with-feature:warn-on-closing-multiple-tabs [Enabled by default: true]
                  --with-feature:yandex-zen-news [Enabled by default: false]
                  --with-feature:zoom-indicator [Enabled by default: true]
                  --with-feature:personal-news-notifications [Enabled by default: true]
          ---------------------------------------------------------------------------------------
          
          

          Is there some authoritative document on opera's command line options?

          Reply Quote 0
            A Former User 1 Reply Last reply
          • sgunhouse
            sgunhouse Moderator Volunteer last edited by

            You could try attaching a --geometry:xxx*yyy argument to your shortcut. geometry is a general Xwindows argument and should work with anything that opens a window.

            Reply Quote 0
              1 Reply Last reply
            • A Former User
              A Former User last edited by

              And in case the forementioned parameter does not work, you can use
              --window-size=600,800
              which is a chromium parameter. Keep in mind that it will work just for the first window of opera, so if you open any more opera windows, they will be the same size as the usual non-centered one.

              And yes, the --geometry:x*y example did not work for me.

              Reply Quote 0
                A Former User 1 Reply Last reply
              • A Former User
                A Former User @Guest last edited by A Former User

                @sgunhouse said in [Opera start up window size]:

                --geometry:xxx*yyy

                AFAIK, the X Windows argument is more like

                -geometry 200x20
                

                and indeed that works when starting something like xterm. I tried that and window-size with opera and neither worked. Perhaps I should mention that in the Linux environment which I use, the opera that is found first on the path is a shell script. So I tracked down the binary, ran that directly, passing the arguments to it.

                If there is no official reference on the opera command line options, I'll probably add an xdotool invocation to the opera script and handle it that way.

                Thanks for the thoughts!

                Reply Quote 0
                  1 Reply Last reply
                • A Former User
                  A Former User last edited by

                  The --window-size parameter works for me, on all my chromium browsers. Did you close opera completely before trying it?

                  Also, can you please post what exactly are you trying to do?

                  Reply Quote 0
                    A Former User 1 Reply Last reply
                  • A Former User
                    A Former User @Guest last edited by

                    @jimunderscorep said in Opera start up window size:

                    The --window-size parameter works for me, on all my chromium browsers. Did you close opera completely before trying it?

                    Also, can you please post what exactly are you trying to do?

                    As I mentioned in my second message I would like to set the window to a specific size.

                    As it has turned out, there were still some background opera processes running after I closed the opera window. As you've indicated the --window-size parameter does seem to work when opera is completely shutdown. That's to you and everyone for all their help!

                    Reply Quote 0
                      1 Reply Last reply
                    • A Former User
                      A Former User @Guest last edited by

                      @toes314 said in Opera start up window size:

                      The --start-maximized option doesn't quite set the window to maximum size, but it is very close

                      What do you mean with this bit?
                      That parameter makes opera start in a maximized window and the only thing I see here, besides opera, is my bottom bar (panel).

                      Reply Quote 0
                        A Former User 1 Reply Last reply
                      • A Former User
                        A Former User @Guest last edited by leocg

                        @jimunderscorep said in Opera start up window size:

                        @toes314 said in Opera start up window size:

                        The --start-maximized option doesn't quite set the window to maximum size, but it is very close

                        What do you mean with this bit?
                        That parameter makes opera start in a maximized window and the only thing I see here, besides opera, is my bottom bar (panel).

                        I meant pretty much what I said. When I tried that option, the window was slightly smaller than it would have been if it were truly maximized, and, the icon on the window frame which when clicked is supposed to maximize the window, was still present on the frame, and when clicked, it did truly maximize the window.

                        However, for whatever reason, it sometimes seems to take a somewhat surprising amount of time for all the "background" processes associated with opera to stop. When I make sure that they have stopped before using the --start-maximized option, then the option has the desired affect. That's why I'm very glad that you made the point about closing opera completely. Even though the opera window was closed, your comment made me think about possible "background" processes.

                        I could be miss-recollecting, but I rather thought that quite some time ago, Opera was ostensibly built from purely hand-coded assembly language, and as such was impressively speedy. I'm still not sure how I feel about the more recent and "Chromium-ed" form of Opera.

                        Reply Quote 0
                          1 Reply Last reply
                        • First post
                          Last post

                        Computer browsers

                        • Opera for Windows
                        • Opera for Mac
                        • Opera for Linux
                        • Opera beta version
                        • Opera USB

                        Mobile browsers

                        • Opera for Android
                        • Opera Mini
                        • Opera Touch
                        • Opera for basic phones

                        • Add-ons
                        • Opera account
                        • Wallpapers
                        • Opera Ads

                        • Help & support
                        • Opera blogs
                        • Opera forums
                        • Dev.Opera

                        • Security
                        • Privacy
                        • Cookies Policy
                        • EULA
                        • Terms of Service

                        • About Opera
                        • Press info
                        • Jobs
                        • Investors
                        • Become a partner
                        • Contact us

                        Follow Opera

                        • Opera - Facebook
                        • Opera - Twitter
                        • Opera - YouTube
                        • Opera - LinkedIn
                        • Opera - Instagram

                        © Opera Software 1995-