• 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

    Switch opera light/dark mode on linux, based on system theme

    Appearance
    1
    1
    399
    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.
    • expertup
      expertup last edited by

      I'm using Opera on Zorin OS 17.3 (based on Ubuntu) and trying to programmatically switch between dark/light themes for Opera globally. Since Opera doesn't use system theme settings (e.g., GTK), I attempted solutions like xdotool to automate UI interactions and checked for DBus or API options, but none seem to work reliably.

      Has anyone found a way to send messages to the Opera process or use an extension/API to toggle themes? Alternatively, is there a native way in Ubuntu/Zorin to control Opera's theme? I know, them in setting can change theme, but I would like integrate them with system theme.

      Details:

      OS: Zorin OS 17.3 (Ubuntu-based)
      Opera version: 119.0.5497.29
      Tools tried: xdotool, gsettings, DBus (no relevant interfaces found)

      Any help or pointers to relevant documentation would be appreciated!

      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-