I don't know how Ubuntu does this any more - I did it a few times several 
years ago. After some experimenting (on the Unity desktop), I can get you a 
Leo launch icon on the desktop, I can get Leo added to the list of 
applications that can be used to open a file, but I can't get the launch 
icon to accept drag and drop. And each Leo file you launch by 
right-clicking it in file manager and choosing Leo opens it in a new Leo 
session - just what you didn't want.  OTOH, you can drag right from the 
file manager onto an open instance of Leo and it will open the file in the 
same Leo session.  It seems that is pretty close to what you asked for.


On Saturday, March 14, 2020 at 4:20:20 PM UTC-4, Yaakov Belch wrote:
>
> Maybe the problem I am not using my ubuntu correctly: Do you know how can 
> I add the launchLeo script to my Favorites?  In some applications, 
> right-clicking on the icon of a running application gives the option to add 
> this one to the Favorites (currently, leo doesn't do that).  Because of 
> this, I wrote my own leo.desktop file.  In the past, this worked --- but 
> now it creates a new window each time I click on the icon.
>
> BTW --- I am using a recent checkout of the devel branch.
>
> Yaakov
>
> On Sat, Mar 14, 2020 at 10:01 PM Yaakov Belch <[email protected] 
> <javascript:>> wrote:
>
>> I am not sure whether this behavior is controlled by the launchLeo 
>> program --- or by some other part of my Ubuntu installation:
>>
>> It seems that the behavior of launchLeo changed recently:
>>
>> Until recently, when a leo session was already running, launchLeo would 
>> just bring the existing editor session to the foreground.  I liked this 
>> behavior.
>>
>> But now, each execution of launchLeo creates a separate Leo window.  This 
>> makes my launcher bindings useless.
>>
>> Is this behavior controlled by the leo program? 
>> If yes --- can I have the previous single-editor-window behavior back?
>> If not --- do you have any hint what I need to fix in order to get the 
>> original behavior?
>>
>> Yaakov
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/acd35970-26cd-42c3-a5ba-24d28f911f72%40googlegroups.com.

Reply via email to