On 02-13-2024 05:11PM, Carlos E. R. wrote:
On 2024-02-14 00:01, -pj via openSUSE Users wrote:
On 02-12-2024 10:35PM, Goblin Invader wrote:
Some of what I was reading spoke of a crontab possibility which you explain above.
The issue for me right now is my lack of knowledge of the vi editor.
Do:
EDITOR=/usr/bin/mcedit crontab -e
or
EDITOR=/usr/bin/joe crontab -e
instead of joe you can use jstar, jpico, jmacs, and joe will emulate those editors. Any one you like.
Or use any other editors you like. pico, nano... But joe is installed by default on opensuse.
When you find one that you like, then edit ".bashrc":
export EDITOR=/usr/bin/mcedit
and that will be the editor used by system tools instead of vi ;-)
This is really important advice on editors that I was not aware of. I have very limited knowledge of 'Kate Advanced Text Editor' and have mainly been using Kate for basic file editing tasks on this machine. For instance in order to edit /etc/default/grub I must be root in order for Kate to save any changes to the file. # kate /etc/default/grub THIS IS POTENTIALLY INSECURE! To edit files as root please use: SUDO_EDITOR=kwrite sudoedit <file> Then Kate opens the the *correct* grub file for editing. - kwrite looks pretty interesting. - Trying the following to open Kate does not seem to work so great anymore, as it opens Kates GUI into very strange files i.e. grub.09D0g681 file . :~> SUDO_EDITOR=kate sudoedit /etc/default/grub [sudo] password for root: sudoedit: /etc/default/grub unchanged Do you know what's going on with that by chance? - I recently asked about Kate in KDE and became informed on the following way to correctly open file for editing from the traditional starter. Workaround GUI Kate as root: Open the starter (alt+f2) enter user password - kdesu -c "kate -b /your/file/here" - -Best Regards