Comment 0 for bug 145709

Revision history for this message
Savvas Radevic (medigeek) wrote : Qt3 ~/.qt owner root

I've recently installed Virtualbox, the Ubuntu Feisty package on Ubuntu Gutsy (amd64, tribe 5), since there's no newer release. Everything works fine, except for the part that the Qt looks ugly.

I tried to change the files, but the qtconfig-qt3 wouldn't save them, complaining:
QSettings::sync: filename is null/empty
I've then checked the ~/.qt directory in the home, and its owner was root:root, hence it doesn't allow the user to save their settings in ~/.qt/qtrc

A quick fix would be:
sudo apt-get install qtconfig-qt3
sudo chown -R `whoami`:`whoami` ~/.qt
qtconfig-qt3

I'm also providing a nice "theme", you just have to save it as ~/.qt/qtrc like so:
sudo apt-get install qtconfig-qt3
sudo chown -R `whoami`:`whoami` ~/.qt
gedit ~/.qt/qtrc
and then paste the following and do qtconfig-qt3 when you're done

[3.3]
libraryPath=/usr/lib/qt3/plugins:/usr/bin

[Font Substitutions]
arial=helvetica^e
helv=helvetica^e
tms rmn=times^e

[General]
GUIEffects=general^e
XIMInputStyle=On The Spot
cursorFlashTime=1000
doubleClickInterval=400
embedFonts=true
font=Sans Serif,9,-1,5,50,0,0,0,0,0
fontPath=\0
globalStrut=0^e0^e
resolveSymlinks=true
style=CDE
useRtlExtensions=false
wheelScrollLines=3

[Palette]
active=#000000^e#ebebeb^e#ffffff^e#f5f5f5^e#757575^e#9c9c9c^e#000000^e#ffffff^e#000000^e#ffffff^e#ebebeb^e#000000^e#2d7daf^e#ffffff^e#1f72a6^e#1f7cd9^e
disabled=#808080^e#ebebeb^e#ffffff^e#ffffff^e#757575^e#9c9c9c^e#808080^e#ffffff^e#808080^e#ffffff^e#ebebeb^e#000000^e#2d7daf^e#808080^e#1f72a6^e#1f7cd9^e
inactive=#000000^e#ebebeb^e#ffffff^e#ffffff^e#757575^e#9c9c9c^e#000000^e#ffffff^e#000000^e#ffffff^e#ebebeb^e#000000^e#2d7daf^e#ffffff^e#1f72a6^e#1f7cd9^e

[customColors]
0=-1
1=-1
10=-1
11=-1
12=-1
13=-1
14=-1
15=-1
2=-1
3=-1
4=-1
5=-1
6=-1
7=-1
8=-1
9=-1