Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 06 Dec 2016, 10:31
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
reader of originally transformed file
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
postfs1

Joined: 27 Mar 2010
Posts: 820

PostPosted: Mon 05 Dec 2011, 18:40    Post subject:  reader of originally transformed file  

To reedit up to date.
Last edited by postfs1 on Sun 27 Mar 2016, 22:19; edited 2 times in total
Back to top
View user's profile Send private message 
Geoffrey


Joined: 30 May 2010
Posts: 2166
Location: Queensland

PostPosted: Sat 10 Dec 2011, 03:52    Post subject:  

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:
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:
[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
Back to top
View user's profile Send private message 
postfs1

Joined: 27 Mar 2010
Posts: 820

PostPosted: Sat 10 Dec 2011, 11:14    Post subject:  

To reedit up to date.
Last edited by postfs1 on Sun 27 Mar 2016, 22:23; edited 1 time in total
Back to top
View user's profile Send private message 
postfs1

Joined: 27 Mar 2010
Posts: 820

PostPosted: Sat 18 Aug 2012, 15:38    Post subject:  

To reedit up to date.
Last edited by postfs1 on Sun 27 Mar 2016, 22:23; edited 2 times in total
Back to top
View user's profile Send private message 
postfs1

Joined: 27 Mar 2010
Posts: 820

PostPosted: Sat 18 Aug 2012, 15:39    Post subject:  

To reedit up to date.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1097s ][ Queries: 12 (0.0192s) ][ GZIP on ]