Defaults Chooser 0.8
Defaults Chooser 0.8
Defaults-Chooser
Easily change the default programs used in your Puppy install..
Features:
- reads /usr/loca/bin/default*** files for the chosen apps at startup (thanks to Iguleder)
- checks through an array of programs and and builds a custom list of only the programs that are installed
- automatically add current defaults to top of the dropdown lists of programs
- changes the default*** files using a custom "defaults-changer" CLI tool from Puppy Arcade 8
- now supports parameters and CLI commands - just type the custom command in the desired field
Changelog
0.8
- more apps added inc xpaint, ooolight, cmus, ted, sns, sodipodi, umplayer, etc, etc
- support for either defaultaudioplayer or defaultmusicpayer built in
- cleaner, more consistent dropdown menus (paths removed from lists, if found)
0.7
- many more apps now supported
- added 'text editor' and 'text viewer' to GUI (whoops!)
- better checking for installed apps
- small fixes here and there for some existing entries
- can load through terminal with given path for chroot (for woofy)
0.5
- many apps added in all categories
- better searching and listing of installed apps in the GUI
0.2
- added support for parameters in the command
- replaced the get_program command, so all parameters and options are found, too
- added many more supported apps to the defaults lists
- fixed openoffice and seamonkey commands in the app arrays
- now uses gtk stock icons (thanks vovchik)
To Do:
- get a full list of the commands that I can include in each list (help me!)
- Please suggest apps that you would like included in the list of apps to search
NOTE: You may prefer this lovely default changer, from Iguleder.
Iguleders app will automatically search the .desktop files, in order to find which apps you have installed
Easily change the default programs used in your Puppy install..
Features:
- reads /usr/loca/bin/default*** files for the chosen apps at startup (thanks to Iguleder)
- checks through an array of programs and and builds a custom list of only the programs that are installed
- automatically add current defaults to top of the dropdown lists of programs
- changes the default*** files using a custom "defaults-changer" CLI tool from Puppy Arcade 8
- now supports parameters and CLI commands - just type the custom command in the desired field
Changelog
0.8
- more apps added inc xpaint, ooolight, cmus, ted, sns, sodipodi, umplayer, etc, etc
- support for either defaultaudioplayer or defaultmusicpayer built in
- cleaner, more consistent dropdown menus (paths removed from lists, if found)
0.7
- many more apps now supported
- added 'text editor' and 'text viewer' to GUI (whoops!)
- better checking for installed apps
- small fixes here and there for some existing entries
- can load through terminal with given path for chroot (for woofy)
0.5
- many apps added in all categories
- better searching and listing of installed apps in the GUI
0.2
- added support for parameters in the command
- replaced the get_program command, so all parameters and options are found, too
- added many more supported apps to the defaults lists
- fixed openoffice and seamonkey commands in the app arrays
- now uses gtk stock icons (thanks vovchik)
To Do:
- get a full list of the commands that I can include in each list (help me!)
- Please suggest apps that you would like included in the list of apps to search
NOTE: You may prefer this lovely default changer, from Iguleder.
Iguleders app will automatically search the .desktop files, in order to find which apps you have installed
- Attachments
-
- defaults-chooser-0.8.pet
- (4.99 KiB) Downloaded 2430 times
-
- defaults-chooser-0.7.pet
- updated to 0.7, 24th may, 2011
- (4.91 KiB) Downloaded 1634 times
-
- defaults-chooser.pet
- 0.5
- (4.69 KiB) Downloaded 1783 times
-
- defaults-chooser.pet
- version 0.2
- (4.49 KiB) Downloaded 2042 times
-
- defaults-chooser.pet
- version 0.1
- (4.22 KiB) Downloaded 1893 times
-
- defaults-chooser.png
- (54.8 KiB) Downloaded 8232 times
Last edited by sc0ttman on Mon 30 May 2011, 19:13, edited 14 times in total.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
thanks vovchik, glad you like it..
NOTE: I've updated the file in the main post, due to an error with the menu entry!
NOTE: I've updated the file in the main post, due to an error with the menu entry!
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
- Iguleder
- Posts: 2026
- Joined: Tue 11 Aug 2009, 09:36
- Location: Israel, somewhere in the beautiful desert
- Contact:
Re: defaults chooser 0.1
hehesc0ttman wrote: NOTE: I'm very sorry if anyone feels I have stepped on their toes here!!!
I like your wizard, but I truly think it has too many items. I don't believe people would like to choose so many things, that's both confusing and useless. Also, the script is longer and therefore slower, it's Bash after all.
By the way, you can take my functions from my wizard and put them in yours, should solve the parameters issue.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]
Dear sc0ttman,
I took the liberty of changing the button icons in defaults-chooser (l. 472) since (a) my old Puppy 3.01 did not have the pixmaps in question and (b) the gtk stock icons are present on all systems with GTK. I will now have a look at Iguleder's code. Perhaps there are further optimizations that can be made. In any case, a nice program. I don't think there are too many options, and I usually end up adjusting all the defaults by hand. I may add a few more options to my own pulldown lists, since I also have KDE and QT3/4 installed, so Kolourpaint, Konqueror might just as well be there.
With kind regards,
vovchik
I took the liberty of changing the button icons in defaults-chooser (l. 472) since (a) my old Puppy 3.01 did not have the pixmaps in question and (b) the gtk stock icons are present on all systems with GTK. I will now have a look at Iguleder's code. Perhaps there are further optimizations that can be made. In any case, a nice program. I don't think there are too many options, and I usually end up adjusting all the defaults by hand. I may add a few more options to my own pulldown lists, since I also have KDE and QT3/4 installed, so Kolourpaint, Konqueror might just as well be there.
With kind regards,
vovchik
Code: Select all
<button>
<input file stock="gtk-refresh"></input>
<label> Update </label>
<action>update_defaults</action>
</button>
<button>
<input file stock="gtk-help"></input>
<label> Help </label>
<action>gtkdialog3 --program HELPGUI --center &</action>
</button>
<button>
<input file stock="gtk-cancel"></input>
<label> Exit </label>
<action type="exit">EXIT_NOW</action>
</button>
Thanks for the feedback.. I'll update this later tonight..
About being "confusing and useless" - I think only the "Bare HTML Viewer" is excessive...
And possibly "Search", as most people don't have a "defaultsearch " file (But I like to make one for my installs)
Also, I forgot I was using GrumpyWolfes ControlPanel icons in this script!! I will change that..
And vovchick, I'd be very happy if you could give me a list of the apps you'd like included in the app arrays..
I would like to include all the popular apps, even those not found in Puppy by default.
However, I don't use Puppy 5, KDE, Gnome, etc, etc, so I cannot know all the apps to add by myself!!
About being "confusing and useless" - I think only the "Bare HTML Viewer" is excessive...
And possibly "Search", as most people don't have a "defaultsearch " file (But I like to make one for my installs)
Also, I forgot I was using GrumpyWolfes ControlPanel icons in this script!! I will change that..
And vovchick, I'd be very happy if you could give me a list of the apps you'd like included in the app arrays..
I would like to include all the popular apps, even those not found in Puppy by default.
However, I don't use Puppy 5, KDE, Gnome, etc, etc, so I cannot know all the apps to add by myself!!
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
Dear sc0ttman,
I think the list of choices could be pretty extensive:
1. Browser - Opera, Firefox, Seamonkey, Chrome, Konqueror, Midori
2. Email -Thunderbird, Sylpheed, Claws-mail, Opera, Seamonkey
3. Media Player -gxine, gmplayer or mplayer, vlc, smplayer, kaffeine, gnome-player
4. Mixer -Alsamix, aumix, mixmos, retrovol, kalsamix
5. Paint - mtpaint, kolourpaint
6. Bare html viewer - skipstone, netsurf-bare, konqueror, miniweb, dillo, midori
7. Editor - geany, leafpad, tea, gvim
8. Word processor - abiword, swriter (open office), textmaker
9. Spreadsheet - gnumeric, scalc, planmaker
10. HTML editor - seamonkey, kompozer, swriter
I haven't really been exhaustive here, but puppy offers quite a few choices, which is ultimately great. Perhaps others on the forum can add to the list.
With kind regards,
vovchik
I think the list of choices could be pretty extensive:
1. Browser - Opera, Firefox, Seamonkey, Chrome, Konqueror, Midori
2. Email -Thunderbird, Sylpheed, Claws-mail, Opera, Seamonkey
3. Media Player -gxine, gmplayer or mplayer, vlc, smplayer, kaffeine, gnome-player
4. Mixer -Alsamix, aumix, mixmos, retrovol, kalsamix
5. Paint - mtpaint, kolourpaint
6. Bare html viewer - skipstone, netsurf-bare, konqueror, miniweb, dillo, midori
7. Editor - geany, leafpad, tea, gvim
8. Word processor - abiword, swriter (open office), textmaker
9. Spreadsheet - gnumeric, scalc, planmaker
10. HTML editor - seamonkey, kompozer, swriter
I haven't really been exhaustive here, but puppy offers quite a few choices, which is ultimately great. Perhaps others on the forum can add to the list.
With kind regards,
vovchik
Updated to 0.2 - see main post
- aqualung now included, as are all the apps suggested above
- other changes
- aqualung now included, as are all the apps suggested above
- other changes
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
That would be nice, I agree..vovchik wrote:...puppy offers quite a few choices, which is ultimately great. Perhaps others on the forum can add to the list.
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
- abushcrafter
- Posts: 1418
- Joined: Fri 30 Oct 2009, 16:57
- Location: England
- Contact:
sc0ttman
Does this snippet of code help you at all?
Of course "browser" can be a variable.
Cheers
Does this snippet of code help you at all?
Code: Select all
grep "browser" /usr/share/applications/*.desktop
Cheers
Puppy Linux Blog - contact me for access
I don't know.. Are you having problems with this tool?01micko wrote:sc0ttman
Does this snippet of code help you at all?
Of course "browser" can be a variable.Code: Select all
grep "browser" /usr/share/applications/*.desktop
Cheers
I think it works as expected..
I'm not at all familiar with grep (still learning bash as I go)..
What is the intended purpose of this code??
(I know I'm stupid here, it's only 1 line!)
OK, edit.. I ran the code..
It clearly gets all the info in the returned desktop file..
This is nice and simple, but do I need it? Are you having problems?
But yes it does help me learn, so that's good...
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
I like your app sc0ttman, and it works fine.
It was just a suggestion to save hard coding in all the apps. You can use it or not.
Cheers
It was just a suggestion to save hard coding in all the apps. You can use it or not.
Cheers
Puppy Linux Blog - contact me for access
aha! I'll experiment, hopefully I'll save some time, kilobytes and RSI in the future!01micko wrote:I like your app sc0ttman, and it works fine.
It was just a suggestion to save hard coding in all the apps. You can use it or not.
Cheers
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
If anyone can add to this list on this thread, that will be lovely..vovchik wrote:I think the list of choices could be pretty extensive:
1. Browser - Opera, Firefox, Seamonkey, Chrome, Konqueror, Midori
2. Email -Thunderbird, Sylpheed, Claws-mail, Opera, Seamonkey
3. Media Player -gxine, gmplayer or mplayer, vlc, smplayer, kaffeine, gnome-player
4. Mixer -Alsamix, aumix, mixmos, retrovol, kalsamix
5. Paint - mtpaint, kolourpaint
6. Bare html viewer - skipstone, netsurf-bare, konqueror, miniweb, dillo, midori
7. Editor - geany, leafpad, tea, gvim
8. Word processor - abiword, swriter (open office), textmaker
9. Spreadsheet - gnumeric, scalc, planmaker
10. HTML editor - seamonkey, kompozer, swriter
I'll add what I can think of or find, but some suggestions may be required
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
Oops!! No there isn't.. But I'll update it soon..Makoto wrote:There aren't any options to change defaultchat?
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]
Thanks for this very neat little app sc0ttman! Puppy has truly needed something like this for a very long time! I know that whenever I play around with a Puppy I get tired at times of hauling over preconfigured "default***" files from my "default Puppy install" just to get it working the way I like. This vastly simplifies the process.
Thank you again very much!
Cheers!/Amicalement!
Eyes-Only
"L'Peau-Rouge d'Acadie"
Thank you again very much!
Cheers!/Amicalement!
Eyes-Only
"L'Peau-Rouge d'Acadie"
*~*~*~*~*~*
Proud user of LXpup and 3-Headed Dog.
*~*~*~*~*~*
Proud user of LXpup and 3-Headed Dog.
*~*~*~*~*~*