As of 2016-02-26, there will be no more posts for this blog. s/blog/pba/
Showing posts with label QT. Show all posts

A day ago, I downloaded Opera 9.63/10a to give them a try within GNOME Desktop Environment. I then found out Compose Key and iBus didn't work. Opera now still only ships Qt3 for x86_64, there is Qt4 Opera. iBus has no problems with Qt4 applications. If you have Qt3 programs, you need to run by
XMODIFIERS=@im=ibus QT_IM_MODULE=xim qt3_program

About Compose/Dead Keys, you need to run by
XMODIFIERS= QT_IM_MODULE= qt_program

In fact, if the program is Qt3, then you only need QT_IM_MODULE=.

There is one thing you should be careful to claim if Compose/Dead Keys works or not. If you want to get é,
  • In KDE, you can only compose as follows: [compose]+[']+[e]
  • In GNOME, not only the sequence above, but also: [compose]+[e]+[']
Make sure you use correct sequence to test Qt applications.

However, I can not make both worked together, either I have iBus or have Compose key. I could only have one working in both Qt3 and Qt4 programs.

PS. If you are not sure what version of Qt is using, just check up HelpAbout [Program's Name], that will tell you what version of Qt it is using.



ChangeLog
  • 2009-01-22 Fixed QT->Qt

A week ago, I re-installed Arch Linux on my one of my computers. At that time, I decided to use GNOME as usual. But I changed my mind, why not have another Desktop Environment? Then, I installed KDE4.

It's just as if you run QT applications in GNOME, it must be ugly if you do nothing. You would see ugly GTK applications in KDE, too. Here is steps to prettify by changing themes:

gtk-qt-theme
  1. pacman -S gtk-qt-engine
  2. systemsettings/Appearance/GTK Styles and Fonts/Use my KDE style in GTK applications.
  3. Re-log in.
Matching the themes
  1. pacman -S qtcurve-kde4 qtcurve-gtk2 gtk-chtheme
  2. For QT applications: systemsettings/Appearance/Style/Choose QtCurve
  3. For GTK applications: gtk-chtheme/Choose QtCurve