From 35195f65e5e0d1ba2fd55b131fdae6e5b4cc3516 Mon Sep 17 00:00:00 2001 From: btatu Date: Fri, 29 Dec 2017 10:52:10 +0100 Subject: [PATCH] rxvt: ajout exemple de config --- HowtoUrxvt.md | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/HowtoUrxvt.md b/HowtoUrxvt.md index bcfee11b..1c8da94e 100644 --- a/HowtoUrxvt.md +++ b/HowtoUrxvt.md @@ -25,7 +25,7 @@ rxvt-unicode (urxvt) v9.20 - released: 2014-04-26 ## Configuration -Dans sa configuration par défaut, le terminal propose très peu de fonctionnalités. +La configuration par défaut propose très peu de fonctionnalités. Pour sa configuration, il utilise le fichier `~/.Xresources`. @@ -57,4 +57,56 @@ URxvt.keysym.C-minus: resize-font:smaller URxvt.keysym.C-plus: resize-font:bigger URxvt.keysym.C-equal: resize-font:reset URxvt.keysym.C-question: resize-font:show +~~~ + +### Définir ce terminal par défaut + +Qu'importe l'environnement de bureau que vous utilisez, on peut la définir via la commande suivante : + +~~~ +$ sudo update-alternatives --config x-terminal-emulator +~~~ + +Dans le cas de i3, on peut adapter la configuration (~/.i3/config) ainsi : + +~~~ +bindsym $mod+Return exec "i3-sensible-terminal" +~~~ + +### Exemple + +Fichier de configuration Badass que les sysadmin utilisent : + +~~~ +URxvt.font: xft:monospace:size=10 +URxvt*background: [85]#000000 +URxvt*foreground: [100]#ffffff +URxvt*scrollBar: false +URxvt*saveLines: 10000 +URxvt.perl-ext-common: default,matcher +URxvt.urlLauncher: firefox +URxvt.urgentOnBell: true + +##Fond transparent +URxvt.inheritPixmap: true +##URxvt.tintColor: #00000 +URxvt.shading: 25 + +!Pnevma1 +*color0: #2F2E2D +*color8: #4A4845 +*color1: #A36666 +*color9: #D78787 +*color2: #8FA57E +*color10: #A9BA9C +*color3: #D7AF87 +*color11: #E4C9AF +*color4: #7FA5BD +*color12: #A1BDCE +*color5: #C79EC4 +*color13: #D7BEDA +*color6: #8ADBB4 +*color14: #B1E7DD +*color7: #D0D0D0 +*color15: #EFEFEF ~~~ \ No newline at end of file