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

Pin to task bar Win7 #90

Closed
ylecuyer opened this Issue May 14, 2014 · 12 comments

Comments

Projects
None yet
9 participants
@ylecuyer
Contributor

ylecuyer commented May 14, 2014

When pined from desktop shortcuts it shows another window

capture

When pined from the running window, babun doesn't work at all

capture

@tombujok

This comment has been minimized.

Contributor

tombujok commented May 14, 2014

I am not a windows taskbar expert :) - would apreciate a fix/pull request ;)

@olivierdagenais

This comment has been minimized.

Contributor

olivierdagenais commented May 14, 2014

My guess is because the shortcut to launch babun is to cmd.exe (which launches a batch file); if we could get the shell that MinTTY launches to set up the environment (instead of doing so in babun.bat), I think it would work out.

@dafrancis

This comment has been minimized.

dafrancis commented May 14, 2014

I've got around this by doing the following:

  1. Right click on the icon in the taskbar, right click on terminal, and select properties
    step1
  2. In properties set the target to C:\Users\<user>\.babun\babun.bat (where <user> is your windows username)
    screenshot 2014-05-14 21 59 53
  3. Set the icon to be the same as MinTTY.exe found in C:\Users\<user>\.babun\cygwin\bin\MinTTY.exe (you will need to click the dropdown and select Programs (*.exe) so you can see MinTTY.exe
    screenshot 2014-05-14 22 03 58
  4. Click apply and you should now have a working taskbar item that runs babun!
    babun
@ylecuyer

This comment has been minimized.

Contributor

ylecuyer commented May 15, 2014

It works well. Thanks

On Wed, May 14, 2014 at 11:18 PM, Dafydd Francis
notifications@github.comwrote:

I've got around this by doing the following:

  1. Right click on the icon in the taskbar, right click on terminal, and
    select properties
    [image: step1]https://cloud.githubusercontent.com/assets/602129/2977366/8a7a18c2-dbaa-11e3-8831-0e98491c08c0.png
  2. In properties set the target to C:\Users.babun\babun.bat(where
    is your windows username)
    [image: screenshot 2014-05-14 21 59 53]https://cloud.githubusercontent.com/assets/602129/2977395/e6b1ef34-dbaa-11e3-9a39-6461864133bf.png
  3. Set the icon to be the same as MinTTY.exe found in
    C:\Users.babun\cygwin\bin\MinTTY.exe (you will need to click the
    dropdown and select Programs (*.exe) so you can see MinTTY.exe
    [image: screenshot 2014-05-14 22 03 58]https://cloud.githubusercontent.com/assets/602129/2977452/932fa4f4-dbab-11e3-9777-1f13ced8fd28.png
  4. Click apply and you should now have a working taskbar item that runs
    babun!
    [image: babun]https://cloud.githubusercontent.com/assets/602129/2977597/2c943b4a-dbad-11e3-8fbe-05e4c39aa55f.gif


Reply to this email directly or view it on GitHubhttps://github.com//issues/90#issuecomment-43138970
.

@tcrosen

This comment has been minimized.

tcrosen commented May 15, 2014

@dafrancis thank you for your help. Exactly what I was looking for and worked like a charm!

@erikweibust

This comment has been minimized.

erikweibust commented May 17, 2014

Thanks @dafrancis ! Worked perfectly!

@jktravis

This comment has been minimized.

jktravis commented May 22, 2014

@dafrancis Fantasitc! Thanks!

@bohrshaw

This comment has been minimized.

bohrshaw commented May 23, 2014

Yay, but how to maximize the window?
I tried to configure MinTTY's window size option which seems wasn't be preserved.

@olivierdagenais

This comment has been minimized.

Contributor

olivierdagenais commented May 23, 2014

I tried to configure MinTTY's window size option which seems wasn't be preserved.

That was issue #86; it's been fixed by pull request #91.

@sveggiani

This comment has been minimized.

sveggiani commented Jun 4, 2014

I've deleted my comment because I didn't understand @dafrancis instructions. I was trying to drag the desktop shortcut to the taskbar and despite I followed @dafrancis instructions I obtained an additional icon in the taskbar every time I ran babun.

The trick is to run it from the desktop icon, pin THAT window and later follow the instructions.
I've created an screencast of the complete process.

babun screencast

@tombujok

This comment has been minimized.

Contributor

tombujok commented Jun 6, 2014

1.0.1 is easily pinnable - you can do it the normal windows way :) Enjoy!

@tombujok tombujok closed this Jun 6, 2014

@tombujok

This comment has been minimized.

Contributor

tombujok commented Jun 6, 2014

BTW, 1.0.1 has been just released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment