Difference between revisions of "Set all Qt app's to use GTK+ font & theme settings"

imported>Handy
imported>Handy
Line 7: Line 7:
=How do you do it?=
=How do you do it?=


As root, create '''/etc/profile.d/qt.style.overide.sh'''
As root, create '''/etc/profile.d/qt.style.overide.ah'''


To do that you will need to start your favourite text editor in root mode. You can this by using sudo <your text editor's name> in the terminal (or however else you get your editor to create a new file as root).
To do that you will need to start your favourite text editor in root mode. You can achieve this by using the following command at the terminal $ prompt (swap the to the text editor of your choice):


Copy the following into your text editor's new empty file with this path & name:
sudo medit /etc/profile.d/qt.style.overide.sh


'''/etc/profile.d/qt.style.overide.sh'''
Then copy the following into your text editor's new empty file:


  ## Following was created to make Qt app's use GTK+  
  ## Following was created to make Qt app's use GTK+  
Anonymous user