reader of originally transformed file

Filemanagers, partitioning tools, etc.
Post Reply
Message
Author
postfs1

reader of originally transformed file

#1 Post by postfs1 »

To reedit up to date.
Last edited by postfs1 on Mon 28 Mar 2016, 02:19, edited 2 times in total.

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#2 Post by Geoffrey »

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 :wink:

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 ;
The resulting desktop file looks like so, without all the wrapping of course

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
Geoffrey

postfs1

#3 Post by postfs1 »

To reedit up to date.
Last edited by postfs1 on Mon 28 Mar 2016, 02:23, edited 1 time in total.

postfs1

#4 Post by postfs1 »

To reedit up to date.
Last edited by postfs1 on Mon 28 Mar 2016, 02:23, edited 2 times in total.

postfs1

#5 Post by postfs1 »

To reedit up to date.

Post Reply