On 2011/07/29 20:46 (GMT-0400) Doug composed:
Felix Miata wrote:
If you need to modify that file, kwrite is not the only way. I never use kwrite to modify config files. I open MC after logging in as root in Konsole or on a tty. Going to a tty first also facilitates X restarting to initiate the configuration change. IOW, first log out of KDE, then log in as root, then open MC, with which you navigate to /etc/X11/xorg.conf.d/ and use MC's internal editor to make the change, then restart X.
This seems unnecessarily complicated.
Takes me all of 8 seconds to do, including making the backup of 50-device.conf.
Open konsole. Find the directory
MC can be opened in Konsole, but since X will have to be restarted to institute the config file change anyway, might as well just log out to start with. Once logged in as root, everything necessary is in place without messing with sudo or su.
that the .conf file is in and change to it. Before doing anything else, (no matter how you edit the file,) either use sudo, or su root if you don't have sudo, then cp 50-device.conf 50-device.conf.bak.
In MC, shift-F3, end, ., b, a, k, enter. IOW, lots fewer keystrokes to make the backup.
That will save the existing version in case you screw up. Then do nano -m 50-device.conf and edit the file. When you have done,
In MC, highlight the file to be edited, F4. IOW, lots fewer keystrokes.
do ctrl+x, then y then ENTER. If you were using su root, type exit. (If
No need to quit the session before you know the change(s) made got the job done. do 'init 3; init 5', and KDM will be restarted.
Now you may have to reboot to let the system recognize the change.
No need to waste time rebooting when changing X configuration. X is an application. It doesn't need a reboot to be restarted. Linux is not Windows. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org