• 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

    Language on booting : startup application

    Opera for Linux
    2
    5
    513
    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.
    • 35b9QPb
      35b9QPb last edited by

      Hi guys!

      When I launch Opera after booting, the default language (French) is run.
      However, when I launch Opera automatically at booting (startup application), the language is English.
      In my setting, my preferred languages is French and I remove all other languages.
      If I restart Opera, the correct langague is French.

      opera.desktop is setting : Exec=opera --lang=fr %U

      Any ideas?
      Thank a lot

      Reply Quote 0
        1 Reply Last reply
      • burnout426
        burnout426 Volunteer last edited by

        Didn't test, but putting an Opera.desktop file in the "~/.config/autostart" folder might do the trick.

        Opera.desktop:

        [Desktop Entry]
        Type=Application
        Exec=opera --lang=fr
        Hidden=false
        X-GNOME-Autostart-enabled=true
        Name=Opera
        Comment=Start Opera at login
        
        Reply Quote 0
          1 Reply Last reply
        • 35b9QPb
          35b9QPb last edited by

          Thank you for your help
          The folder autostart did not exist.
          I have create it an have follow your instruction.
          Without success. Always on English

          Any ideas?

          Reply Quote 0
            1 Reply Last reply
          • burnout426
            burnout426 Volunteer last edited by

            I tested this on Linux Mint Cinnamon 22.2 with 2 different ways.

            For the first way, I went in the start menu, right-clicked on the Opera shortcut and chose "Add to desktop". Then, I moved that opera.desktop file from my desktop to "~/.config/autostart". I then, right-clicked on it, went to properties and changed the command to opera --lang=fr %U and that worked. When I logged in, Opera started automatically and in French.

            For the second way, in "~/.config/autostart", I created the opera.desktop file in Text Editor with the following content:

            [Desktop Entry]
            Version=1.0
            Name=Opera
            GenericName=Web browser
            Comment=Fast and secure web browser
            TryExec=opera
            Exec=opera --lang=fr %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=new-window;new-private-window;
            
            [Desktop Action new-window]
            Name=New Window
            Exec=opera --new-window
            TargetEnvironment=Unity
            
            [Desktop Action new-private-window]
            Name=New Private Window
            Exec=opera --incognito
            TargetEnvironment=Unity
            

            After the file was created, I right-clicked on it, went to "Properties", switched to the "Permissions" tab and checked "Allow to execute this as a program" and that worked. When I logged in, Opera started automatically and in French.

            Reply Quote 0
              1 Reply Last reply
            • 35b9QPb
              35b9QPb last edited by

              It runs! Thank you very much

              Reply Quote 1
                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-