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

tmux-urlview: it flashes empty for a second and then gone..any clue? #15

Open
zeltak opened this issue Jun 3, 2016 · 10 comments
Open

Comments

@zeltak
Copy link

zeltak commented Jun 3, 2016

Hi

i have latest tmux and tmux-urlview on arch linux with perl-extract-url installed.

when i press prefix+u i see the bottom tmux-urlview buffer opening for a second and then gone..any clue?

best

Z

@bennyty
Copy link

bennyty commented Jan 20, 2017

Wanted to let you know I am having the same issue. Running iTerm2, tmux 2.3, latest tmux-urlview, and latest extract_url on OSX 10.11.4

@jillesme
Copy link

Me too :( @jbnicolai @raboof ?

@sidzwans
Copy link

sidzwans commented May 8, 2017

Have you got Curses::UI installed? It needs to be installed in order for perl-extract-url to produce its Ncurses output. 'perl-curses-ui' in arch linux repo.

And, make sure to set the $BROWSER. If not, set the config in (~/.extract_urlview) minimum with command to be pass to the url, e.g. COMMAND firefox. Check extract_url.pl webpage for more info.

-Regards-

@emanresusername
Copy link

the above didn't work for me. i'm on elementaryos loki with linuxbrew installed perl and extract_url and tmux 2.4

@sidzwans
Copy link

I am also using tmux 2.4. No problem with that.

What happen when you do this in your terminal?

touch url.txt
echo www.github.com >> url.txt
extract_url url.txt

You should see a window open with that url to choose. If yes... then nothing wrong with your extract_url config. Should be something else.

@thallada
Copy link

Hopefully this will help someone else... I was having the same problem, so I tried to install Curses:UI like @sidzwans pointed out (thanks btw). But, I got a compilation error "ncurses.h: No such file or directory". I'm on Ubuntu 16.04, so I fixed it with sudo apt-get install libncurses5-dev and ran sudo cpan Curses:UI again.

@perfectayush
Copy link

I was facing this issue on macOS 10.14. After some debugging, I figured that I had this in my .tmux.conf

set -g default-terminal "tmux-256color"

This basically sets TERM env variable to this value. For some reason, urlview and extract_url, both fail with this value. Changing the variable to screen-256color fixed this issue. Check if TERM env var is set to some problematic value.

@deybhayden
Copy link

2 years - and I'm gonna post 😅 - I have this today with MacOS + Alacritty + Tmux. My $TERM value is xterm-256color and all other applications are working okay (needed for italics support on macOS 12.1). I can call urlview /tmp/tmux-buffer from a normal shell and everything works, but it fails with split-window. Any ideas denvercoder9?

@deybhayden
Copy link

Debugged this - used set remain-on-exit on and found it had the exit code of 127 and urlview couldn't be found (Homebrew install) by tmux. Used the full path and everything worked. In case anyone runs into this issue!

@jessebye
Copy link

I'm on MacOS + iTerm2 + tmux. In my case, I needed to create a ~/.urlview with the contents COMMAND open -a firefox %s before this would work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants