LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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



Reply
 
Search this Thread
Old 04-12-2003, 12:18 PM   #1
NOT_Skeletor
LQ Newbie
 
Registered: Mar 2003
Posts: 13

Rep: Reputation: 0
Angry 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.
 
Old 04-12-2003, 05:05 PM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
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
 
Old 04-12-2003, 11:05 PM   #3
rnturn
Member
 
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0), SuSE (10.x, 11.x, 12.2, 13.2), Solaris (8-10), Tru64
Posts: 982

Rep: Reputation: 53
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.
 
Old 04-12-2003, 11:26 PM   #4
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
The problem should be solved that way. However if you find another way to fix it please post the solution.
 
Old 04-13-2003, 01:04 AM   #5
rnturn
Member
 
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0), SuSE (10.x, 11.x, 12.2, 13.2), Solaris (8-10), Tru64
Posts: 982

Rep: Reputation: 53
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. :-)
 
Old 04-13-2003, 05:38 PM   #6
NOT_Skeletor
LQ Newbie
 
Registered: Mar 2003
Posts: 13

Original Poster
Rep: Reputation: 0
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.
 
Old 04-13-2003, 06:09 PM   #7
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
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 06:11 PM.
 
Old 04-13-2003, 06:13 PM   #8
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
you can overide the system default by having the .xinitrc file in the users home folder
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows frustrations and Linux praise (venting my frustrations) Shaun32 General 6 03-04-2005 01:07 PM
unbelievable nero error in XP berrance General 4 03-02-2005 03:33 PM
Audacity frustrations goofyheadedpunk Linux - Software 9 06-11-2004 12:30 AM
CJK frustrations mifan Linux - Newbie 0 05-22-2004 11:59 PM
unbelievable UT install prblem salparadise Linux - Newbie 1 03-04-2003 12:44 PM


All times are GMT -5. The time now is 05:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration