How can I add a custom launcher to gnome-do?
I'd like to be able to add a custom launcher (or shortcut) to gnome-do, how can this be done?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Do Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- fermulator
- Solved:
- 2011-03-04
- Last query:
- 2011-03-04
- Last reply:
fermulator (fermulator) said : | #1 |
Apparently, gnome-do will automatically index $HOME/.
Simply create your own custom foobar.desktop, make it executable, and drop it in that directory!
Example:
* I wanted to create a "compose e-mail" launcher shortcut so that I could easily compose a new e-mail with gnome-do. Ideally, I could do: "Super+Space", type: "new" or "e-mail", and gnome-do would learn I mean "new e-mail" which would launch the compose e-mail window in thunderbird.
Here's how I did this.
1) In ~/.local/
new_e-mail.desktop
{{{
[Desktop Entry]
Name=New E-mail
Comment=Launch the "compose e-mail" window in thunderbird
TryExec=thunderbird
Exec=thunderbird -compose
Icon=thunderbird
Terminal=false
Type=Application
StartupNotify=true
Categories=
NotShowIn=KDE;
Name[en_CA]=new e-mail
}}}
2) Make it executable:
{{{
chmod a+x ~/.local/
}}}
3) Done.
4) Launch the "compose e-mail" with:
- Super+Space
- type: "new"... or "e-mail"... and gnome-do quickly knows what you mean.