Xfce Forum

Sub domains
 

You are not logged in.

#1 2020-03-06 23:56:14

slipsnip
Member
Registered: 2020-03-06
Posts: 1

ranger as prefered filemanger inside restored tmux session [edge case]

I am trying to figure out a way to not only set xfce Filemanager to be ranger but have it startup in a tmux session.  I noticed a similar post of setting ranger as the default 9735

I created this script:

tmux attach/; send-keys C-r/; select-window -t :=ranger
ranger

and set the file manager in preferred applications to xfce4-terminal -x sh filemanager.sh where filemanager.sh is the name of the script located in $HOME/.local/bin which is on my $PATH

And while it does launch ranger, it does not do so in a tmux session.  I have tmux configured with tmux-ressurect to restore my session which includes a window called ranger.  The send-keys C-r is supposed to restore that session before finally selecting the ranger window.  I think the problem is ranger being on a new line but am unsure.

Does someone have experience with this sort of edge case or any ideas as to what I might be doing wrong?  Thank you.

Offline

#2 2020-03-07 16:48:20

alcornoqui
Member
Registered: 2014-07-28
Posts: 832

Re: ranger as prefered filemanger inside restored tmux session [edge case]

slipsnip wrote:

Does someone have experience with this sort of edge case or any ideas as to what I might be doing wrong?  Thank you.

I have no experience, but maybe there's some hint here?

Tmux ranger integration: opening text files in new panes

Offline

Board footer

Powered by FluxBB