Hi,

> laptop.  I do see that SHMConfig is already in xorg.conf but it is
> commented.  Any ideas on how to accomplish this?
> Option          "SHMConfig"             "on"

whatever you want to edit, use sed. For example
sed -e 's/\(SHMConfig.*\)\(on\)/\1off/' xorg.conf >xorg_new.conf
to switch an option or
sed -e 's/^#\(SHMConfig.*$\)/\1/' xorg.conf >xorg_new.conf
to uncomment a line.

Have a look at the manual about escaping characters, etc.

> Thanks again.
> glenn greenfield

Regards,
Konrad

_______________________________________________
Grml mailing list - [email protected]
http://lists.mur.at/mailman/listinfo/grml
join #grml on irc.freenode.org
grml-devel-blog: http://grml.supersized.org/

Reply via email to