The time now is Sat 21 Apr 2018, 04:19
All times are UTC - 4 |
Author |
Message |
sc0ttman

Joined: 16 Sep 2009 Posts: 2571 Location: UK
|
Posted: Sun 18 Apr 2010, 10:51 Post subject:
Default Apps Changer - CLI Subject description: command line tool for changing defaults apps |
|
DEFAULT APP CHANGER
Easily change your default browser, editor, word processor and so on.
This was made as a part of another project, so may or may not be of any use.
I use it inside other scripts, as an easy way to change the default apps, if required.
Changes the executed commands in the /usr/local/bin/default*** files, via simple commands in the terminal console..
Changelog:
version 0.2
- changes are only made if both the default*** exist and the new command given is executable
- the full path is not required for commands - `which` is now used to find the full path
- all messages output in terminal
Example usage, (type in console):
Code: | defaults-changer [browser|etc|wordprocessor] command |
1. Get help:
Code: | defaults-changer -h |
2. Some specific examples of how to change default apps:
Code: | defaults-changer browser opera
defaults-changer draw /path/to/gimp
|
NOTE: full path and double quotes ("") are optional for the final command
Supports all the default*** files that you may have installed!
Description |
|

Download |
Filename |
defaults-changer-0.2.pet |
Filesize |
1.4 KB |
Downloaded |
878 Time(s) |
Description |
|

Download |
Filename |
defaults-changer-0.1.pet |
Filesize |
1.08 KB |
Downloaded |
611 Time(s) |
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
Last edited by sc0ttman on Tue 27 Apr 2010, 07:43; edited 2 times in total
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2571 Location: UK
|
Posted: Tue 27 Apr 2010, 07:27 Post subject:
|
|
In case anyone cares, I've updated this little util.. See main post.
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
Back to top
|
|
 |
chrome307

Joined: 15 Jan 2009 Posts: 713
|
Posted: Thu 29 Apr 2010, 06:25 Post subject:
|
|
Thanks for this useful app
|
Back to top
|
|
 |
sc0ttman

Joined: 16 Sep 2009 Posts: 2571 Location: UK
|
Posted: Thu 29 Apr 2010, 09:01 Post subject:
|
|
My pleasure... Glad you like it..
It was a pain in the next to do it manually all the time, and I needed a quick way of doing it that I could also use in scripts..
_________________ Akita Linux, VLC-GTK, Pup Search, Pup File Search
|
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
|