Identify Opera With Your Linux Distro!

If you’ve ever noticed your user agent string before, then you may have noticed that Opera identifies as running on a generic Linux platform. This can be a bit bothersome or annoying if you’re a Linux enthusiast like me.

Opera for Windows and Mac both properly identify the platform they are installed on, but Linux is a little more challenging due to the overwhelming number of distributions. You can easily adjust your user agent string to accurately reflect your platform and help promote both Opera and your Linux distribution when you browse and post online.

Before and after Opera user agent string.

To change this so that it reflects your specific platform, simply:

  1. Open “opera:config#ISP|Id” in a new tab.
  2. Enter your distribution in the blank box in the format “Distribution/Version”.

  3. Click the Save button and restart your browser.

This should successfully change your user agent from something generic like..

Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.6.30 Version/10.70 something a little more specific like..

Opera/9.80 (X11; Linux x86_64; U; Ubuntu/10.10; en) Presto/2.6.30 Version/10.70

Hope that helps! You can test your updated user agent strings in the comments below since they will appear above your comment. Or you can test it out at

8 thoughts on “Identify Opera With Your Linux Distro!”

  1. using Opera 10 Opera 10 on GNU/Linux GNU/Linux
    Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.6.30 Version/10.60

    What is the point of introducing another element into the user agent string? This seems like a bit of a security flaw when being so specific.

    Linux Mint’s Opera already has it’s distro name built in. Here’s how it does it:

    Opera/9.80 (X11; Linux x86_64; U; Linux Mint; en) Presto/2.2.15 Version/10.10

    1. using Opera 10 Opera 10 on Ubuntu 10.10 Ubuntu 10.10
      Opera/9.80 (X11; Linux x86_64; U; Ubuntu/10.10; en) Presto/2.6.30 Version/10.70

      I guess Linux Mint must alter the preferences file on their own. Interesting! 😀

      In my opinion, introducing your platform type is no different than introducing your browser type. Tons of browsers are built around WebKit and Firefox, but they all tend to specify their own branding.

      Likewise, its a good idea in my opinion to let server administrators know not just which browser you are using to access their content, but the specific Linux distribution as well so that they can get an idea of the level of support that they should offer.

      If the platform specification were such a security risk, browsers wouldn’t announce specific Windows or Mac versions in the ua-string, and they ALL do this already.

      1. using Opera 10 Opera 10 on GNU/Linux GNU/Linux
        Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.6.30 Version/10.60

        Mozilla already stopped including kernel versions in their strings. Here is an older Mozilla string to demonstrate:

        Mozilla/5.0 (X11; U; Linux 2.4.3-20mdk i586; en-US; rv:0.9.1) Gecko/20010611

        They considered this a security problem to be so specific so it was dropped. There has been an open bugzilla entry for some time about dropping specific versions of Windows too. When you have the browser AND OS version then you start to run into issues.

        But the point is that Opera is the *same* on every platform… they distribute the binaries and can give the same product everywhere. On Mozilla-based, Konqueror, etc you have a browser that is rebuilt and sometimes modified by the packagers so it makes sense to put the distro name in the package as something may differ. Although since it’s almost always the same rendering I still find it redundant, there is more reason than changing a string to represent a browser that is no difference. If you download a binary off of, it is still generic.

        I’m not sure if distros in the string are really that much of a security flaw, but when you know more and more information about a user’s system from the user agent, it makes it that much harder to exploit.

Leave a Reply