ranger resets to default colorscheme in terminator
See original GitHub issueIt seems that every time ranger does something that updates the whole window in terminator, it resets the whole terminal to the default colorscheme (the one that was set in your configs, ignoring pywal’s colorscheme).
The steps to reproduce this issue are quite simple:
- Open up ranger through the command;
- Do anything that updates all of the terminal window, for example, in the gif, I opened up vim (I’ve tested with commands such as
:shell pandoc ...
and:shell git ...
that, while executing, update the whole window, and for things like the the S mapping in ranger, that takes me to my shellmap S shell zsh -c "cd %d; zsh"
).
Or, if you open up ranger with a custom mapping (for example, I have $mod+r on i3wm), ranger will not get the custom colorscheme from the start.
Expected is you would have your custom colorscheme, but what happens is that ranger sets the default colorscheme back. That might have not been clear in the gif because the custom colorscheme and the default were very alike. In the end, when I open up two different terminals, the left one is terminator and the right one is URxvt. The right one is with the custom colorscheme, but terminator reverted back to the default colorscheme - and it affects the whole terminal window - so if I leave ranger, the terminal doesn’t have the custom colorscheme set anymore.
I should also mention, If I haven’t yet, that this doesn’t happen on URxvt, neither the ranger issue, nor the mouse thing (maybe because it uses Xresources). I can’t say about other terminals, but I can say that it happens in terminator, which is the one I recorded on (it might even be a terminator issue, but I haven’t got the time to test on different emulators).
I’m sorry if it was not clear what was happening. And thank you for your patience and willingness to resolve these little issues.
Here’s the above mentioned gif:
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5
Top GitHub Comments
What worked for me is making a shell script to launch Ranger like this. It runs the command to update termites’ color scheme right before ranger: #!/bin/bash (wal -r &) ranger
I too also use terminator as a daily terminal, but i think this issue belongs to terminator. The problem is even if i lose focus for a sec from the main window of terminator the cholorschemes are back to default(whether its ranger,cmus,htop, u name it. Same issue goes with neofetch, where the image dissapears everytime u lose focus of the window. Ive tried pywal with urxvt, gnome-terminal, xfce4-terminal and it works without any problem.
So i’m guessing its more a terminator issue than a pywal.