reader of originally transformed file
reader of originally transformed file
To reedit up to date.
Last edited by postfs1 on Mon 28 Mar 2016, 02:19, edited 2 times in total.
Hi postfs1,
I just looked at your script, seems to be a lot of echo's, you should only need two to make the ".desktop" file, I wouldn't like to see you get a repetitive strain injury or you could end up taking up residence in one of those laboratories
The scripting syntax below works for me without complaint
The resulting desktop file looks like so, without all the wrapping of course
Geoffrey
I just looked at your script, seems to be a lot of echo's, you should only need two to make the ".desktop" file, I wouldn't like to see you get a repetitive strain injury or you could end up taking up residence in one of those laboratories
The scripting syntax below works for me without complaint
Code: Select all
echo '[Desktop Entry]' > /usr/share/applications/Peazip.desktop ;
echo 'Version=1.0
Encoding=UTF-8
Name=PeaZip
MimeType=application/x-gzip;application/x-lha;application/x-tar;application/x-tgz;application/x-tbz;application/x-tbz2;application/x-zip;application/zip;application/x-bzip;application/x-rar;application/x-tarz;application/x-archive;application/x-bzip2;application/x-jar;application/x-deb;application/x-ace;application/x-7z;application/x-arc;application/x-arj;application/x-compress;application/x-cpio;
GenericName=Archiving Tool
Exec=peazip
Icon=/usr/share/icons/slick/48x48/apps/kpackage.png
Type=Application
Terminal=false
X-KDE-HasTempFileOption=true
Categories=Utility;
Name[en_US]=peazip' >> /usr/share/applications/Peazip.desktop ;
Code: Select all
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=PeaZip
MimeType=application/x-gzip;application/x-lha;application/x-tar;application/x-tgz;application/x-tbz;application/x-tbz2;application/x-zip;application/zip;application/x-bzip;application/x-rar;application/x-tarz;application/x-archive;application/x-bzip2;application/x-jar;application/x-deb;application/x-ace;application/x-7z;application/x-arc;application/x-arj;application/x-compress;application/x-cpio;
GenericName=Archiving Tool
Exec=peazip
Icon=/usr/share/icons/slick/48x48/apps/kpackage.png
Type=Application
Terminal=false
X-KDE-HasTempFileOption=true
Categories=Utility;
Name[en_US]=peazip