[plug] getting glx graphics working

Cameron Patrick cameron at patrick.wattle.id.au
Mon Feb 7 12:29:53 WST 2005


Innis Cunningham wrote:

> but everytime I remove the commented out section
> about GLX  in the /etc/X11/XF86Config-4 file and reboot the computer
> the line Load glx has been commented out again.
> What am I missing.
> I used vi to modify the file but think I screwed up somewhere because
> now every time I go to open this file with vi it gives a warning about a
> swap file.

This may be a stupid question (I'm not sure of your level of
experience with vi), but did you save the file and exit vi after you'd
changed it?  To save you use <ESC>:w<ENTER> and to quit <ESC>:q<ENTER>;
or you can do both in one step with <ESC>:wq<ENTER>.

> How do I get rid of this swap file as I dont seem to be able to find it.

Depends on which implementation of vi you have installed.  Vim is one
of the more popular ones and allows you to press "D" to delete the
swap file when you get the screen with the warning.  Vim swap files
are named .filename.swp.  The first character being a "." is a Unix
convention to mark 'hidden' files, i.e. they aren't shown by normal
directory listing tools like ls.  You can see all files including
dot-files with "ls -a" (-a for show _a_ll files).

Cameron




More information about the plug mailing list