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 Mon 28 Jul 2014, 00:42
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
programchooser-0.3 widget
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Tue 27 May 2008, 16:43    Post subject:  programchooser-0.3 widget
Subject description: Graphical program chooser for other scripts
 

This is a little widget I came up with using gtkdialog for use in other scripts. It allows you to select a program from a list. based on it's menu category, or by using a file selector. This is used in Grafpup's "defaultprograms" and in the latest version of the wallpaper setter which is also in Puppy.

By itself this program has little value but in conjunction with other scripts allows for a nice way to choose a default program for a certain task. It is run with the following syntax:
Code:
programchooser [default text] [icon] [category] [category to exclude]

The "default text" will appear in the entry box when the program is launched, the icon will be the icon appearing in the corner of the window and in the taskbar, the category is the category to search for, and the second category will be excluded from the search. Whatever is in the entry box when the program is closed will be returned to stdout. This builds the program list by searching through the .desktop files in /usr/share/applications.

Questions just ask.

Nathan
programchooser-0.3.pet
Description 
pet

 Download 
Filename  programchooser-0.3.pet 
Filesize  2.09 KB 
Downloaded  609 Time(s) 
programchooser_nls-0.3.pet
Description 
pet

 Download 
Filename  programchooser_nls-0.3.pet 
Filesize  1.9 KB 
Downloaded  498 Time(s) 
programchooser.png
 Description   
 Filesize   25.74 KB
 Viewed   947 Time(s)

programchooser.png


_________________
Bring on the locusts ...

Last edited by Nathan F on Fri 13 Jun 2008, 14:18; edited 1 time in total
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Fri 06 Jun 2008, 23:54    Post subject:  

Updated to version 0.2 -
    Capable of nls translations (only English so far)
    Now uses LANG environment variable when looking up program descriptions


Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Fri 13 Jun 2008, 14:21    Post subject:  

Updated to version 0.3. Fixed nls support, added translations for dutch, french, german, italian, russian, and spanish. Translations not gauranteed accurate, most were done by myself using Google translate. Volunteer translators welcome. Also you can now filter the program list using more than one category to search for, by separating them with a '|' character. Example -
Code:
programchooser [default text] [icon] [category1|category2|category3] [category to exclude]


Nathan[/code]

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0460s ][ Queries: 13 (0.0049s) ][ GZIP on ]