Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've used Quickly to create a lens that interacts with another program when that program is executed, using the following function:

 def handle_uri(self, scope, uri):  
     os.system(uri)

But the dash is not closed on click. How do I remedy this?

Also, is there a list of all the functions or built in 'shortcuts' for quickly?

share|improve this question
add comment

1 Answer 1

After doing some digging I found hide_dash_response in the singlet sources...however I was unable to call or return this function without copying the code to my project.

I can also return

Unity.ActivationResponse(handled=Unity.HandledType.HIDE_DASH, goto_uri=uri)

directly to achieve the same result.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.