Projekt: | Trisquel |
Version: | 7.0 |
Komponente: | Packages |
Kategorie: | Fehlerbericht |
Priorität: | normal |
Zugewiesen: | Legimet |
Status: | closed |
Abrowser looks ugly in KDE with the gtk2-engines-oxygen package. Apparently this package does some special things for XUL apps such as Firefox and Thunderbird.
An easy fix is as follows:
In the gtk2-engines-oxygen package, go to src/oxygenapplicationname.cpp, and insert the string "abrowser" into the array XulAppNames (at line 74). This fixed the problem for me.
I have attached a screenshot of Abrowser before patching gtk2-engines-oxygen, and after patching it.
The following line should work for a package helper:
sed '76i \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \"abrowser\"\,' -i src/oxygenapplicationname.cpp
If some lines were to be added to the file before the 76th line by upstream, the file would have errors. It would be better not to use hardcoded line numbers.
A patch for this can be found here.
With the upcoming change from Abrowser to Icecat, this patch won't be necessary because "icecat" is already in that array. Once Trisquel switches to IceCat I'll close this issue.
Added to helpers and available in the repos now. Sorry for the delay, and thanks for the contribution!
Automatically closed -- issue fixed for 2 weeks with no activity.
I've been using the version in my PPA, but I just realized that it needs to fixed in Trisquel 7 as well (since Abrowser is still being used).
Fixed.
Automatically closed -- issue fixed for 2 weeks with no activity.