Configuration files for Screen.
Questions tagged [screenrc]
25 questions
30
votes
7 answers
gnu screen - changing the default escape command key to ALT-X?
In GNU screen, I want to change the default command binding to Alt-s (by tweaking .screenrc) instead of the default C-a, the reason is I use emacs hence GNU screen binds the C-a key, sending "C-a" to the emacs becomes tedious (as @Nils said, to send…

Siva
- 711
- 1
- 5
- 8
6
votes
1 answer
GNU Screen scroll history after reattach
I've noticed that after detaching and reattaching a screen session, I lose the scroll history. I have done some searching, but anytime I combine "screen" and "scroll" I get inundated with scroll wheel integration instructions.
Anyway, synopsis:
In…

crunk1
- 2,560
- 1
- 26
- 32
5
votes
2 answers
How to show in GNU Screen hardstatus what tab was selected previously?
Every time I work in the console I use GNU Screen. I have a custom
.screenrc file with several settings. Among others I have the setting that
shows 'tabs' in the bottom:
hardstatus alwayslastline
hardstatus string "%{= g} %{= w}%-w%{=r}%n…

bessarabov
- 11,151
- 10
- 34
- 59
4
votes
2 answers
preserve my env in linux screen
I have serveral customized environment variables and functions in my ~/.bash_profile which I would like to be called automatically when I start my screen session with screen -D -R, but apparently adding source ~/.bash_profile in ~/.screenrc doesn't…

Amir
- 1,348
- 3
- 21
- 44
4
votes
1 answer
How to run shortkeys using Python?
I understand, we can execute Linux Shell Commands using subprocess
import subprocess
subprocess.call(["ls", "-l"])
What if i want to run CTRL+C action over the terminal?
My Use Case is:
1> Open a linux screen
2> Run a command over first…

innosam
- 427
- 1
- 5
- 18
4
votes
1 answer
What is the right syntax to enable logging in screen using a separate screenrc file?
I have set up a screen rc file like this:
log on
shelltitle apt
logfile $HOME/configs/screen/screenlogs/apt.log
logtstamp after 120
and I am starting like this:
screen -c ~/configs/screen/apt.rc
But after using for a while the apt.log file is…

vfclists
- 19,193
- 21
- 73
- 92
3
votes
1 answer
Unable to source .screenrc, it says command not found
I am trying to get tabs in my screen using .screenrc, but while sourcing, it says command not found. It is on ubuntu14.04. I have screen installed. I can create screen but just unable to get tabs details using screenrc.
machine:~$ cat…
user5154816
2
votes
2 answers
Unable to source in .screenrc
I have the following in my .screenrc
source ~/bin/Screen/multiUserSettings
It gives me…

Léo Léopold Hertz 준영
- 134,464
- 179
- 445
- 697
2
votes
1 answer
GNU screen custom key bindings format
I am trying to add key bindings to the .screenrc file for making a lot of things easier. So far I have understood the following pattern
bindkey "^k" eval "copy" "stuff k" # enter copy mode and move up one line
Here ^ corresponds to the Ctrl key,…

Alex
- 1,618
- 1
- 17
- 25
2
votes
0 answers
GNU screen dynamic title
I have a setting that works on one computer (Linux mint 18.3 sylvia) and not on another one (Ubuntu 14.04.5 LTS) and I don't really know what to check to find the problem :
I'm using GNU screen and I put the name of each window, which change…

hugogogo
- 501
- 4
- 24
2
votes
1 answer
How to show in GNU Screen hardstatus tabs that have an activity?
Each time I have more than 4 tabs, I really like to know in which one there's activity.
Until now, I used to benefit from rxvt tabbing system. It displays a * next to tabs which are not shown, but have an activity. It's really usefull when you're on…

cphyc
- 440
- 5
- 16
1
vote
1 answer
How to use a custom NRC-style lexicon on Syuzhet for R?
I am new to R and new to working with Syuzhet.
I am trying to make a custom NRC-style library to use with the Syuzhet package in order to categorize words. Unfortunately, although this functionality now exists within Syuzhet, it doesnt seem to…

Alexandra Hudson
- 11
- 3
1
vote
1 answer
How do you set copy mode from your screenrc?
I want to enter copy-mode by default from screen. Right now, I'm using stuff to start a server. I'd like to then enter copy-mode so I can just use the mouse to scroll up.
I can't just use stuff "Ctrl-a ESC" (even though Ctrl-a ESC entered from the…

user341493
- 414
- 1
- 7
- 15
1
vote
0 answers
Can't get the correct format for my .screenrc
This is my .screenrc. The goal, was for it to load up the client in the furthest left panel with a width of 85 (in gnome-terminal, FYI), the next section would be split in two, top and bottom. Both running a tail on two different files. And furthest…

Colby R Meier
- 457
- 7
- 26
1
vote
1 answer
chdir in .screenrc on mac
I could chdir in .screenrc in linux
so that when I open up screen, I could go to specified directory(for each tab)
Haven't had success with chdir in mac with screenrc.
Anyone have done this?

eugene
- 39,839
- 68
- 255
- 489