[GH-ISSUE #188] Create shortcut links (.lnk) to launch specific connections #3045

Closed
opened 2026-03-13 01:23:17 +03:00 by kerem · 11 comments
Owner

Originally created by @majkinetor on GitHub (Jan 23, 2022).
Original GitHub issue: https://github.com/1Remote/1Remote/issues/188

Originally assigned to: @VShawn on GitHub.

Is your enhancement related to a problem? Please describe.

Sometimes you want to work with some group of connections with higher focus. It would be great if one could mark a group with tag(s) and then launch connections via single click or hotkey that Windows shortcuts support.

Describe the solution you'd like

Provide a CLI params to PRM for this. Then sugar coat it with feature that creates shortcuts interactively.

For example:

> premotem -open "#my-project #db"

would start all connections that satisfy this filter. Otherwise, single connection could be run via connection id (as name is not unique):

> premotem -open 23`

With CLI arguments such as those creating desktop shortcut manually or via app is trivial

NOTE: This is just an idea, CLI arguments should definitely be thought out more precisely.

Originally created by @majkinetor on GitHub (Jan 23, 2022). Original GitHub issue: https://github.com/1Remote/1Remote/issues/188 Originally assigned to: @VShawn on GitHub. **Is your enhancement related to a problem? Please describe.** Sometimes you want to work with some group of connections with higher focus. It would be great if one could mark a group with tag(s) and then launch connections via single click or hotkey that Windows shortcuts support. **Describe the solution you'd like** Provide a CLI params to PRM for this. Then sugar coat it with feature that creates shortcuts interactively. For example: `> premotem -open "#my-project #db"` would start all connections that satisfy this filter. Otherwise, single connection could be run via connection id (as name is not unique): `> premotem -open `23` With CLI arguments such as those creating desktop shortcut manually or via app is trivial **NOTE**: This is just an idea, CLI arguments should definitely be thought out more precisely.
Author
Owner

@VShawn commented on GitHub (Jan 24, 2022):

Since we have a launcher, I dont think a shortcut is needed.

and start all connections that satisfy this filter is overkill for personal usage.

<!-- gh-comment-id:1019785697 --> @VShawn commented on GitHub (Jan 24, 2022): Since we have a launcher, I dont think a shortcut is needed. and `start all connections that satisfy this filter` is overkill for personal usage.
Author
Owner

@majkinetor commented on GitHub (Jan 24, 2022):

Yeah, you are right.

<!-- gh-comment-id:1019937480 --> @majkinetor commented on GitHub (Jan 24, 2022): Yeah, you are right.
Author
Owner

@majkinetor commented on GitHub (May 14, 2022):

I think we ditched this one prematurely as experience is not the same.
Its especially relevant for remote apps as it provides seamless integration with OS. Also you have another mechanism to organize stuff if you have large collection - pin them on taskbar, or create desktop shortcuts.

I want to pin that remote foobar

image

Its also easy to implement.

I will reopen this and put it in Limbo, so I don't forget about it. No need for you to implement it, I will do it myself eventually.

<!-- gh-comment-id:1126726046 --> @majkinetor commented on GitHub (May 14, 2022): I think we ditched this one prematurely as experience is not the same. Its especially relevant for remote apps as it provides seamless integration with OS. Also you have another mechanism to organize stuff if you have large collection - pin them on taskbar, or create desktop shortcuts. <details><summary>I want to pin that remote foobar</summary> ![image](https://user-images.githubusercontent.com/85767/168430042-ab4a74f5-eef2-4006-a031-83a297d23ef8.png) </details> Its also easy to implement. I will reopen this and put it in Limbo, so I don't forget about it. No need for you to implement it, I will do it myself eventually.
Author
Owner

@VShawn commented on GitHub (May 16, 2022):

I make quick investigation about how to start a Windows Store APP by .lnk with parameters.

Get nothing useful.

<!-- gh-comment-id:1127352544 --> @VShawn commented on GitHub (May 16, 2022): I make quick investigation about how to start a Windows Store APP by .lnk with parameters. Get nothing useful.
Author
Owner

@majkinetor commented on GitHub (May 16, 2022):

Its not end of the world no to support that case... It could always be fixed later anyway.

<!-- gh-comment-id:1127354973 --> @majkinetor commented on GitHub (May 16, 2022): Its not end of the world no to support that case... It could always be fixed later anyway.
Author
Owner

@VShawn commented on GitHub (May 16, 2022):

yeah I'm just looking into the feasibility

<!-- gh-comment-id:1127407611 --> @VShawn commented on GitHub (May 16, 2022): yeah I'm just looking into the feasibility
Author
Owner
<!-- gh-comment-id:1127414806 --> @majkinetor commented on GitHub (May 16, 2022): OMG, store apps suck so bad: https://docs.unity3d.com/560/Documentation/Manual/windowsstore-commandlinearguments.html https://www.reddit.com/r/Windows10/comments/es97px/pass_commandline_arguments_to_windows_store_game/
Author
Owner

@majkinetor commented on GitHub (May 16, 2022):

I wouldn't waste time on that. We could have some workaround for this, but it all involves too much work.

<!-- gh-comment-id:1127417828 --> @majkinetor commented on GitHub (May 16, 2022): I wouldn't waste time on that. We could have some workaround for this, but it all involves too much work.
Author
Owner

@Kikilluh commented on GitHub (Sep 30, 2022):

Hi,

I was about to create an issue and I found this one where you were talking about it.
I think it might be nice to be able to select multiple connections in the launcher, maybe with ctrl-click or shitft-click. What do you think ?

So per example we could select a tag, and then launch all the connections at once.

<!-- gh-comment-id:1263170111 --> @Kikilluh commented on GitHub (Sep 30, 2022): Hi, I was about to create an issue and I found this one where you were talking about it. I think it might be nice to be able to select multiple connections in the launcher, maybe with ctrl-click or shitft-click. What do you think ? So per example we could select a tag, and then launch all the connections at once.
Author
Owner

@VShawn commented on GitHub (Oct 5, 2022):

Hi @Kikilluh

actually you can select a tag and open them all here.

image

BTW I dont want involved mouse operation in the launcher, the task of our launcher is open a new session by keyboard only

<!-- gh-comment-id:1267849598 --> @VShawn commented on GitHub (Oct 5, 2022): Hi @Kikilluh actually you can select a tag and open them all here. ![image](https://user-images.githubusercontent.com/10143738/193971622-7523c5b8-0419-4f5d-aeff-66feb39c6628.png) BTW I dont want involved mouse operation in the launcher, the task of our launcher is `open a new session by keyboard only`
Author
Owner

@VShawn commented on GitHub (May 30, 2023):

close since we have #427

<!-- gh-comment-id:1567854065 --> @VShawn commented on GitHub (May 30, 2023): close since we have #427
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/1Remote#3045
No description provided.