I am using OpenBox on Ubuntu Jaunty (Crunchbang Linux). Yesterday I have forced to try Opera 10 beta (qt4) to test some web pages on Opera/Linux. Everything went fine until i saw that damn white non transparent Opera 10's sys tray icon :) . I googled around and saw that this is also happens on KDE (and probably Gnome) on different distros. I did not see any "disable tray icon" value on options so i find another way to disable the tray icon :$opera -notrayiconYes it is a cheap and dirty trick but it just works :) You can edit your menu and replace $opera command with $opera -notrayicon command (to edit menu use $alacarte command). Please feel free to post a fixed package via comments : )


9 comments:
thanks
I don't know why they did such an ugly tray icon, why thy don't do it like anyone else? Every other Qt app has a nice icon, only Opera 10 not... (and the wxwidgets apps...)
Thanks for the tip.
Another solution to this problem:
This solution will work no matter how opera is launched:
Modify the /usr/bin/opera file to have the -notrayicon switch with
Code:
sudo gedit /usr/bin/opera
Scroll to the bottom of the file where it says:
Code:
exec "$OPERA_BINARYDIR/opera" "$@"
and comment that line by adding a # to the beginning
Code:
#exec "$OPERA_BINARYDIR/opera" "$@"
Finally make a new line but with the notrayicon as the argument so that the end of the file looks like this:
Code:
#exec "$OPERA_BINARYDIR/opera" "$@"
exec "$OPERA_BINARYDIR/opera" "-notrayicon"
save and close the file. The bad thing is that this kinda disables other arguments from being used, so you might have to revert back to the original file if you need to run it with other arguments.
nah, thanks for the trick! I use a netbook so every pixel counts! Now i will try it with rhytmbox also..
Thanks a lot for the tip ! The non-transparency annoys me too :(
Why not
exec "$OPERA_BINARYDIR/opera" -notrayicon "$@"
?
For me it's working and i can use command line parameters.
Thanks for the tip Anonymous, it works great with:
exec "$OPERA_BINARYDIR/opera" -notrayicon "$@"
I read in some Opera blog that the bug with the white background is going to be fixed in 10.1 or so.
the fact that it stomps on the icons already there is a tad annoying as well. i lost my cloud and battery indicator :(
Thanks a lot!
This tray icon is useless in the first place, I wonder why they don't offer an option to disable it.
Post a Comment