Why is my tmux borked?
from xtapa@discuss.tchncs.de to programming@programming.dev on 15 Aug 2024 12:25
https://discuss.tchncs.de/post/20474285

I’ve been trying tmux and followed a video that showcases and offers a prebuilt config for styling and plugins. Something happended (guess I did something wrong?) the styling broke and I decided I’ll go bare bones and customize to my needs when needed instead of using preconfigured stuff. I deleted all configs and caches I could find with fzf and even reinstalled tmux, but still some broken styling is present and makes it unpleasent to work with. Some of my configs seem to be present even after uninstall, as the prefix is still C-Space instead of the default. There are some oh-my-zsh subfolders that contain tmux. I don’t know if those have been there before and I also don’t know, if I can delete them without breaking the next thing.

I’m on a MacBook and installed tmux via brew.

#programming

threaded - newest

NegativeLookBehind@lemmy.world on 15 Aug 2024 12:30 next collapse

Reinstall or install from a different source?

xtapa@discuss.tchncs.de on 15 Aug 2024 14:07 collapse

Yeah I could try that, I just try to stick to one source if possible. I’ll give it a try if no other solution come up.

recursive_recursion@programming.dev on 15 Aug 2024 13:07 next collapse

I can’t help as I don’t have exp with tmux or brew;
but I do know that if you crosspost your post/question into c/linux you’ll have a better time finding someone that knows how to help!🤗

xtapa@discuss.tchncs.de on 15 Aug 2024 17:39 collapse

That was actually a good tip!

recursive_recursion@programming.dev on 15 Aug 2024 23:07 collapse

I’m glad that you were able to get your tmux problem solved!🤗

TootSweet@lemmy.world on 15 Aug 2024 14:59 next collapse

What’s the value of your $TERM variable?

nickwitha_k@lemmy.sdf.org on 15 Aug 2024 18:42 collapse

This is usually the cause, in my experience.

Zer0Rank@sopuli.xyz on 15 Aug 2024 17:19 next collapse

Feels like a font issue. Do you have e.g. nerdfont installed and in use in your terminal? You could check the config for plugins that makes that style, and check which fonts are in use. Could also be powerline fonts that are needed: github.com/powerline/fonts

xtapa@discuss.tchncs.de on 15 Aug 2024 20:25 collapse

I got the JetBrainsMonon Nerdfont. It was annorphan process of tmux still running after all configs and tmux itself was uninstalled.

LarkinDePark@lemmygrad.ml on 15 Aug 2024 19:26 next collapse

Just ditch your .tmux.conf and use oh my tmux. It should have everything you’re looking for.

sudo@programming.dev on 16 Aug 2024 00:17 next collapse

Unironically try turning your computer off and on again.

Tmux settings are global and persistent. Just deleting your config files is insufficient. You have to kill the server and restart it. Uninstalling and reinstalling will not kill a running tmux server. tmux kill-server should work too.

Now if it persists across reboots, then there must be a file still lingering somewhere. If you are sure your home directory is clean you can try searching whatever you installed in /etc.

This is all assuming you’re trying to go back to a clean slate and failing. If the borked status bar is the result of your current .tmux.conf, then you’ll have to post that.

xtapa@discuss.tchncs.de on 16 Aug 2024 06:28 collapse

It was exactly that. The stupid thing is: I usually shut down my Mac at the end of my workday and on the next day and start everything I need via script and always got funny looks from my co-workers because “you can just close it and keep it running” so I tried it a few days and honestly did not think about restarting because it would have been a fresh start before.

But now I know there’s a tmux server running that I can kill when problems occur and I won’t need to reboot Everytime tmux starts acting funny. So at least I learned from being dumb and not thinking about basic trouble shooting steps…