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

Any way to "pin to taskbar"? #44

Closed
leolozes opened this issue Oct 6, 2017 · 6 comments
Closed

Any way to "pin to taskbar"? #44

leolozes opened this issue Oct 6, 2017 · 6 comments
Labels

Comments

@leolozes
Copy link

leolozes commented Oct 6, 2017

First of all thanks for this great terminal!
The only "problem" I have is that I didn't find a way to pin it to the Windows 10 Taskbar.
I did use the utility to pin it to start and it works nicely, but when I try to pin it to the Taskber either it doesn't work or when I click, it opens in another icon.

Any ideas on how to do it? Thanks!

@goreliu
Copy link
Collaborator

goreliu commented Oct 6, 2017

open-wsl.exe is only a starter of mintty.exe, so you can pin mintty.exe instead of open-wsl.exe to Taskbar, but it's a little difficult.

Create a shortcut of bin/mintty.exe, and then change the properties of the .lnk file, append /bin/wslbridge -t bash to the target (it won't read etc/wsl-terminal.conf), and change the icon to open-wsl.exe, then pin this .lnk file to Taskbar.

@leolozes
Copy link
Author

leolozes commented Oct 6, 2017

Great! Worked beautifully, thanks!

@accesspc
Copy link

accesspc commented Oct 6, 2017

A big thanks from me too!
My solution to "Pin to taskbar":

  • Create a shortcut of open-wsl.exe in the same directory
  • Rename it to WSL
  • Modify link so that target would have additional " -l" at the end
  • Right click and Pin to taskbar

This way the taskbar icon is alway clear, once you click it it spawns a new window. If you have multiple WSL windows, they are grouped under a new taskbar icon and the pinned one is always free and ready to spawn another window with a single click.

@shashankgandham
Copy link

@goreliu After following your solution, it runs default ubuntu terminal and not wsl-terminal

@ssshake
Copy link

ssshake commented Dec 1, 2017

Looks like I reported a duplicate of this yesterday. I'm wondering instead of providing instructions to do this could a solution be to provide this shortcut in the zip itself, save people the trouble?

@goreliu
Copy link
Collaborator

goreliu commented Mar 20, 2018

I fixed it in v0.8.10.

@goreliu goreliu added the solved label Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants