trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: December 2014

Re: [trinity-users] keyboard shortcut to start application

From: Gerhard Zintel <gerhard.zintel@...>
Date: Thu, 18 Dec 2014 15:33:49 +0100
On Thursday 18 December 2014, Michele Calgaro wrote:
> On 2014/12/18 10:49 PM, Gerhard Zintel wrote:
> > On Thursday 18 December 2014, Michele Calgaro wrote:
> >> On 12/18/2014 05:47 AM, Gerhard Zintel wrote:
> >>> anyone any idea how to add a keyboard shortcut to an
> >>> application that is not contained in the global menus?
> >>>
> >>> thanx for help Gerhard
> >>>
> >>
> >> Hi Gerhard, do you mean: 1) add a shortcut to launch an
> >> application? In this case, is the application in the TDE menu? 2)
> >> or add a shortcut to an application's action?
> >>
> >> Cheers Michele
> >
> > Hi Michele,
> >
> > sorry for beeing not clear enough - neither of the two examples
> > above. I want to launch a shell program (that is not contained in
> > the TDE menu) by pressing a keyboard shortcut; e.g. pressing
> > Ctrl-AnyKey to launch /usr/local/bin/AnyProgram.
> >
> > Is this possible from within TDE? Or is the question totally
> > unrelated to TDE?
> 
> Hi Gerhard,
> would it be a problem if the shell program is added to the TDE menu?
I wanted to avoid it. But if it's the "easy" solution I'll give it a try. What I want to accomplish is to suspend the system with a keypress (not using the menue for this). There are two reasons for not using TDE's menu for suspend: a) it's faster; b) using my script the screen isn't locked after resume and I have not found the possibility to do this by using the "Log Out ... > Suspend" TDE menu where the screen always is locked.

> Then it would be possible to assign a keyboard shortcut to it. I will
> have to experiment a little bit to be sure, but first please let me
> know the answer to the question above.
Thanks a lot for your help but please don't bother here. This I surely am able to do by myself.

> I might go to sleep soon, so I will probably answer again tomorrow.
Thanks again and sleep well
Gerhard