Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-12-2003, 11:18 AM
|
#1
|
|
LQ Newbie
Registered: Mar 2003
Posts: 13
Rep:
|
Unbelievable X-frustrations
I am now about one step away from putting my fist through my monitor trying to get things to work.
Running RH 8, I wanted GL support for my AGP All-In-Wonder. I tried the DRI project, but kept getting module ABI mismatches. I could not get rid of enough stuff that DRI had put on to get X-working again, so I installed XFree 4.3
I then got GL support working (a minor victory), but could only get twm working as a windows manager. I tried GNOME, and that went with twm. So, I got AfterStep, and got that working, but not togeether. Gnome used to run MetaCity, but it no longer loads a windows manager. I edited the gnome-wm file to point to afterstep, and modified my .xinitrc to reflect this as well.
Then I would run afterstep alone to see how that went, and it kept loading Gnome and opening about a zillion panles (with the messages "error: I have detcted a panel already open" and continuing on its merry way opening another thousand of them. I tried editing the .xinitrc to use only afterstep, but it too will continually load Gnome and the million panels. I've even tried killall commands, and the panel windows continue to regenerate. I have looked everywhere for the config file for Gnome to get it to stop loading all these panles. I can also not get Gnome to load afterstep as its window manager. Even from an X-term, the gnome-control-center says it cannot find the default preferences file, and does nothing.
Where is the Gnome config file to edit the window manager, and how do I get it to stop loading control panels?
I would also be happy to never use Gnome again and simply use afterstep, as it seems fairly robust for what I want. But, how do I stop loading Gnome when afterstep loads?
Any help would be appreciated.
|
|
|
|
04-12-2003, 04:05 PM
|
#2
|
|
Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154
Rep:
|
try removing all of the files that start with .gnome from your home folder.
this will reset your wm settings for gnome
rm -rf ~/.gnom*
all previous settings, files contained there and such will be lost
|
|
|
|
04-12-2003, 10:05 PM
|
#3
|
|
Member
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0), SuSE (10.x, 11.x, 12.2), Solaris (8-10), Tru64
Posts: 805
Rep:
|
Quote:
Originally posted by DavidPhillips
try removing all of the files that start with .gnome from your home folder.
this will reset your wm settings for gnome
|
Surely there is a better way! I've had to resort to doing what you've suggested on a coworker's Gnome config when she gets all these panels popping up. Actually, I've had to do it twice. I sure wish it'd screw up when I'm watching as I've never been able to tell whether it was Gnome scribbling on its own config files or whether it's a ``user-clicking-things-at-random'' problem.
|
|
|
|
04-12-2003, 10:26 PM
|
#4
|
|
Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154
Rep:
|
The problem should be solved that way. However if you find another way to fix it please post the solution.
|
|
|
|
04-13-2003, 12:04 AM
|
#5
|
|
Member
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0), SuSE (10.x, 11.x, 12.2), Solaris (8-10), Tru64
Posts: 805
Rep:
|
Quote:
Originally posted by DavidPhillips
The problem should be solved that way. However if you find another way to fix it please post the solution.
|
Well, what I've tried isn't so much a ``solution'' but a shortcut to recovering the last ``good'' window manager configuration: tar up Gnome-related subdirectories after you've have a good working setup. The theory is that when things get good and fouled up, all you have to do is delete the Gnome subdirectories, and untar the last good set. The trouble is that I'm not sure that's capturing all of the desktop settings. Partly because it's not clear just where all of the settings might be stored. Making, say, a panel change and then logging out -- and saving setup -- doesn't seem to alter any files under the Gnome subdirectories that you'd think might contain those changes. There are changed files under ~/.gconf but I'm not sure how they're tied to .gnome*. For now
tar cf .Gnome_Settings.tar .gnome*/* .gconf/*
is what I'm banking on as a snapshot of the last known-to-be-working desktop. It's untested at this point. I'll post results the next time my coworker calls to tell me she's got panels all over her desktop. :-)
|
|
|
|
04-13-2003, 04:38 PM
|
#6
|
|
LQ Newbie
Registered: Mar 2003
Posts: 13
Original Poster
Rep:
|
Thanks for the suggestions. I tried nuking all the little .gnom* thingers in my home directory, and that did indeed work. Whew.
I would still like to use a different window manager, however.
I'll try mucking with the gnome-wm file and see if I can get that to point to it. ITs too bad gnome-control-center has somehow decided to lose the default preference files, as that would be by far the easiest way of fixing the problem.
I have also tar'd up my known working config. Thanks again, and if you have any suggestions on how to use a different manager (I like afterstep) in Gnome, those suggestions too would be muchly appreciated.
|
|
|
|
04-13-2003, 05:09 PM
|
#7
|
|
Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154
Rep:
|
It is very simple to set the window manager
the xinitrc file is where you would set it up
most people use a link to the one of choice and just change the link to use a different one
david@zeus:/etc/X11/xinit$ ls -l
total 40
-rw-r--r-- 1 root root 321 Mar 16 15:36 README.Xmodmap
lrwxrwxrwx 1 root root 13 Mar 29 13:57 xinitrc -> xinitrc.gnome
-rwxr-xr-x 1 root root 556 Mar 16 16:59 xinitrc.blackbox
-rwxr-xr-x 1 root root 555 Mar 16 17:46 xinitrc.fluxbox
-rwxr-xr-x 1 root root 559 Feb 14 01:03 xinitrc.fvwm2
-rwxr-xr-x 1 root root 539 Feb 21 2002 xinitrc.fvwm95
-rwxr-xr-x 1 root root 630 Feb 5 00:44 xinitrc.gnome
-rwxr-xr-x 1 root root 536 Mar 15 21:54 xinitrc.kde
-r--r--r-- 1 root root 664 Mar 2 01:48 xinitrc.twm
-rwxr-xr-x 1 root root 788 Feb 11 18:41 xinitrc.wmaker
-rwxr-xr-x 1 root root 1487 Feb 14 00:22 xinitrc.xfce
note my link to xinitrc.gnome
the line at the bottum starts the window manager
david@zeus:/etc/X11/xinit$ cat xinitrc
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
# This nag screen isn't going to save anybody.
export NAUTILUS_OK_TO_RUN_AS_ROOT=1
# Start the window manager:
exec gnome-session
Last edited by DavidPhillips; 04-13-2003 at 05:11 PM.
|
|
|
|
04-13-2003, 05:13 PM
|
#8
|
|
Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154
Rep:
|
you can overide the system default by having the .xinitrc file in the users home folder
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:04 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|