[Desktop Entry] Encoding=UTF-8 Name=Leafpad Exec=root_leafpad.sh Icon=leafpad Terminal=false Type=Application MimeType=text/plain Categories=GTK;Utility;TextEditor;
cat > /usr/bin/root_leafpad.sh << EOF #!/bin/sh echo leafpad | root EOF chmod 755 /usr/bin/root_leafpad.sh
cat > /usr/bin/root_leafpad.sh << EOF #!/bin/sh echo emelfm2 | sudo gainroot EOF chmod 755 /usr/bin/root_leafpad.sh