View previous topic :: View next topic |
Author |
Message |
ferreirafm Guru
Joined: 28 Jul 2005 Posts: 487 Location: Sao Paulo, Brazil
|
Posted: Tue Jun 21, 2011 12:17 am Post subject: [SOLVED] xterm & .Xdefaults |
|
|
Hi there,
Xterm is not running my .Xdefaults settings.
Code: | ferreirafm@mephisto ~ $ ls -la .Xdefaults
-rw-r--r-- 1 ferreirafm ferreirafm 196 Mar 31 11:09 .Xdefaults |
Here goes what is has inside:
Code: | ferreirafm@mephisto ~ $ more .Xdefaults
XTerm*foreground: white
XTerm*background: black
XTerm*saveLines: 100000
XTerm*faceName: monospace
XTerm*faceSize: 11pt;
XTerm*boldFont: monospace
XTerm*scrollBar: true
XTerm*rightScrollBar: true |
Is has something to do with launching Xterm from inside kde??
Any clues are appreciated.
ferreirafm
Last edited by ferreirafm on Tue Jun 21, 2011 1:23 am; edited 1 time in total |
|
Back to top |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Tue Jun 21, 2011 12:27 am Post subject: |
|
|
IIRC it should be 'xterm*' not 'XTerm*'. _________________ ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. |
|
Back to top |
|
|
ferreirafm Guru
Joined: 28 Jul 2005 Posts: 487 Location: Sao Paulo, Brazil
|
Posted: Tue Jun 21, 2011 12:51 am Post subject: |
|
|
Hi avx,
Thanks for helping. Swapping from upper to lower case din't solve the problem.
I'm afraid it has something to do with kde, but not sure. From time to time my keyboard gets crazy and seems to loose its character mapping.
So, I give up of using Konsole and start xterm. Policykit may be...
Any other ideas?
ferreirafm |
|
Back to top |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Tue Jun 21, 2011 1:04 am Post subject: |
|
|
Does this work?
Code: |
cd ~
mv .Xdefaults .Xresources
ln -s .Xresources .Xdefaults
ln -s .xinitrc .Xclients
|
and put this in the beginning of your .xinitrc:
Code: |
#!/bin/bash
if [ -f $HOME/.Xdefaults ]; then
xrdb -merge $HOME/.Xdefaults
fi
|
Note: Backup these files before. _________________ Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1" |
|
Back to top |
|
|
ferreirafm Guru
Joined: 28 Jul 2005 Posts: 487 Location: Sao Paulo, Brazil
|
Posted: Tue Jun 21, 2011 1:22 am Post subject: |
|
|
Hi keenblade,
That's did the trick. Could you explain whats going on?
Thanks,
ferreirafm
P.S.: xterm always open inside the Documents directory instead of ~/. How can I fix it? |
|
Back to top |
|
|
keenblade Veteran
Joined: 03 Oct 2004 Posts: 1087
|
Posted: Tue Jun 21, 2011 1:57 am Post subject: |
|
|
ferreirafm,
.Xdefaults file is deprecated and .Xresources is used nowadays. But for compatibility, .Xdefaults file is symlinked to Xresources.
Since you use kde, xterm always will be open inside the Documents directory instead of ~/. So you need to change path in kde within "System Preferences -> User Preferences -> Paths -> Documents
Menu names might not be the same, since I can't remember exactly. _________________ Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1" |
|
Back to top |
|
|
ferreirafm Guru
Joined: 28 Jul 2005 Posts: 487 Location: Sao Paulo, Brazil
|
Posted: Tue Jun 21, 2011 4:40 pm Post subject: |
|
|
keenblade,
Thank yo for the .Xdefault explanation and also for the tips on kde paths.
All the Best,
ferreirafm |
|
Back to top |
|
|
|