The time now is Tue 21 May 2013, 19:53
All times are UTC - 4 |
| Author |
Message |
Nathan F

Joined: 08 Jun 2005 Posts: 1641 Location: Wadsworth, OH (occasionally home)
|
Posted: 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
| Description |
|

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

Download |
| Filename |
programchooser_nls-0.3.pet |
| Filesize |
1.9 KB |
| Downloaded |
474 Time(s) |
| Description |
|
| Filesize |
25.74 KB |
| Viewed |
896 Time(s) |

|
_________________ _________________________________________
Bring on the locusts ...
Last edited by Nathan F on Fri 13 Jun 2008, 14:18; edited 1 time in total
|
|
Back to top
|
|
 |
Nathan F

Joined: 08 Jun 2005 Posts: 1641 Location: Wadsworth, OH (occasionally home)
|
Posted: 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
|
|
 |
Nathan F

Joined: 08 Jun 2005 Posts: 1641 Location: Wadsworth, OH (occasionally home)
|
Posted: 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
|
|
 |
|
|
|
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
|