wysywig text editing in debian
Hello
i would be happy to get a grip on vim joe emacs etc, but i am struggling with a learning curve as it is. in fedora i can just edit flat files, in debian how can i do this in the gui? seems you have to be root, but dont know how to open a file as root in the gui. i do and will get to grips with the terminal in due course, just need to fix a bunch of samba stuff quickly. can this be done this way or will i have to bite the emacs bullet? (it really does drive me nuts!). thanks. |
I am not sure I understand the question---including the meaning of wysyiwyg text editing. Word Processors give you wysyiwyg text formatting, but text editors just edit text.
Whatever your current favorite editor is, you can run it as root by simply opening it from a terminal (as root) Suppose you want to use GEDIT: open a terminal type "su" to become root type "gedit" GEDIT will open and you you can now open and edit any file as root. |
You can run just about any program with root permissions simply by prefixing the command with either gksu (gtk) or kdesu (kde). Enter the root password at the prompt, and away you go.
Just run 'gksu gedit', for example. By the way, I recommend nano as an easy-to-use cli text editor. It's light and simple, and comes installed standard in most distributions. |
wow! thanks for that, i swear the complex stuff i'm fine with, its always the simple stuff catches me out!
|
To the OP: While I sympathize with the learning curve issues, we all went through it at one time. If you want to use Debian, please take the time to learn to do it right. Using root privileges in a gui environment is strongly discouraged in the Debian default setup. It is purposely made difficult, because it is not the correct "linux" way. Start out using nano and when you have a better handle on day-to-day system management take some time to learn basic vim. Vimtutor will be your friend in that effort.
If you're not willing to make that level of commitment, a more newbie friendly distro would probably provide a better experience. To David the H.: Quote:
Code:
debian64:~# gksu gedit |
Quote:
Personally I don't think it's worth the time to really learn vi except for the basic things, like saving, changing the mode and c+p in case you need it in the busybox. Other than that there are so many more editors in linux which are more pleasant to use than the awkward and fiddly vi. |
Quote:
Quote:
|
All times are GMT -5. The time now is 08:44 AM. |