You are not logged in.
Hi all!
So, I've just installed Arch (not for the first time, but it's been a while), and am doing a little customizing. I wanted to change the background and foreground colors in xterm, so after perusing the arch wiki Xterm and Xresources pages, I made a very simple .Xresources file, in my home dir, that consists solely of:
xterm*background: #001b33
xterm*foreground: #FFFFFFand then ran
xrdb ~/.Xresourcesand now, when I open an xterm, it is stuck in the upper left hand corner of my screen. I'm thinking I made a mistake by not running
xrdb -merge ~/.Xresourcesinstead, but since I didn't have a pre-existing .Xresources, I didn't think it would matter. Live and learn.
So, any suggestions on what I can do to either get back my old resources, or just be able to move that xterm window again? I do seem to be able to move other windows without issue, so hopefully, it's not affecting anything else.
Thank you,
Rog
Last edited by RogerS (2012-11-15 04:18:41)
Offline
Well, oddly, though I've not rebooted, or restarted x, the problem seems to have solved itself. If anybody could add some insight as to why this may have happened, I would appreciate it.
Offline
And the problem is back. If I reboot, I'll have to run
xrdb ~/.Xresourcesagain to get xterm looking the way I want - if I don't, it goes back to the default xterm appearance. Either way, after rebooting, if I open xterm, it's stuck up in the upper left hand corner, and cannot be moved. Sometimes, after 5-10 minutes, it'll be able to be moved again...but sometimes not.
I'm really very frustrated by this, and hope somebody can point me in the right direction, troubleshooting-wise.
Offline
Offline
I assume you're pointing me at this line:
If you do not use a desktop environment, you probably need to add the following line to your ~/.xinitrc:
But I use Gnome3, which is a DE, so does that still apply?
Offline
Actually, I think he was pointing you to
Adding to xinitrc
If you do not use a desktop environment, you probably need to add the following line to your ~/.xinitrc:
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresourcesbut since gnome gdm doesn't resource this file I don't know it it's particularly relevant.
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
Thanks, bgc1954.
Btw - the issue with xterm not using the .Xresources until I run xrdb is not that big a deal to me - what I'm really concerned with is the xterm being stuck in the upper left hand corner until it decides to release itself.
Offline
But I use Gnome3, which is a DE, so does that still apply?
You might have mentioned that earlier...
Launch xterm from another terminal and see what, if anything, it tells you.
Offline
RogerS wrote:But I use Gnome3, which is a DE, so does that still apply?
You might have mentioned that earlier...
Launch xterm from another terminal and see what, if anything, it tells you.
I don't know that it was relevant, given that my main issue is, as the title of the thread suggests, the not being able to move xterm issue. Looking back, I see I was unclear about that. I'll try not to let that happen again.
Anyways, when I run xterm from xterm, it says Warning: locale not supported by C library, locale unchanged
Oddly, the xterm that was spawned by the original xterm was not locked into the corner position. Equally oddly, I'm finding that if I start xterm for the first time from the drop down applications menu, rather than from the dock, I don't have the problem, and no matter where I launch it from after that, the problem does not repeat itself. I have no idea what to make of this.
Offline
First, make sure you have your locale set correctly.
Then, once that is sorted, if it still happens have a look at the dock thing.
Offline
Well, that had me chasing around for a minute. Looks like I had a typo in my locale.conf, but the locale wiki entry said that xterm has issues handling UTF-8, unless run as uxterm, which I am now doing.
However, the problem still holds, and now I'm not getting any output from the terminal. Once again, I am not sure how to proceed.
Offline
Then it appears to be narrowed down to how the dock launches it: I'd investigate that...
Offline