On 07/29/2011 08:03 PM, Felix Miata wrote:
On 2011/07/30 07:51 (GMT+0800) George Olson composed:
/snip/
Ok, how do I open the 50-device.conf file in kwrite as root so that I can edit and save it? I can't remember how to open up kwrite with root privileges.
Back up. Look in Xorg.0.log. If there are not already numerous lines that include UNICHROME, only then might specifying unichrome as the driver in 50-monitor.conf serve any purpose. A lot of UNICHROME lines in Xorg.0.log means it's already being used.
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. /snip/
This seems unnecessarily complicated. Open konsole. Find the directory 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. 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, do ctrl+x, then y then ENTER. If you were using su root, type exit. (If opensuse doesn't have nano, then it must have pico. They work exactly the same, for all practical purposes.) Now you may have to reboot to let the system recognize the change. --doug -- Blessed are the peacemakers...for they shall be shot at from both sides. --A. M. Greeley -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org