Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request Option to add profiles to the Windows Start Menu #2339

Open
claudio4 opened this issue Aug 8, 2019 · 9 comments
Open

Feature Request Option to add profiles to the Windows Start Menu #2339

claudio4 opened this issue Aug 8, 2019 · 9 comments
Labels
Area-User Interface Issues pertaining to the user interface of the Console or Terminal Help Wanted We encourage anyone to jump in on these. Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Product-Terminal The new Windows Terminal.
Milestone

Comments

@claudio4
Copy link

claudio4 commented Aug 8, 2019

Allow creating profile based entries in the Windows Start Menu

This will allow the user to launch the specific profile that they want without the need to open the default one

A button in the profile setting adds an entry in the Windows Start Menu with the icon profile and name, this entry launcher the windows terminal in this profile instead of the default one

Maintainer Notes

SPEC REQUIRED

Specifier should build on work already done on #576, because I am betting that it'll be along the same path! (from @DHowett-MSFT)

@claudio4 claudio4 added the Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. label Aug 8, 2019
@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Aug 8, 2019
@zadjii-msft zadjii-msft added Area-User Interface Issues pertaining to the user interface of the Console or Terminal Product-Terminal The new Windows Terminal. labels Aug 8, 2019
@zadjii-msft zadjii-msft added this to the Terminal Backlog milestone Aug 8, 2019
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Aug 8, 2019
@zadjii-msft
Copy link
Member

This has little bits of #607 and #576 in it, but seems unique enough to warrant its own issue.

zadjii-msft added a commit that referenced this issue Aug 9, 2019
@ghost ghost added the In-PR This issue has a related PR label Aug 9, 2019
@kowalski7cc
Copy link

Maybe can be solved with ability to pin secondary tiles to start?
https://docs.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notifications/secondary-tiles

@ghost ghost removed the In-PR This issue has a related PR label Aug 14, 2019
@DHowett-MSFT DHowett-MSFT added Help Wanted We encourage anyone to jump in on these. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Aug 16, 2019
@DHowett-MSFT
Copy link
Contributor

Backlog, spec required, triaged.

@DHowett-MSFT
Copy link
Contributor

Specifier should build on work already done on #576, because I am betting that it'll be along the same path!

ghost pushed a commit that referenced this issue Jan 27, 2020
## Summary of the Pull Request

Adds support for commandline arguments to the Windows Terminal, in accordance with the spec in #3495

## References

* Original issue: #607
* Original spec: #3495

## PR Checklist
* [x] Closes #607
* [x] I work here
* [x] Tests added/passed
* [ ] We should probably add some docs on these commands
* [x] The spec (#3495) needs to be merged first!

## Detailed Description of the Pull Request / Additional comments

🛑 **STOP** 🛑 - have you read #3495 yet? If you haven't, go do that now.

This PR adds support for three initial sub-commands to the `wt.exe` application:
* `new-tab`: Used to create a new tab.
* `split-pane`: Used to create a new split.
* `focus-tab`: Moves focus to another tab.

These commands are largely POC to prove that the commandlines work. They're not totally finished, but they work well enough. Follow up work items will be filed to track adding support for additional parameters and subcommands

Important scenarios added:
* `wt -d .`: Open a new wt instance in the current working directory #878
* `wt -p <profile name>`: Create a wt instance running the given profile, to unblock  #576, #1357, #2339
* `wt ; new-tab ; split-pane -V`: Launch the terminal with multiple tabs, splits, to unblock #756 

## Validation Steps Performed

* Ran tests
* Played with it a bunch
@marveloo
Copy link

marveloo commented Jun 22, 2020

It would be great to be able to "Pin to Start" and "Pin to Taskbar" any profile we like. And then the profile opened via the Start (or Taskbar) tile should always open in a new window and the opened profile should become the default profile for this particular window, i.e. when I open a new tab in this window it should open the same profile.

@zadjii-msft
Copy link
Member

For folks following this thread: A few releases ago, we added your profiles to the taskbar jumplist:
image

which had the side-effect of displaying them in the start menu search as well:

image

I'm leaving this issue open to specifically track allowing you to pin the profiles as Start Menu tiles as well. Thanks!

@HendersonSC
Copy link

FWIW, a similar functionality is possible using shortcuts and batch files. Probably doesn't meet everyone's needs,

example.bat
wt -w 1 -p example_profile

Then its just right click, new->shortcut. Target of cmd /c path/to/example.bat, next, finish. Right click new shortcut pin to {start/taskbar}. In my use case, this has the additional benefit of allowing for complicated terminal tabs, new windows, and passing raw commands, i.e. set local scope path, open ssh tunnel, etc. The limit is seemingly what the wt command can handle.

@claudio4
Copy link
Author

FWIW, a similar functionality is possible using shortcuts and batch files. Probably doesn't meet everyone's needs,

example.bat
wt -w 1 -p example_profile

Then its just right click, new->shortcut. Target of cmd /c path/to/example.bat, next, finish. Right click new shortcut pin to {start/taskbar}. In my use case, this has the additional benefit of allowing for complicated terminal tabs, new windows, and passing raw commands, i.e. set local scope path, open ssh tunnel, etc. The limit is seemingly what the wt command can handle.

Yeah, I'm been using my handmade shortcut since the WT allowed for opening specific profiles from the command line. But I still think there is value in the WT creating the shortcuts with just the click of button instead of us doing the manual process.

BTW, You can put the command directly in the shortcut and skip the batch file enterally.

@zadjii-msft
Copy link
Member

FWIW, since there aren't tiles in Windows 11's start menu anymore, I'd reckon it's highly unlikely we (the Terminal team) get around to this ourselves. The API doesn't seem terribly challenging to use, and it shouldn't be too hard to add a button to the Settings UI to activate this. If someone's passionate about adding the button for Windows 10, we'd still accept the PR. I just wanted to make sure everyone was aware of where this landed on the priorities.

@zadjii-msft zadjii-msft modified the milestones: Backlog, Icebox ❄ Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-User Interface Issues pertaining to the user interface of the Console or Terminal Help Wanted We encourage anyone to jump in on these. Issue-Feature Complex enough to require an in depth planning process and actual budgeted, scheduled work. Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

6 participants