You are not logged in.

#1 2018-11-13 22:55:32

GOKOP
Member
Registered: 2018-04-29
Posts: 51

[SOLVED] Ranger - don't lose window when opening a program

When opening a file with a gui program from ranger, one of two things will happen depending on how you've done that:
If you just opened the file with program that ranger considers default for this file, ranger terminal window is still usable. You can even close it and the program will still work.
However, if you use r to specify a program to launch, it grabs the terminal window just as if you ran it from terminal without '&' at the end.
Is there a way to force the first behavior for the second case too? Appending '&' at the end while typing command to run the file with doesn't help.

Last edited by GOKOP (2018-11-14 18:20:42)

Offline

#2 2018-11-14 12:24:24

nassi
Member
From: Finland
Registered: 2017-01-27
Posts: 35

Re: [SOLVED] Ranger - don't lose window when opening a program

Instead of appending an ampersand append f (without anything else), the fork flag used in ranger.

Offline

#3 2018-11-14 18:20:02

GOKOP
Member
Registered: 2018-04-29
Posts: 51

Re: [SOLVED] Ranger - don't lose window when opening a program

It works, thanks!

Offline

Board footer

Powered by FluxBB