SYSEdit is a bash script (works with openSUSE 12.2) written to be launched from the KDE or GNOME desktop or Application Menus to allow the direct edit of any text file, system or personnel.
If the file belongs to root, you will be asked for a password, if it belongs to you, you will not be asked for a password. SYSEdit will launch kdialog if you use KDE and zenity if you use GNOME. You can edit any system or personnel file without changing the owner. With KDE, KWRITE is used as your text editor while in GNOME, GEDIT will be used. SYSEdit is written to determine your dekstop between KDE & GNOME and use the correct commands. As always, you can edit SYSEdit and modify its defaults. SYSEdit will create a desktop icon for you, usable in KDE and a KDE, GNOME 2 & GNOME 3 Application menu icon. Edit the SYSEdit bash script for the exact icon setup you wish to use. SYSEdit by default will create a backup text file before you edit the original. If you do not want a backup then change the setting backup=true to backup=false.
If you have been using an older 1.xx version of SYSEdit, execute this command before you download and use the new 1.50 version:
rm $HOME/bin/sysedit ; rm $HOME/Desktop/SYSEdit.desktop
To create SYSEdit, copy and past the following text from SUSE Paste into your favorite text editor as root into the file sysedit in the /usr/local/bin folder (/usr/local/bin/sysedit):
SYSEdit must be marked executable in order to be useable. Open up a terminal session after you have saved SYSEdit and run the following command:
sudo chmod +x /usr/local/bin/sysedit
It is possible to download (WHICH IS HIGHLY RECOMMENDED) and create sysedit with a single command. Copy the following command, open up a terminal session, paste it in and press enter:
sudo rm /usr/local/bin/sysedit ; sudo wget -nc http://paste.opensuse.org/view/download/88360942 -O /usr/local/bin/sysedit ; sudo chmod +x /usr/local/bin/sysedit
To use SYSEdit the first time, you should run the terminal command to create your system icons:
Or, you can do an Alt-F2 in KDE and enter sysedit. Once the icon(s) are on your desktop and in the Application menus for KDE & GNOME, just click it with your mouse to start SYSEdit. The new folder location of /usr/local/bin for the SYSEdit bash script now allows it to be usable by all Linux users on your PC!
As always, I want to hear any questions or comments about using SYSEdit.
Blogs: asroot : Bash : Packet Filter : C.F.U. : GPU’s : fewrup : F.S.M. : H.I. : nVIDIA : LNVHW : N.S.F. : S.A.K.C. : MMCHECK
S.A.S.I. : S.C.L.U. : S.G.T.B. : S.K.I.M. : S.L.A.V.E. : S.L.R.C. : S.T.A.R.T. : S.U.F.F. : SYSEdit : systemd : YaST Power