1 |
Lindsay Haisley <fmouse-gentoo@×××.com> posted |
2 |
20060719014212.GD23572@×××.com, excerpted below, on Tue, 18 Jul 2006 |
3 |
20:42:12 -0500: |
4 |
|
5 |
> Thus spake Donnie Berkholz on Tue, Jul 18, 2006 at 08:18:00PM CDT |
6 |
>> Lindsay Haisley wrote: |
7 |
>> > Donnie, anyone with some Gnome experience, know how to get out of this |
8 |
>> > one? |
9 |
>> |
10 |
>> It has never happened to me, everything always works great for me. |
11 |
>> That's why I am a dev, weird local issues don't happen. =) |
12 |
|
13 |
Yeah, we know, become a dev and all the weird issues happen to someone |
14 |
/else/ and aren't reproducible on a dev's system! =8^) |
15 |
|
16 |
> Oh well. I guess I'm just going to have to bite the bullet, blow away |
17 |
> my old gnome config altogether, and rebuild it from scratch. That |
18 |
> generally gets the job done. |
19 |
|
20 |
I'm not a GNOME user (I /vastly/ prefer the configurability of KDE, which |
21 |
actually treats me as if I have some intelligence in the choices it |
22 |
offers, but that's just me), but regardless of the DE one chooses, I |
23 |
always shudder when I see someone talking about blowing away hours worth |
24 |
of configuration and customization. |
25 |
|
26 |
First, When I upgrade KDE between minor versions (as 3.4 to 3.5, but not |
27 |
always 3.5.2 to 3.5.3), I always take a copy of my user's KDE config tree |
28 |
before the first time I launch the new version, just in case. |
29 |
|
30 |
After starting the new version, there's usually a couple things that don't |
31 |
work quite right, very frequently including kicker (the KDE panel app), |
32 |
since as with you, mine is very highly customized. However, that's NO |
33 |
reason to blow away the ENTIRE config, hours and hours worth of |
34 |
customization! |
35 |
|
36 |
Instead, I delete the config (which is backed up, remember) and try again |
37 |
just to be sure that it's the config at fault, not the apps themselves. |
38 |
Assuming that works, as generally does, I restore roughly half the config, |
39 |
or half the config subdirs, anyway, and try again. If that works, I know |
40 |
it's in the other half. If not, I know it's in the half I restored. Then |
41 |
I take the bad half and delete or restore half of it, and try again. Soon |
42 |
I'm down to a single culprit directory, so I advance to it, using half of |
43 |
its contents, try again, then half of the bad half, again, etc, until I'm |
44 |
down to a single subdir or a single file once again. Repeat until it's a |
45 |
single file. |
46 |
|
47 |
When I reach the single file stage, there's a choice. I can either blow |
48 |
away that single file and recreate the config within, or I can continue |
49 |
the same strategy, but within the file, working with sections at a time, |
50 |
then lines at a time. Personally, I almost always choose to resolve the |
51 |
issue as far as possible, just because I'm curious what the problem is and |
52 |
I like to find it and if possible get myself a satisfying explanation of |
53 |
why it occurred or what changed. However, those with less patience or who |
54 |
don't understand enough of the details to make sense of individual |
55 |
sections or lines in the first place will probably find it's better just |
56 |
to blow away the file and reconfigure what it controlled, no more. |
57 |
|
58 |
Now, the first time you do this it may take nearly as much time as simply |
59 |
reconfiguring from scratch. However, after a couple times, you'll begin |
60 |
to understand the logic of how things are laid out, and will be able to |
61 |
predict with some accuracy where the problem is, much of the time, and at |
62 |
least choose the culprit subdir and possibly the culprit file the first |
63 |
time, or if not that, narrow it down to a couple likely candidates out of |
64 |
the many. Thus, by the third time you do this, it's likely to take far |
65 |
less time than it did the first time, or than it would to reconfigure |
66 |
everything from scratch. As a bonus, you develop a far greater |
67 |
understanding of how the configuration system works and therefore can be |
68 |
much more of a power user not only in troubleshooting terms, but also in |
69 |
understanding how the configuration works and making the most of it for |
70 |
your personal method of working. |
71 |
|
72 |
It has been a very long time since I had to start a reconfigure from |
73 |
scratch. In fact, I believe it was several years before I jumped from |
74 |
MSWormOS (where even when I did a reinstall, I had *.reg files saved up |
75 |
for many of my customizations, and batch files to run for many of the |
76 |
piddly applet installs) -- I've /never/ had to start a reconfigure from |
77 |
scratch since I switched to Linux. I've certainly saved many hours of |
78 |
reconfiguration over that time, upgrading as I have from KDE 2.1 IIRC, all |
79 |
the way thru the KDE 3.5 series, and switching from Mandrake to Gentoo. |
80 |
The same thing of course applies to much of the system configuration in |
81 |
/etc, and I have quite a collection of sysadmin scripts in /usr/local that |
82 |
I've created over the years, and retain thru the various upgrades as my |
83 |
system evolves and changes. (FWIW, /usr/local is a separate partition, |
84 |
with a mirror image partition kept for backup, which I update from time to |
85 |
time as well. Of course, the same goes for /home, and for / with its /etc |
86 |
as well, I have mirror images of all of them, for backup and emergency |
87 |
boot purposes.) |
88 |
|
89 |
So anyway, there's no reason why you should need to blow away your entire |
90 |
GNOME config just to fix a problem with the panels. The problem can |
91 |
almost certainly be traced to an individual file, and even to and |
92 |
individual section or sections and an individual line or lines within that |
93 |
file. Why blow away configuration for all sorts of /other/ stuff, when |
94 |
doing so isn't required to fix the problem? I've never understood the |
95 |
thought process of those who do that, because if they can figure out where |
96 |
the config is to blow it away, what's stopping them from figuring out |
97 |
which part of the config is the problem, and blowing only it away, sparing |
98 |
everything else? Nothing is, except possibly that they've never thought |
99 |
it thru, or a simple lack of patience, which would seem counterproductive |
100 |
if the alternative is hours of recustomization time! |
101 |
|
102 |
|
103 |
|
104 |
-- |
105 |
Duncan - List replies preferred. No HTML msgs. |
106 |
"Every nonfree program has a lord, a master -- |
107 |
and if you use the program, he is your master." Richard Stallman |
108 |
|
109 |
-- |
110 |
gentoo-desktop@g.o mailing list |