You are not logged in.

#1 2012-04-08 23:39:07

jk121960
Member
From: Palos Hills, Illinois
Registered: 2011-12-09
Posts: 254

[Solved] Ranger starts xterm

Hi, I set my environment variable

export TERM=lxterminal 

in .bashrc and it's fine oretty much but in ranger when I run the command :terminal is executes 'xterm', I went into the commands.py and tried to force it there but to no luck, does anyone know what the code would be to force a specific terminal for ranger?

thanks in advance for your help,

--jerry

Last edited by jk121960 (2012-04-09 00:35:26)


Arch Awesome, Ranger & Vim the coding triple threat.

Offline

#2 2012-04-08 23:56:24

gregor
Member
From: /planet/tmpfs
Registered: 2011-06-20
Posts: 175

Re: [Solved] Ranger starts xterm

hey ,i use terminator for terminal and the code=

 terminator - e ranger 

so put this into a file

#!/bin/bash
terminator -e ranger

and make it executable with "chmod"

Last edited by gregor (2012-04-08 23:57:07)

Offline

#3 2012-04-09 00:15:31

jk121960
Member
From: Palos Hills, Illinois
Registered: 2011-12-09
Posts: 254

Re: [Solved] Ranger starts xterm

thanks for the post,

But what I meant was that when I am in ranger and I execute the command ':terminal' it should open up a terminal in the current working directory that ranger is in, which it does but it opens xterm instead of lxterminal.

thanks again

--jerry


Arch Awesome, Ranger & Vim the coding triple threat.

Offline

#4 2012-04-09 00:29:42

adaptee
Member
From: China
Registered: 2010-02-02
Posts: 36

Re: [Solved] Ranger starts xterm

Try "export TERMCMD=....'.  See man ranger(1).

Offline

#5 2012-04-09 00:35:11

jk121960
Member
From: Palos Hills, Illinois
Registered: 2011-12-09
Posts: 254

Re: [Solved] Ranger starts xterm

adaptee wrote:

Try "export TERMCMD=....'.  See man ranger(1).

Okey Dokey Worked like a charm, thankyou very much.

--jerry


Arch Awesome, Ranger & Vim the coding triple threat.

Offline

Board footer

Powered by FluxBB