[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Removing GNOMEas boot option (was: Re: [debian-knoppix] Gnome 2.2 is realised)



At Sat, Feb 22, 2003 at 02:37:38PM +0100, Klaus Knopper wrote:
> > directory; tried a copied .font.cache. That did not seem to work - but I

Of course that didn't work: it's .fontS.cache-1 and not .font.cache-1 -
apart from the fact that I forgot a comma, so the whole copy directive went
wrong...

Anyway, I have a working Gnome2.2 Knoppix CD now - albeit a changed one,
without KDE, so that's not what you're looking for. However, please see
below how to create a working, non-memory-hogging (at least not 199Mb ;)
Gnome on KNOPPIX-2003-01-20 - and most likely other (newer) versions as
well!

> As for my setup:
> Gnome 1.4 cannot be installed anymore because of conflicting dependencies
> in some newer packages (gnumeric, gnomemeeting).

That is caused by having stable, testing and unstable in the packages list
(sorry, I know I'm repeating myself here but that's for those that are new
to the discussion).

However, I don't understand what happens when I simply remove the "stable"
entries from sources.list, look what happens:

# apt-get install gnome-session
[...]
The following packages will be REMOVED:
  amor ark cervisia k3b kaddressbook kalarm kalarmd kamera kandy kappfinder
  karbon karm kasteroids kate kate-plugins katomic kbabel kbackgammon

Ehr, well, that doesn't look right, it seems to remove all kinds of KDE
packages here. Now unfortunately I can't figure out why:
# apt-get install kaddressbook
[...]
Sorry, kaddressbook is already the newest version.

?? strange, huh? If you have an idea why this is - please say so. It seems
that Gnome2.2 and kaddressbook are mutually exclusive now - or maybe I'm
doing something wrong.

> Gnome 2.0 and 2.2 (as desktop managers) simply do nothing but hogging
> memory or being non-starters at the moment.

Simply create a /etc/skel/.fonts.cache-1 with the Knoppix fonts, copy it on
startup and the problem is gone.

> I'm keeping some of gnomes more interesting applications, but recommend
> starting with icewm, windowmaker or anything less complicated rather
> than using a gnome-session that simply doesn't work. The desktop=gnome
> entry for the boot options will eventually be removed, becaus it does not
> start anything useful yet, and it would surely not be a good
> advertisement for GNOME to start into a non-working setup.

You'll find a .fonts.cache-1 for knoppix attached. Please do the following:

cp .fonts.cache-1 /usr/local/share/ (on the cloop-partition, that is)
ln -fs /usr/local/share/.fonts.cache-1 /etc/skel/.fonts.cache-1

then add .fonts.cache-1 to the copy-command in
/etc/X11/Xsession.d/45xsession, as follows (please mind 'tab' characters in
this patch, you should probably patch with "-l") :

--- cloop/etc/X11/Xsession.d/45xsession~        Thu Jan 16 20:20:53 2003
+++ cloop/etc/X11/Xsession.d/45xsession Sun Feb 23 17:08:51 2003
@@ -46,7 +46,7 @@
 [ -z "$DESKTOP" ] && DESKTOP="kde"
 
 # Copy profiles if not already present
-\cp -ua /etc/skel/{.acrorc,.Xdefaults,.bashrc,.nessus*,.links,.lynx*,.qt,.xine,tmp} $HOME/
+\cp -ua /etc/skel/{.acrorc,.Xdefaults,.bashrc,.nessus*,.links,.lynx*,.qt,.xine,tmp,.fonts.cache-1} $HOME/
 
 # We DO need the .gnome* directory for some programs that set permissions incorrectly
 mkdir -p $HOME/.gnome/accels $HOME/.gnome_private

That will - most likely - give you a working Gnome setup.

I tested this with my own Knoppix-build-scripts and a clean 2003-01-20 CD,
but as these are slightly different from yours (I have a chrooted setup, a
different syslinux and some other differences) it might behave different on
your system. My test was *not* on CD, I used the chrooted directory.
Unfortunately my build scripts still produce a somewhat larger image than
yours, thus I could not test a clean Knoppix CD.

Best regards,

Valentijn
-- 
http://www.openoffice.nl/   Open Office - Linux Office Solutions
Valentijn Sessink  valentyn+sessink@nospam.openoffice.nl

Attachment: fonts.cache-1-KNOPPIX-2003-01-20-EN.gz
Description: Binary data


Reply to: