title: How can I fix a pixeled-aliased font when I run a tkinter code from a terminal
body: <p>I'm working with a python-tkinter code and I have different results if I run it from a terminal (<code>$ python3 file.py</code>) and if I make a laucher to run it with the next instruction: xterm -e "python3 file.py".</p>
  
  <p>This is the code in 'file.py':</p>
  
  <pre><code>from tkinter import *
  root = Tk()
  
  color = 'goldenrod4' 
  root.geometry("1350x750+0+0")
  root.title("Carabina 30-30")
  root.configure(background=color)
  
  Top = Frame(root, width=1350, height=100, bd=14)
  Top.pack(side=TOP, fill = X)
  Top.configure(background=color)
  
  Tops = Frame(Top, width = 100, height = 100, bd = 14)
  Tops.configure(background='red')
  Tops.pack(side=RIGHT)
  Tops.configure(background=color)
  
  
  lblInfo = Label(Top, font=('Arial', 40, 'bold'), text = "Carabina 30-30", bd=15, background='black', fg = 'white')
  lblInfo.config(activebackground = 'red')
  lblInfo.pack(side=LEFT)
  
  
  
  root.mainloop() 
  </code></pre>
  
  <p>When I do the first, the result is not smooth:
  <a href="https://www.dropbox.com/s/4yh26tjm150lww8/resultado1.png?dl=0" rel="nofollow noreferrer">bad result, aliased font</a></p>
  
  <p>If I do the second, the result is:
  <a href="https://www.dropbox.com/s/2z26v03rfmi9ryk/resultado2.png?dl=0" rel="nofollow noreferrer">good result, antialiased, smooth</a></p>
  
  <p>Obviously, I want the second result in any of the ways.
  In fact, if I enter the same line as in the launcher, but in the terminal, i have the same bad first result.</p>
  
  <p>How can I reach the correct smooth font in every situation? What is wrong with the first way?</p>
  
  <p>Thank you!</p>
  
  <p>More (and new) information:
  I installed python3-tk using "apt-get install", but python3 was installed with anaconda3. Maybe it's important because when I wrote <code>$ conda init bash</code> in a terminal, and then closed and opened it, the bash line had <code>(base)</code> in its beginning. Then I wrote <code>$ conda deactivate</code>, tried to run the program 'file.py' using <code>$ python3 file.py</code> and <em>voilá</em>... I had the result I wished.
  I really don't know what is happening, but that worked. I'll appreciate any information.</p>
  
  <p>Thanks!</p>