Advertisement
Guest User

Untitled

a guest
Nov 8th, 2011
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. >>> How to set Qt application to Gtk2 style
  2.  
  3. apt-get install qt4-qtconfig
  4.  
  5. Run qtconfig-qt4
  6. Select "Gtk+" from "Select GUI Srtyle" menu
  7. Then from the menu select :
  8. File -> Save
  9. File -> Exit
  10.  
  11. The configuration files are ~/.config/Trolltech.conf (qt) and ~/.gtkrc-2.0 (gtk) .
  12.  
  13. If you want root to use the same theme (if you run an application as root via gksu [synaptic]), copy the configuration files to /root
  14.  
  15. sudo mkdir /root/.config
  16. sudo cp ~your_user_name/.config/Trolltech.conf /root/.config/
  17. sudo cp ~your_user_name/.gtkrc-2.0 /root/
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement