Option to create desktop shortcuts to profiles #8829

Open
opened 2026-01-31 01:38:58 +00:00 by claunia · 18 comments
Owner

Originally created by @tranzystorekk on GitHub (Jun 5, 2020).

Description of the new feature/enhancement

As a user, I'd like to be able to easily create desktop shortcuts that open a specific profile. This could be done e.g. via right clicking a profile in the profile dropdown and selecting an action "Create desktop shortcut".

For context, I use a Powershell Core profile to do software updates and a WSL shell to do some dev work and I currently cannot find a way to quickly run one of those; I always start the default Powershell profile and then manually open WSL and close Powershell which seems cumbersome.

Originally created by @tranzystorekk on GitHub (Jun 5, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement As a user, I'd like to be able to easily create desktop shortcuts that open a specific profile. This could be done e.g. via right clicking a profile in the profile dropdown and selecting an action "Create desktop shortcut". For context, I use a Powershell Core profile to do software updates and a WSL shell to do some dev work and I currently cannot find a way to quickly run one of those; I always start the default Powershell profile and then manually open WSL and close Powershell which seems cumbersome. <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> <!-- A clear and concise description of what you want to happen. -->
claunia added the Issue-FeatureHelp WantedProduct-TerminalArea-UserInterface labels 2026-01-31 01:38:58 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jun 5, 2020):

You could definitely work around this for now by creating a shortcut that runs wt -p "<the name of your profile>"

@zadjii-msft commented on GitHub (Jun 5, 2020): You could definitely work around this for now by creating a shortcut that runs `wt -p "<the name of your profile>"`
Author
Owner

@tranzystorekk commented on GitHub (Jun 5, 2020):

You could definitely work around this for now by creating a shortcut that runs wt -p "<the name of your profile>"

Sure, but it'd be also nice if Terminal could set the shortcut icon to something other than the default "blank sheet of paper" one, especially since I have Terminal pinned to task bar and it seems like you cannot make/copy a shotcut out of that

@tranzystorekk commented on GitHub (Jun 5, 2020): > > > You could definitely work around this for now by creating a shortcut that runs `wt -p "<the name of your profile>"` Sure, but it'd be also nice if Terminal could set the shortcut icon to something other than the default "blank sheet of paper" one, especially since I have Terminal pinned to task bar and it seems like you cannot make/copy a shotcut out of that
Author
Owner

@skyline75489 commented on GitHub (Jun 8, 2020):

I think shortcut icon is very customizable since Windows 98. Shouldn't be a real problem.

@skyline75489 commented on GitHub (Jun 8, 2020): I think shortcut icon is very customizable since Windows 98. Shouldn't be a real problem.
Author
Owner

@tranzystorekk commented on GitHub (Jun 8, 2020):

@skyline75489 my point is, when you use the "Pin to taskbar" action on Windows Terminal (or any other application for that matter), the resulting object doesn't seem to be a shortcut (.lnk file), so it cannot be easily copied and modified, including its icon. Therefore the only option seems to be to manually create a new shortcut, which is far more unwieldy for that use case.

@tranzystorekk commented on GitHub (Jun 8, 2020): @skyline75489 my point is, when you use the "Pin to taskbar" action on Windows Terminal (or any other application for that matter), the resulting object doesn't seem to be a shortcut (.lnk file), so it cannot be easily copied and modified, including its icon. Therefore the only option seems to be to manually create a new shortcut, which is far more unwieldy for that use case.
Author
Owner

@DHowett commented on GitHub (Jun 26, 2020):

Yanking triage -- this is a really good request. We should see if we can enable it. 😄

@DHowett commented on GitHub (Jun 26, 2020): Yanking triage -- this is a really good request. We should see if we can enable it. :smile:
Author
Owner

@tranzystorekk commented on GitHub (Sep 22, 2020):

As an alternative, this PowerToys feature seems promissing microsoft/PowerToys#4194

@tranzystorekk commented on GitHub (Sep 22, 2020): As an alternative, this PowerToys feature seems promissing microsoft/PowerToys#4194
Author
Owner

@htcfreek commented on GitHub (May 1, 2021):

Yanking triage -- this is a really good request. We should see if we can enable it. 😄

Maybe a feature like in edge. There is a menu to create a desktop shortcut for apps and pin apps to start.

You can a button in profile settings to apen a menu that allows the user to...

  • ... pin profile to start.
  • ... pin profile to taskbar.
  • ... create a desktop shortcut.
@htcfreek commented on GitHub (May 1, 2021): > Yanking triage -- this is a really good request. We should see if we can enable it. :smile: Maybe a feature like in edge. There is a menu to create a desktop shortcut for apps and pin apps to start. You can a button in profile settings to apen a menu that allows the user to... - ... pin profile to start. - ... pin profile to taskbar. - ... create a desktop shortcut.
Author
Owner

@JamesDev21 commented on GitHub (Dec 17, 2021):

You could definitely work around this for now by creating a shortcut that runs wt -p "<the name of your profile>"

NICE! Is there any way to add predefined code to run such as "npm start" when shortcut is executed? thanks :D

@JamesDev21 commented on GitHub (Dec 17, 2021): > You could definitely work around this for now by creating a shortcut that runs `wt -p "<the name of your profile>"` NICE! Is there any way to add predefined code to run such as "npm start" when shortcut is executed? thanks :D
Author
Owner

@tranzystorekk commented on GitHub (Jul 13, 2022):

I guess this is partially done since you can right click the WT icon in the taskbar and pick a profile

@tranzystorekk commented on GitHub (Jul 13, 2022): I guess this is partially done since you can right click the WT icon in the taskbar and pick a profile
Author
Owner

@Jaswir commented on GitHub (May 20, 2023):

@tranzystorek-io @JamesDev21 @DHowett @htcfreek
Trying to get an understanding of what you really want.

This is an example of what a Powershell Core shortcut would be:
6366- option to create desktop shortcuts to profiles

@Jaswir commented on GitHub (May 20, 2023): @tranzystorek-io @JamesDev21 @DHowett @htcfreek Trying to get an understanding of what you really want. This is an example of what a Powershell Core shortcut would be: ![6366- option to create desktop shortcuts to profiles](https://github.com/microsoft/terminal/assets/15957528/4ffdc3fa-6cf6-424d-9289-f0cef7465108)
Author
Owner

@tranzystorekk commented on GitHub (May 20, 2023):

I guess this is partially done since you can right click the WT icon in the taskbar and pick a profile

@Jaswir considering this I no longer have a use for the shortcuts, I'll probably close this. Thank you for taking a look though!

@tranzystorekk commented on GitHub (May 20, 2023): > I guess this is partially done since you can right click the WT icon in the taskbar and pick a profile @Jaswir considering this I no longer have a use for the shortcuts, I'll probably close this. Thank you for taking a look though!
Author
Owner

@Jaswir commented on GitHub (May 20, 2023):

@tranzystorek-io

You're welcome.
Thanks for the feedback, I'll see what I can do.

I guess if no one else is interested in this either I'll move on to another issue.

@Jaswir commented on GitHub (May 20, 2023): @tranzystorek-io You're welcome. Thanks for the feedback, I'll see what I can do. I guess if no one else is interested in this either I'll move on to another issue.
Author
Owner

@zadjii-msft commented on GitHub (May 20, 2023):

There's like, 29 other upvotes on this thread so I'd say that even if OP has found a viable workaround, there's probably still some demand for this feature 😉

My brief thoughts:

  • make it a button in the Settings UI (Profiles_Base.*).
  • I don't know how to necessarily make a shortcut on the desktop - I suppose it's just a file of some sort? Shockingly, I'm not that familiar with that part of the Win32 API.
  • The icon should probably be the icon of the profile itself (though, that might not work for ms-appx icons)
@zadjii-msft commented on GitHub (May 20, 2023): There's like, 29 other upvotes on this thread so I'd say that even if OP has found a viable workaround, there's probably still some demand for this feature 😉 My brief thoughts: * make it a button in the Settings UI (`Profiles_Base.*`). * I don't know how to necessarily make a shortcut on the desktop - I suppose it's just a file of some sort? Shockingly, I'm not _that_ familiar with that part of the Win32 API. * The icon should probably be the icon of the profile itself (though, that might not work for `ms-appx` icons)
Author
Owner

@htcfreek commented on GitHub (May 20, 2023):

@zadjii-msft , @Jaswir , @tranzystorek-io

I agree with @zadjii-msft. Maybe it is possible to show a dialogue where the user can choose on or more of the following link places: Desktop, Start menu, Taskbar

Not sure how the icon thing is solved for packaged apps. But isn't ms-appx only a reference to the app resource folder on the disk? 🤔

@htcfreek commented on GitHub (May 20, 2023): @zadjii-msft , @Jaswir , @tranzystorek-io I agree with @zadjii-msft. Maybe it is possible to show a dialogue where the user can choose on or more of the following link places: Desktop, Start menu, Taskbar Not sure how the icon thing is solved for packaged apps. But isn't `ms-appx` only a reference to the app resource folder on the disk? 🤔
Author
Owner

@Jaswir commented on GitHub (May 21, 2023):

@htcfreek

"Maybe a feature like in edge. There is a menu to create a desktop shortcut for apps and pin apps to start."

Could you show me a GIF of this, please? You can use this: https://www.screentogif.com/

@Jaswir commented on GitHub (May 21, 2023): @htcfreek "Maybe a feature like in edge. There is a menu to create a desktop shortcut for apps and pin apps to start." Could you show me a GIF of this, please? You can use this: https://www.screentogif.com/
Author
Owner

@htcfreek commented on GitHub (May 21, 2023):

@htcfreek

"Maybe a feature like in edge. There is a menu to create a desktop shortcut for apps and pin apps to start."

Could you show me a GIF of this, please? You can use this: https://www.screentogif.com/

@Jaswir
I thought on having a menu like this: https://www.online-tech-tips.com/wp-content/uploads/2022/06/28-Taskbar-Shortcut.png

@htcfreek commented on GitHub (May 21, 2023): > @htcfreek > > "Maybe a feature like in edge. There is a menu to create a desktop shortcut for apps and pin apps to start." > > Could you show me a GIF of this, please? You can use this: https://www.screentogif.com/ @Jaswir I thought on having a menu like this: https://www.online-tech-tips.com/wp-content/uploads/2022/06/28-Taskbar-Shortcut.png
Author
Owner

@zadjii-msft commented on GitHub (May 22, 2023):

Also, I'd probably recommend starting small - first add a button to add a shortcut to the Desktop, then work from there.

Especially considering the changes between the Start Menu & Taskbar between Windows 10 and 11 - I wouldn't want to overindex on that aspect of the feature.

@zadjii-msft commented on GitHub (May 22, 2023): Also, I'd probably recommend starting small - first add a button to add a shortcut to the Desktop, then work from there. Especially considering the changes between the Start Menu & Taskbar between Windows 10 and 11 - I wouldn't want to overindex on that aspect of the feature.
Author
Owner

@htcfreek commented on GitHub (May 22, 2023):

Especially considering the changes between the Start Menu & Taskbar between Windows 10 and 11 - I wouldn't want to overindex on that aspect of the feature.

Yeah. I missed this changes when doing the suggestion. 😅

@htcfreek commented on GitHub (May 22, 2023): > Especially considering the changes between the Start Menu & Taskbar between Windows 10 and 11 - I wouldn't want to overindex on that aspect of the feature. Yeah. I missed this changes when doing the suggestion. 😅
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#8829