Opera reverts to English with each update.
-
Aspartame last edited by
Opera's default language systematically reverts to English each time the web browser is updated. To successfully change the default language I must modify the opera_opera.desktop file located in «var/lib/snapd/desktop/applications» and replace «Exec=(...) snap/bin/opera %U» by «Exec=(. ..) snap/bin/opera --lang=fr %U»
However, the modification is canceled with each update.Does anyone know of a way to keep the default language setting?
-
myswtest last edited by myswtest
Create a shortcut on your desktop or home sub-dir (?).
I only use Flatpaks (when I have to) and never Snaps. Many browsers (and other apps of course) have entries in the
~/. config/[...]
sub-dir for mods. Some depends are based on your environment (such as DE, etc), which you didn't specify). -
Aspartame last edited by Aspartame
@myswtest Thank you for your answer.
I tested Opera with Flatpack but it was impossible to change the default language of the web browser. In addition, Opera no longer displayed X and Netflix videos. However, the configuration was correct. I installed Opera from a .deb file and the problem was the same.
Only with Snap can I have both Netflix and put the browser in French. But it only works for the time between two updates.As for the desktop shortcut solution, as far as I know it is no longer possible to create shortcuts to an application on the Ubuntu desktop.
-
tobiasitalo last edited by tobiasitalo
Olá, eu uso o Opera One Dev, já usei o Opera One Stable, ambos instalados via .deb, ambos com o mesmo mesmo problema. Já alterei o atalho da dock e tive o mesmo problema, o Opera One Stable, irei testar novamente seguindo o tutorial a seguir:
Para alterar o comando de um atalho de programa que está na dock do Ubuntu, você pode seguir os seguintes passos:
- Navegue até o diretório
/usr/share/applications
- Procure pelo arquivo ".desktop" correspondente ao seu programa.
- Abra este arquivo com um editor de texto de sua escolha, por exemplo:
sudo nano /usr/share/applications/seu_programa.desktop
- Procure pelas linhas que começam com "Exec=". Esta linha especifica o comando que é executado quando você clica no atalho.
- Acrescente o comando após "Exec=" para o comando desejado, aqui acrescentando o idioma, no meu caso --lang=pt-br
- Salve e feche o arquivo.
[Hello, I use Opera One Dev, I've used Opera One Stable, both installed via .deb, both with the same problem. I already changed the dock shortcut and had the same problem, Opera One Stable, I will test again following the following tutorial:
To change the command of a program shortcut that is in the Ubuntu dock, you can follow these steps:
- Navigate to the "/usr/share/applications" directory
- Look for the ".desktop" file corresponding to your program.
- Open this file with a text editor of your choice, for example: "sudo nano /usr/share/applications/seu_programa.desktop"
- Look for lines that start with "Exec=". This line specifies the command that is executed when you click the shortcut.
- Add the command after "Exec=" for the desired command, here adding the language, in my case --lang=pt-br
- Save and close the file.]
Opera One(version: 105.0.4957.0)
Opera is up to date
Update stream:developer
System:Ubuntu 22.04.3 LTS (x86_64; ubuntu:GNOME)
Chromium version:118.0.5993.11Browser identification
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 OPR/105.0.0.0 (Edition developer)
Paths
Install: /usr/lib/x86_64-linux-gnu/opera-developer
Profile: /home/italo/.config/opera-developer/Default
Cache: /home/italo/.cache/opera-developer/Default
Installation type
Could only be specified for Windows OS - Navegue até o diretório
-
Aspartame last edited by
And bam! New Opera update, and English becomes the default browser language AGAIN. I think this is because the Opera control panel on Linux does not work: The browser does not take into account the parameters you enter. Today, if you are installing Opera for the first time on Ubuntu,
you will no longer be able to watch Netflix. And it's irremediable because the browser takes no account of the settings you select.So my request will probably remain unanswered but I'll ask it anyway: Does anyone know of another way to access Opera's configuration?
-
Aspartame last edited by
@tobiasitalo Agora é o arquivo opera_opera.desktop que deve ser modificado para que a mudança de idioma tenha efeito. Mas, infelizmente, isso só durará até a próxima atualização. Depois disso, ele voltará para o inglês e você terá que modificar o arquivo opera_opera.desktop novamente.
-
myswtest last edited by
@aspartame said in Opera reverts to English with each update.:
Does anyone know of another way to access Opera's configuration?
Yea, I access it by a mouse tap on the Opera icon in upper left of its window, and then select Settings.
Alternately, use Alt-P keystroke.
-
Aspartame last edited by
@myswtest This is the normal method. Unfortunately it does not work correctly. If you completely reinstalled Ubuntu and put Opera back on your PC, you would see that you would no longer have access to Netflix, because the permission to play protected content would not be enabled. The problem, is that if you went to the settings and activated this function, it would not be taken into account and the Netflix videos would still not be playable. The same goes for the browser's default language. You can change the settings as you like, English will always remain the default language.