Author Topic: <Answered>Where IS .xdefaults  (Read 284 times)

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1528
<Answered>Where IS .xdefaults
« on: February 26, 2013, 08:18:29 AM »
In an attempt to get the text of tabs in Chrome large enough to easily read I found instructions to add text to a file in .xdefaults but not sure where that is in Root.
Instructions I found:
Quote
I found something of a workaround for my linux system. You probably know about your ~/.Xdefaults file, Well, it turns out there
is a default value that  helps. Modify the file, and reload using the command xrdb -load ~/.Xdefaults. Then restart chrome browser,
and, -- voila -- the tab font got larger. The lines I added are as follows:

!! Xft settings help the problem with small font in google chromium tabs!
!! Xft.dpi: 96  is the setting that makes the tab font larger
Xft.dpi: 96
Xft.antialias: true
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintslight

Note: I have already selected GTK theme which helped other menu fonts but not the tabs. I haven't tried adjusting my GTK fonts but other posts say that won't help with tabs and I am already using customized (larger) GTK fonts because of Gimp menus being to small.

Using fully updated KDE.
« Last Edit: February 26, 2013, 11:35:32 AM by Ray2047 »
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline agmg

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2056
  • Certified Windows Hater
Re: Where IS .xdefaults
« Reply #1 on: February 26, 2013, 08:28:37 AM »
The ~/ in front of the file suggests that it should be under your /home/username directory.
The dot in front of it suggests that it is hidden.

Show enable hidden files in your file manager and look under the /home/username directory.
Or issue the command ls -a.
For the whole world, you are someone.
For someone, you are the whole world.

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1528
Re: Where IS .xdefaults
« Reply #2 on: February 26, 2013, 09:26:58 AM »
I don't see it in Home which was why I thought it might be in root.  I'm guessing I may have to create it. I think you actually helped me. Thank you.
« Last Edit: February 26, 2013, 09:29:28 AM by Ray2047 »
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1528
Re: Where IS .xdefaults
« Reply #3 on: February 26, 2013, 09:46:02 AM »
Made the file and made it extricable but when I ran the command to start it that was suggested in the post I referenced I got:
Quote
[xxx@localhost ~]$ xrdb -load ~/.Xdefaults
/home/xxx/.Xdefaults:7: warning: End of input with no newline, supplemented newline
    Xft.hintstyle: hintslight
So can anyone decipher that for me? Thanks in advance.

KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline agmg

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2056
  • Certified Windows Hater
For the whole world, you are someone.
For someone, you are the whole world.

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1528
Re: Where IS .xdefaults
« Reply #5 on: February 26, 2013, 10:43:06 AM »
I'm sure the information is in those links from what I see and I thank you but first read seems to be above my skill level.
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 4037
Re: Where IS .xdefaults
« Reply #6 on: February 26, 2013, 10:55:32 AM »
You have a warning, probably telling you the file doesn't end with a newline (as all text files should, but many don't realise that). The file should not be executable (I presume that's what you mean by "extricable") as it is read by another program (xrdb) and not executed itself.

Have you checked whether it worked?
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1528
Re: <Answered>Where IS .xdefaults
« Reply #7 on: February 26, 2013, 11:37:06 AM »
Got it to work but it only affected the menus not the tabs. Thank you for your help.

Quote
The file should not be executable (I presume that's what you mean by "extricable") as it is read by another program (xrdb) and not executed itself.
LOL and to think I used spell check.
« Last Edit: February 26, 2013, 11:46:03 AM by Ray2047 »
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb