TextBar-Recipes icon indicating copy to clipboard operation
TextBar-Recipes copied to clipboard

Extra characters in menubar

Open iAurora opened this issue 7 years ago • 10 comments

Ever since the update to v3.2 additional "(B" appeared in front of every item in menubar. It doesn't seem to matter if icon is there or not. Both custom scripts and the ones that were provided with app install have the same problem.

Any ideas on what could have possibly caused that?

b-problem

iAurora avatar Nov 28 '17 11:11 iAurora

Sorry you are having issues. I've not heard of anyone else with this issue, yet.

Can you run the following command and email ([email protected]) me the output file 'prefs.txt': defaults read com.richsomerfield.textbar > prefs.txt

What shell do you have configured as default on your machine? What macOS version are you using?

Thanks.

richie5um avatar Nov 28 '17 11:11 richie5um

I've just had another customer report this issue. They said that they had 'RESET=(B' in their .bash_profile.

One solution (which is what they did) was to:

  • Go to TB > Preferences > Advanced
  • In the 'Shell Arguments' entry, remove the '-l' value.

The '-l' makes TB use your login profile (i.e. load your bash_profile) when it executes the script. This was added as lots of people were complaining that their PATH wasn't available when executing scripts which meant their custom tools were not found.

richie5um avatar Dec 01 '17 12:12 richie5um

Hi there. Sorry, didn't have the chance to reply earlier.

I'm not seeing any "(B" in my .bash_profile, .bash_prompt, .bashrc, or .path files.

The only time I've spotted this character combination in .bash_profile is this:

if [ -f $(brew --prefix)/etc/bash_completion ]; then . $(brew --prefix)/etc/bash_completion fi

It's in lowercase, and commenting it out does not maker any difference, so I don't think it's that.

Getting rid of the "-l" flag does help though. Since I don't need any custom tools loaded for the time being, guess I have my solution.

Thanks!

On 1 Dec 2017, at 15:22, Rich Somerfield [email protected] wrote:

I've just had another customer report this issue. They said that they had 'RESET=(B' in their .bash_profile.

One solution (which is what they did) was to:

Go to TB > Preferences > Advanced In the 'Shell Arguments' entry, remove the '-l' value. The '-l' makes TB use your login profile (i.e. load your bash_profile) when it executes the script. This was added as lots of people were complaining that their PATH wasn't available when executing scripts which meant their custom tools were not found.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/richie5um/TextBar-Recipes/issues/48#issuecomment-348481461, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVMRrr6VpxieZtsHV6xAlGG2j-byV1jks5s7-9sgaJpZM4QtFnk.

iAurora avatar Dec 02 '17 17:12 iAurora

Thanks. I'll try and work out what is causing this.

richie5um avatar Dec 04 '17 09:12 richie5um

I am currently having the same issue: image

Removing -l does not helps me as I need some features from my bash profile. Any workaround?

AlexRex avatar Jul 11 '18 07:07 AlexRex

Erm, I'm not sure what the problem is. I'll do some investigating. For now, perhaps you can use 'cut' as part of your script to remove the first two characters.

richie5um avatar Jul 11 '18 17:07 richie5um

I too have the (B in my all of my textbar items.

screen shot 2018-07-15 at 17 28 11

stevenirby avatar Jul 15 '18 22:07 stevenirby

Removing -l from the shell arguments did work for me though.

stevenirby avatar Jul 15 '18 22:07 stevenirby

Same problem here; prefer not to remove the -l

rogierlommers avatar May 10 '19 07:05 rogierlommers

Got the "(B" too. Removing -l worked for me, but following this thread for better solutions...

DavidDoesDev avatar Feb 02 '20 23:02 DavidDoesDev