** Summary changed: - 7.10: Qt3 ~/.qt owner root and missing qtrc result result in ugly appearance + 7.10: Qt3 /etc/qt3/qtrc owner root result in ugly appearance
** Description changed: - 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. + --Changed by Saïvann-- - 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 + /etc/qt3 folder is missing or empty with very low permissions ( + drwxr----- 2 root root ). - A quick fix would be: - sudo apt-get install qtconfig-qt3 - sudo chown -R `whoami`:`whoami` ~/.qt - qtconfig-qt3 + Because the /etc/qt3/qtrc file doesn't exist or cannot be accessed + because of the low permissions of the /etc/qt3 folder, all qt3 programs + have HUGE fonts and become near to unusable. - 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 + This problem is caused by the absence of the "/etc" value in the + debian/libqt3-mt.install file, so the package won't install his config + files to /etc/qt3. + + A quick workaround to fix that problem is to create the /etc/qt3 folder + and create the file "qtrc" into that folder. qtrc file should contain + this: + [3.3] - libraryPath=/usr/lib/qt3/plugins:/usr/bin - - [Font Substitutions] - arial=helvetica^e - helv=helvetica^e - tms rmn=times^e + libraryPath=/usr/lib/kde3/plugins/ [General] - GUIEffects=general^e - XIMInputStyle=On The Spot - cursorFlashTime=1000 - doubleClickInterval=400 + GUIEffects=general^eanimatecombo^e embedFonts=true + enableXft=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 + useXft=true + style=Plastik + + [KDE] + contrast=7 + kdeAddedLibraryPaths=/usr/lib/kde3/plugins/^e + + [KWinPalette] + activeBackground=#1f26ad + activeBlend=#259bb8 + activeForeground=#ffffff + activeTitleBtnBg=#e6e6e6 + frame=#efefef + inactiveBackground=#cdcdcd + inactiveBlend=#ababab + inactiveForeground=#dddddd + inactiveFrame=#efefef + inactiveTitleBtnBg=#ebebeb [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 + active=#000000^e#dddfe4^e#ffffff^e#ffffff^e#555555^e#c7c7c7^e#000000^e#ffffff^e#000000^e#ffffff^e#efefef^e#000000^e#678db2^e#ffffff^e#0000ee^e#52188b^e + disabled=#808080^e#dddfe4^e#ffffff^e#ffffff^e#555555^e#c7c7c7^e#c7c7c7^e#ffffff^e#808080^e#ffffff^e#efefef^e#000000^e#567594^e#ffffff^e#0000ee^e#52188b^e + inactive=#000000^e#dddfe4^e#ffffff^e#ffffff^e#555555^e#c7c7c7^e#000000^e#ffffff^e#000000^e#ffffff^e#efefef^e#000000^e#678db2^e#ffffff^e#0000ee^e#52188b^e -- 7.10: Qt3 /etc/qt3/qtrc owner root result in ugly appearance https://bugs.launchpad.net/bugs/145709 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs