← Back to team overview

ubuntu-phone team mailing list archive

Re: WARNING: Use application:/// URLs, not application://

 

On 12/20/2013 09:13 PM, Ted Gould wrote:
On Fri, 2013-12-20 at 20:09 -0200, Carlos J Mazieri wrote:
On 12/18/2013 08:59 PM, Ted Gould wrote:

On Wed, 2013-12-18 at 20:48 -0200, Carlos J Mazieri wrote:
Am I doing something wrong?

Not wrong, but it moved to being a click package, which means it needs a slightly more complex URL.

appid://com.ubuntu.terminal/terminal/current-user-version

That should open the lastest version installed for the current user.

Ted

I tried some URLs without success:
appid://com.ubuntu.terminal/current/ubuntu-terminal-app.desktop
   appid://com.ubuntu.terminal/terminal


appid://com.ubuntu.terminal/current/ubuntu-terminal-app



Could you please indicate the right URL?

This works for me:

appid://com.ubuntu.terminal/terminal/current-user-version

Tested with:

$ url-dispatcher appid://com.ubuntu.terminal/terminal/current-user-version

Ted



It worked using QDesktopServices::openUrl("appid://com.ubuntu.terminal/terminal/current-user-version")

As if we start it from Applications screen, it always starts having application path as the current directory,
how do I start it passing another directory to be the current ?

Thanks.
Carlos


References