Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

Small problem with Xterm / .Xdefaults file

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
brettlpb
Apprentice
Apprentice
User avatar
Posts: 197
Joined: Tue May 27, 2003 9:43 pm

Small problem with Xterm / .Xdefaults file

  • Quote

Post by brettlpb » Tue Feb 22, 2005 12:40 am

It seems everytime I reboot I need to run "xrdm -load .Xdefaults" then re-run a new Xterm.

What do I need to do so that xterm reads this file everytime it starts, as I understood it was supposed to?

Thanks in advance.
Top
seank
l33t
l33t
Posts: 686
Joined: Thu Jul 08, 2004 1:44 am
Contact:
Contact seank
Website

  • Quote

Post by seank » Tue Feb 22, 2005 2:13 am

xfree or xorg?
Top
allucid
Veteran
Veteran
Posts: 1314
Joined: Sat Nov 02, 2002 6:27 pm
Location: atlanta

  • Quote

Post by allucid » Tue Feb 22, 2005 2:22 am

What windowmangager/DE are you using? XFCE4?
help support OpenSSH
Top
codergeek42
Bodhisattva
Bodhisattva
Posts: 5142
Joined: Mon Apr 05, 2004 4:44 am
Location: Anaheim, CA (USA)
Contact:
Contact codergeek42
Website

  • Quote

Post by codergeek42 » Tue Feb 22, 2005 2:35 am

Code: Select all

$ xrdb -merge .Xdefaults
perhaps?
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Top
brettlpb
Apprentice
Apprentice
User avatar
Posts: 197
Joined: Tue May 27, 2003 9:43 pm

  • Quote

Post by brettlpb » Tue Feb 22, 2005 2:57 am

codergeek42 wrote:

Code: Select all

$ xrdb -merge .Xdefaults
perhaps?
I think that just does a load but merges it with current settings... anyway, I have to do that everytime I reboot, too (in place of a load, basically).

I'm using Xorg 6.8.2 and Gnome 2.8

I didn't think my DE would have any affect on me running xterm, as I figured xterm sourced .Xdefaults when it runs anywhere?

I'd rather not use gnome-terminal
Top
brettlpb
Apprentice
Apprentice
User avatar
Posts: 197
Joined: Tue May 27, 2003 9:43 pm

  • Quote

Post by brettlpb » Tue Feb 22, 2005 5:07 pm

Anyone?
Top
supemoy
n00b
n00b
Posts: 2
Joined: Tue Feb 22, 2005 7:51 pm

  • Quote

Post by supemoy » Tue Feb 22, 2005 7:57 pm

hey dude,
remember, this is linux. Things don't happen automagically, if you want something to happen you have to make it happen.
Put it in your .bashrc or login script. Put it in your .xsession, or hell if your changing it a lot bind a keyboard short cut to it.

Peace
Top
supemoy
n00b
n00b
Posts: 2
Joined: Tue Feb 22, 2005 7:51 pm

  • Quote

Post by supemoy » Tue Feb 22, 2005 8:02 pm

i reread your problem and if you are having to type it in EVERYTIME you start a new xterm then you should put it in
your bashrc. That should get read everytime a new xterm opens, if your using some other shell then read your man
pages for info on it's start up environment.
Top
wilho
Apprentice
Apprentice
Posts: 169
Joined: Mon Jul 22, 2002 6:03 pm

  • Quote

Post by wilho » Tue Mar 22, 2005 9:10 pm

add

Code: Select all

useratermsettings=$HOME/.Xdefaults

if [ -f "$useratermsettings" ]; then
    xrdb -merge "$useratermsettings"
fi
to your /etc/X11/xinit/xinitrc
Top
dfort
n00b
n00b
Posts: 29
Joined: Sat Jul 31, 2004 9:14 pm
Location: West Hollywood
Contact:
Contact dfort
Website

  • Quote

Post by dfort » Thu Jun 02, 2005 7:08 am

I've got the same problem. If I change something in

Code: Select all

/etc/X11/app-defaults/XTerm-color 
and all I've got in my ~/.Xdefaults is

Code: Select all

*customization: -color
it will take when I run

Code: Select all

xrdb ~/.Xdefaults
but if I log out and back in, the modifications to the XTerm-color file doesn't take until I re-run

Code: Select all

xrdb ~/.Xdefaults
I tried putting

Code: Select all

useratermsettings=$HOME/.Xdefaults

if [ -f "$useratermsettings" ]; then
    xrdb -merge "$useratermsettings"
fi 
in /etc/X11/init/xinitrc but it didn't fix it.

By the way, I'm using KDE and plain vanilla XTerm on an amd64 system. I even tried the latest ~amd64 ebuild, but still the same. All I really want to do is to have xterm come up with white on black instead of black on white without having to add command line options, aliases, etc. I mean, changing XTerm-color should be it, right? There shouldn't even be a need to mess around with .Xdefaults -- I would think.

--Dan
Top
Post Reply

10 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic