December 31, 2006
Opera has updated to 9.10. I can’t remember how I installed opera, but I can’t update it using “sudo apt-get dist-upgrade”. This post has exactly the same problem as mine. So, I changed my old stable repository into this “#deb http://deb.opera.com/opera/ etch non-free”, and use this in the terminal to add public key:
sudo gpg –keyserver subkeys.pgp.net –recv-key 6A423791
sudo gpg –fingerprint 6A423791
sudo gpg –armor –export 6A423791| sudo apt-key add –
and then “sudo apt-get update”, “sudo apt-get dist-upgrade”.
December 29, 2006
After I installed KDE desktop environment in Ubuntu and changed a dark color scheme, my opera brower uses this color scheme automatically! People discuss around how to make Opera using the current KDE theme, but no one wants to leave Opera alone. The reason why I want to do this, or must do this is because some website seems to set font color to be dark or black. As in my KDE color scheme all the background are black, and the foreground is white (I like this high contrast), I can’t see much in this color scheme. See the screenshot:
(KDE color scheme) (Default color scheme)
I searched around and found no answer in opera community, kde, ubuntu, kubuntu forums… Then I played around all the opera settings, nothing to configure this. Then I found there is one file that is the key to this problem. That is “~/.qt/qtrc“. It seems opera will read the color scheme from this file every time it launches. I found this because when I launch opear as root, the color scheme would become default, same as the root color scheme. Then I make my hotkey “Win+O” to run this command “mv ~/.qt/qtrc ~/.qt/qtrcc & opera“. By doing so, this qtrc is renamed as qtrcc, Opera will use the default color scheme if this qtrc file is not found in the ~/.qt folder. I’ve been doing this for weeks, nothing bad happened to any of my other KDE programs. So I guess this will resolve this problem before I found an “official” way. By the way, this qtrc file will be created every time I logged in Xwindows, I rename it to qtrcc just in case some day somehow this file is not created.