Modifier les couleurs de Eterm

Bonjour à tous,

Afin de préserver mes petits yeux fragiles :laughing: je souhaite configurer mon terminal X (Eterm en l’occurence) afin d’avoir un affichage des plus confortable.

Du coup j’ai paramétré Eterm avec un thème spécifique lorsque je le lance, et j’ai commencé à modifier ce thème en fonction de mes besoins.

Mon souci vient du fait que j’ai beau modifier les couleurs dans le fichier “theme.cfg”, aucun changement n’est pris en compte :confused:

Alors si quelqu’un a une idée, je suis preneur merci :smiley:

De meme, je suis preneur de tous vos conseils/exemples/idées sur les configurations que vous utilisez pour vos terminaux X.

Bonne journée à tous

Bon après avoir creusé un peu plus la question, j’ai fini par trouver les bonnes lignes à modifier dans mon fichier “theme.cfg”.

Par contre, je n’ai pas réussi à piger comment fonctionne le codage hexadécimal pour définir une couleur, meme avec l’aide de l’outil “Etcolor”.

Enfin bon, l’essentiel c’est que mes petits yeux souffrent moins :smiley:

Tchuss

Alors pour les couleurs c’est réparti en 3 couleurs primaires

R V B

R pour rouge
V pour vert
B pour bleu

Chaque nuance est comprise entre 00 et FF c’est a dire 256 couleurs entre 0 et 255

Ensuite c’est a toi de faire les mélanges pour avoir la couleur que tu désire

Pour exemple

00FF00 te donne la couleur verte de chez vert.
Tu peux l’attenuer en rajoutant un peu des deux autres 55FF55 te donne un autre vert moins flashy :slightly_smiling:

000000 = Noir
FFFFFF = Blanc
CCCCCC = Gris
etc…

Tu peux aussi rajouter l’attribut trans pour la transparence, pour le fond par exemple, et vérifier les toggles de lancement (vers la fin du fichier).
Pour les couleurs, c’est de l’hexadécimal.
Au lieu d’aller de 0 à 9, comme pour notre base décimale commune, ça va de 0 à F, sur 16 unités. De 0 à 9, puis A, B, C, D, E, F (15, mais avec le 0, ça fait 16, 16->hexadeca).
En fait, pourquoi utilise-t-on l’hexadécimal plutôt que le décimale, tout simplement par facilité, puisque 255, qui est FF en hex, est un multiple de 2 récurant en informatique, (par exemple pour les adresses IP). Mais pour bien faire, il faudrait utiliser la base binaire, puisque l’ordi, à la base, ne comprend que les 0 et 1. Or, il est plus simple de passer de la base binaire à la base hexadécimal que du binaire au décimal.
Par exemple, 01001100, en binaire, est tout à fait compréhensible par la machine, mais pour nous, ça ne signifie pas grand chose.
Pourtant, 0100 c’est 0(2^3) +1(2^2)+0(2^1)+0(2^0), soit 4, et
1100, c’est 1(2^3)+1(2^2)+0(2^1)+0(2^0), soit 8+4 12.
En décimal, ça donne 0100 1100 = 4 12
mais on pourrait confondre avec 41 2.
Alors qu’en hexadécimal, ça donne 4 C
et là, on ne peut plus confondre. 01001100 = 4C, et l’on gagne de la place, et de la compréhension. Et FF, c’est le max en binaire : 1111 1111.
Donc, pour les couleurs, au lieu de mettre 255, on préfère FF, bien que sur certains logiciels, on retrouve les valeurs décimales (de 0 à 255).

[quote=“Ashgenesis”]Alors pour les couleurs c’est réparti en 3 couleurs primaires

R V B

R pour rouge
V pour vert
B pour bleu

Chaque nuance est comprise entre 00 et FF c’est a dire 256 couleurs entre 0 et 255

Ensuite c’est a toi de faire les mélanges pour avoir la couleur que tu désire

Pour exemple

00FF00 te donne la couleur verte de chez vert.
Tu peux l’attenuer en rajoutant un peu des deux autres 55FF55 te donne un autre vert moins flashy :slightly_smiling:

000000 = Noir
FFFFFF = Blanc
CCCCCC = Gris
etc…[/quote]
Super, Ashgenesis va nous faire un petit topo sur les configs Xterm/Eterm dans “Trucs et astuces” … :stuck_out_tongue:
Merci encore ! :mrgreen:

zveu bien mais je n’y connais pas grands choses j’ai juste un peu galérer pour configurer le mien :slightly_smiling: enfin je veux bien expliquer ce que j’ai fait

Personnellement , je lance eterm depuis le menu de blackbox avec cette commande :
Eterm --trans -f green --shade 15 -x --buttonbar 0 --scrollbar 0 --geometry 60x40

Ce qui me fait juste un écran transparant sans rebord avec une police verte , très joli .

seulement j’ai 2 problème :

  1. je le lance via cette commande depuis le menu de blackbox que j’ai moi même modifié , seulement , très souvent après avoir lancé certaine appli , curieusement le raccourci change et revient à la configuration d’origine .

  2. ce qui me renvoit à cet autre problème : comment faire en sorte de pouvoir appliquer ces paramètres à Eterm à chaque lancement de celui-ci , sans passer par le raccourci du menu blackbox qui m’a l’air un peu foireux .

merci

J’utilise des fichiers de configuration que j’ai rajouter dans un repertoire dans mon home

A l’intérieur se trouve 2 fichiers

Et ses deux fichiers contiennent ma config de Eterm
theme.cfg

[code]<Eterm-0.9.2>

Eterm Configuration File

Automatically generated by Eterm-0.9.2 on 2005/11/09 at 18:31:32

begin color
foreground #ffffff
background black
cursor #ffff00
cursor_text #880000
pointer white
video normal
color 0 rgb:0/0/0
color 1 rgb:cc/00/00
color 2 rgb:00/cc/00
color 3 rgb:cc/cc/00
color 4 rgb:00/00/cc
color 5 rgb:cc/00/cc
color 6 rgb:00/cc/cc
color 7 rgb:aa/aa/aa
color 8 rgb:33/33/33
color 9 rgb:ff/00/00
color 10 rgb:00/ff/00
color 11 rgb:ff/ff/00
color 12 rgb:00/00/ff
color 13 rgb:ff/00/ff
color 14 rgb:00/ff/ff
color 15 rgb:ff/ff/ff
end color

begin attributes
title Eterm-0.9.2:
name Eterm
iconname Eterm
scrollbar_type motif
scrollbar_width 10
font default 2
font proportional 0
font 0 -misc-fixed-medium-r-normal–7-70-75-75-c-50-iso8859-1
font 1 -misc-fixed-medium-r-normal–10-100-75-75-c-60-iso8859-1
font 2 -misc-fixed-medium-r-semicondensed–13-120-75-75-c-60-iso8859-1
font 3 -misc-fixed-medium-r-normal–13-120-75-75-c-80-iso8859-1
font 4 -misc-fixed-medium-r-normal–18-120-75-75-c-90-iso8859-1
end attributes

begin imageclasses
path "./pix/:~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:/usr/share/Eterm/pix/:/home/ash:/usr/share/Eterm/themes/Eterm:/home/ash:/home/ash/.Eterm/themes/Eterm:/home/ash/.Eterm/themes/Eterm:/home/ash:/home/ash/.Eterm/themes/Eterm:/home/ash/.Eterm/themes/Eterm:/home/ash:/home/ash/.Eterm/themes/Eterm:/home/ash/.Eterm/themes/Eterm:/home/ash:/home/ash/.Eterm/themes/Eterm:/home/ash/.Eterm/themes/Eterm:/home/ash:/home/ash/.Eterm/themes/Eterm:/home/ash/.Eterm/themes/Eterm:/home/ash:/home/ash/.Eterm/themes/Eterm:/home/ash/.Eterm/themes/Eterm:/home/ash:/home/ash/.Eterm/themes/Eterm:/home/ash/.Eterm/themes/Eterm:/home/ash:/home/ash/.Eterm/themes/Eterm:/home/ash/.Eterm/themes/Eterm:/home/ash:/home/ash/.Eterm/themes/Eterm:/home/ash/.Eterm/themes/Eterm"
begin image
type background
mode trans allow image trans viewport auto
state normal
file /usr/share/Eterm/pix/tile/blackstone.jpg
geom 0x0+0+0:tiled
end image
begin image
type up_arrow
mode image allow image auto
state normal
color 0x00000000 0x00666666
file /usr/share/Eterm/pix/button_arrow_up_1.png
geom 100x100+50+50
border 2 2 2 2
state selected
color 0x00000000 0x00666666
file /usr/share/Eterm/pix/button_arrow_up_2.png
geom 100x100+50+50
border 2 2 2 2
state clicked
color 0x00000000 0x00666666
file /usr/share/Eterm/pix/button_arrow_up_3.png
geom 100x100+50+50
border 2 2 2 2
end image
begin image
type down_arrow
mode image allow image auto
state normal
color 0x00000000 0x00666666
file /usr/share/Eterm/pix/button_arrow_down_1.png
geom 100x100+50+50
border 2 2 2 2
state selected
color 0x00000000 0x00666666
file /usr/share/Eterm/pix/button_arrow_down_2.png
geom 100x100+50+50
border 2 2 2 2
state clicked
color 0x00000000 0x00666666
file /usr/share/Eterm/pix/button_arrow_down_3.png
geom 100x100+50+50
border 2 2 2 2
end image
begin image
type left_arrow
mode solid
state normal
color 0x00ffffff 0x00000000
geom 0x0+0+0
end image
begin image
type right_arrow
mode solid
state normal
color 0x00ffffff 0x00000000
geom 0x0+0+0
end image
begin image
type trough
mode trans allow image trans viewport auto
state normal
color 0x00000000 0x00666666
file /usr/share/Eterm/pix/bar_vertical_3.png
geom 100x100+50+50
border 2 2 2 3
end image
begin image
type anchor
mode image allow image auto
state normal
color 0x00000000 0x00666666
file /usr/share/Eterm/pix/bar_vertical_1.png
geom 100x100+50+50
border 2 2 2 3
state selected
color 0x00000000 0x00666666
file /usr/share/Eterm/pix/bar_vertical_2.png
geom 100x100+50+50
border 2 2 2 3
state clicked
color 0x00000000 0x00666666
file /usr/share/Eterm/pix/bar_vertical_2.png
geom 100x100+50+50
border 2 2 2 3
end image
begin image
type thumb
mode image allow image auto
state normal
color 0x00000000 0x00666666
file /usr/share/Eterm/pix/thumb_1.png
geom 100x100+50+50
border 3 3 3 3
state selected
color 0x00000000 0x00666666
file /usr/share/Eterm/pix/thumb_2.png
geom 100x100+50+50
border 3 3 3 3
state clicked
color 0x00000000 0x00666666
file /usr/share/Eterm/pix/thumb_2.png
geom 100x100+50+50
border 3 3 3 3
end image
begin image
type menu
mode image allow image auto
state normal
color 0x00000000 0x00999999
file /usr/share/Eterm/pix/bar_horizontal_1.png
geom 100x100+50+50
border 2 3 2 3
state selected
color 0x00000000 0x00999999
file /usr/share/Eterm/pix/bar_horizontal_2.png
geom 100x100+50+50
border 2 3 2 3
state clicked
color 0x00000000 0x00999999
file /usr/share/Eterm/pix/bar_horizontal_2.png
geom 100x100+50+50
border 2 3 2 3
end image
begin image
type menuitem
mode solid
state normal
color 0x00ffffff 0x00000000
geom 0x0+0+0
end image
begin image
type submenu
mode image allow image auto
state normal
color 0x00000000 0x00999999
file /usr/share/Eterm/pix/menu1.png
geom 100x100+50+50
border 3 15 3 3
padding 3 15 3 3
state selected
color 0x00000000 0x00999999
file /usr/share/Eterm/pix/menu2.png
geom 100x100+50+50
border 3 15 3 3
padding 3 15 3 3
state clicked
color 0x00000000 0x00999999
file /usr/share/Eterm/pix/menu3.png
geom 100x100+50+50
border 3 15 3 3
padding 3 15 3 3
end image
begin image
type button
mode image allow image auto
state normal
color 0x00000000 0x00cccccc
file /usr/share/Eterm/pix/bar_horizontal_1.png
geom 100x100+50+50
border 2 3 2 2
state selected
color 0x00000000 0x00cccccc
file /usr/share/Eterm/pix/bar_horizontal_2.png
geom 100x100+50+50
border 2 3 2 2
state clicked
color 0x00000000 0x00cccccc
file /usr/share/Eterm/pix/bar_horizontal_3.png
geom 100x100+50+50
border 2 3 2 2
end image
begin image
type button_bar
mode image allow image auto
state normal
color 0x00000000 0x00999999
file /usr/share/Eterm/pix/bar_horizontal_1.png
geom 100x100+50+50
border 2 3 2 2
state disabled
color 0x00ffffff 0x00333333
file /usr/share/Eterm/pix/bar_horizontal_1.png
geom 100x100+50+50
colormod image 0xc0 0x100 0x100
border 2 3 2 2
end image
begin image
type grab_bar
mode solid
state normal
color 0x00ffffff 0x00000000
geom 0x0+0+0
end image
begin image
type dialog_box
mode solid
state normal
color 0x00ffffff 0x00000000
geom 0x0+0+0
end image
end imageclasses

begin menu
title "Font"
begin menuitem
text "Normal"
action string '^[]50;#^G’
end
begin menuitem
text "Larger"
action string '^[]50;#+^G’
end
begin menuitem
text "Smaller"
action string '^[]50;#-^G’
end
-
begin menuitem
text "Font 1"
action string '^[]50;#1^G’
end
begin menuitem
text "Font 2"
action string '^[]50;#2^G’
end
begin menuitem
text "Font 3"
action string '^[]50;#3^G’
end
begin menuitem
text "Font 4"
action string '^[]50;#4^G’
end
end menu
begin menu
title "Toggles"
begin menuitem
text "Cursor Visible"
action string '^[[?25t’
end
begin menuitem
text "Home on Output"
action string '^[[?1010t’
end
begin menuitem
text "Home on Input"
action string '^[[?1012t’
end
begin menuitem
text "Map Alert"
action string '^[]6;21^G’
end
begin menuitem
text "Primary/Secondary Screen"
action string '^[[?47t’
end
begin menuitem
text "Reverse Video"
action string '^[[?5t’
end
begin menuitem
text "Select Trailing Spaces"
action string '^[]6;25^G’
end
begin menuitem
text "Select Whole Line on Triple-click"
action string '^[]6;23^G’
end
begin menuitem
text "Visual Bell"
action string '^[]6;20^G’
end
begin menuitem
text "X11 Mouse Reporting"
action string '^[[?1000t’
end
begin menuitem
text "Xterm Selection Behavior"
action string '^[]6;22^G’
end
end menu
begin menu
title "Keys"
begin menuitem
text "Application Arrow Keys"
action string '^[[?1t’
end
begin menuitem
text "Application Keypad"
action string '^[[?66t’
end
begin menuitem
text "Backspace/Delete"
action string '^[[?67t’
end
begin menuitem
text "Xterm Shift-Keys"
action string '^[[?35t’
end
end menu
begin menu
title "Scrollbar"
begin menuitem
text "Toggle Visibility"
rtext "Ctrl-Button2"
action string '^[[?30t’
end
begin menuitem
text "Swap Sides"
action string '^[]6;11^G’
end
begin menuitem
text "Toggle Floating"
action string '^[]6;12^G’
end
begin menuitem
text "Toggle Popup Mode"
action string '^[]6;13^G’
end
-
begin menuitem
text "Motif (Traditional) Style"
action string '^[]6;10;motif;;^G’
end
begin menuitem
text "NeXT Style"
action string '^[]6;10;next;;^G’
end
begin menuitem
text "Xterm Style"
action string '^[]6;10;xterm;;^G’
end
end menu
begin menu
title "Width"
begin menuitem
text "5"
action string '^[]6;10;;5;^G’
end
begin menuitem
text "6"
action string '^[]6;10;;6;^G’
end
begin menuitem
text "7"
action string '^[]6;10;;7;^G’
end
begin menuitem
text "8"
action string '^[]6;10;;8;^G’
end
begin menuitem
text "9"
action string '^[]6;10;;9;^G’
end
begin menuitem
text "10"
action string '^[]6;10;;10;^G’
end
begin menuitem
text "11"
action string '^[]6;10;;11;^G’
end
begin menuitem
text "12"
action string '^[]6;10;;12;^G’
end
begin menuitem
text "13"
action string '^[]6;10;;13;^G’
end
begin menuitem
text "14"
action string '^[]6;10;;14;^G’
end
begin menuitem
text "15"
action string '^[]6;10;;15;^G’
end
begin menuitem
text "16"
action string '^[]6;10;;16;^G’
end
begin menuitem
text "17"
action string '^[]6;10;;17;^G’
end
begin menuitem
text "18"
action string '^[]6;10;;18;^G’
end
begin menuitem
text "19"
action string '^[]6;10;;19;^G’
end
begin menuitem
text "20"
action string '^[]6;10;;20;^G’
end
end menu
begin menu
title "Move to Desktop"
begin menuitem
text "0"
action string '^[]6;50;0;^G’
end
begin menuitem
text "1"
action string '^[]6;50;1;^G’
end
begin menuitem
text "2"
action string '^[]6;50;2;^G’
end
begin menuitem
text "3"
action string '^[]6;50;3;^G’
end
begin menuitem
text "4"
action string '^[]6;50;4;^G’
end
begin menuitem
text "5"
action string '^[]6;50;5;^G’
end
begin menuitem
text "6"
action string '^[]6;50;6;^G’
end
begin menuitem
text "7"
action string '^[]6;50;7;^G’
end
end menu
begin menu
title "Terminal"
begin menuitem
text "Toggles"
action submenu "Toggles"
end
begin menuitem
text "Keys"
action submenu "Keys"
end
begin menuitem
text "Scrollbar"
action submenu "Scrollbar"
end
begin menuitem
text "Move to Desktop"
action submenu "Move to Desktop"
end
-
begin menuitem
text "Steal Focus"
rtext "Ctrl-Button1"
action string '^[]5;^G’
end
begin menuitem
text "Full Reset"
action string '^[c’
end
end menu
begin menu
title "Tiled"
begin menuitem
text "Black Stone"
action string '^[]20;tile/blackstone.jpg;0x0+0+0:tile^G’
end
begin menuitem
text "Circuit"
action string '^[]20;tile/circuit.jpg;0x0+0+0:tile^G’
end
begin menuitem
text "Dimples"
action string '^[]20;tile/014.jpg;0x0+0+0:tile^G’
end
begin menuitem
text "Giger 1"
action string '^[]20;tile/giger1.jpg;0x0+0+0:tile^G’
end
begin menuitem
text "Nebula"
action string '^[]20;tile/nebula.jpg;0x0+0+0:tile^G’
end
begin menuitem
text "Red Whisper"
action string '^[]20;tile/40.jpg;0x0+0+0:tile^G’
end
end menu
begin menu
title "Scaled"
begin menuitem
text "Neopolis"
action string '^[]20;scale/Neopolis-horizon.jpg;100x100+50+50^G’
end
end menu
begin menu
title "Attrib"
begin menuitem
text "Full Size"
action string '^[]20;;100x100^G’
end
begin menuitem
text "Normal Size"
action string '^[]20;;0x0^G’
end
-
begin menuitem
text "Tiled"
action string '^[]20;;:tile^G’
end
begin menuitem
text "Scaled"
action string '^[]20;;100x100^G’
end
begin menuitem
text "Proportional Scale"
action string '^[]20;;100x100:propscale^G’
end
-
begin menuitem
text "Center"
action string '^[]20;;=+50+50^G’
end
begin menuitem
text "Top Left Corner"
action string '^[]20;;=+0+0^G’
end
begin menuitem
text "Bottom Right Corner"
action string '^[]20;;=+100+100^G’
end
end menu
begin menu
title "Pixmap"
begin menuitem
text "None"
action string '^[[m^[]20;;^G’
end
begin menuitem
text "Toggle Viewport Mode"
action string '^[]6;24^G’
end
begin menuitem
text "Tiled"
action submenu "Tiled"
end
begin menuitem
text "Scaled"
action submenu "Scaled"
end
-
begin menuitem
text "Attrib"
action submenu "Attrib"
end
end menu
begin menu
title "Brightness"
begin menuitem
text "512 (200)"
action string '^[]6;1;image;brightness;512^G’
end
begin menuitem
text "480 (188)"
action string '^[]6;1;image;brightness;480^G’
end
begin menuitem
text "448 (175)"
action string '^[]6;1;image;brightness;448^G’
end
begin menuitem
text "416 (163)"
action string '^[]6;1;image;brightness;416^G’
end
begin menuitem
text "384 (150)"
action string '^[]6;1;image;brightness;384^G’
end
begin menuitem
text "352 (138)"
action string '^[]6;1;image;brightness;352^G’
end
begin menuitem
text "320 (125)"
action string '^[]6;1;image;brightness;320^G’
end
begin menuitem
text "288 (113)"
action string '^[]6;1;image;brightness;288^G’
end
begin menuitem
text "256 (100)"
action string '^[]6;1;image;brightness;256^G’
end
begin menuitem
text "224 (88)"
action string '^[]6;1;image;brightness;224^G’
end
begin menuitem
text "192 (75)"
action string '^[]6;1;image;brightness;192^G’
end
begin menuitem
text "160 (63)"
action string '^[]6;1;image;brightness;160^G’
end
begin menuitem
text "128 (50)"
action string '^[]6;1;image;brightness;128^G’
end
begin menuitem
text "96 (38)"
action string '^[]6;1;image;brightness;96^G’
end
begin menuitem
text "64 (25)"
action string '^[]6;1;image;brightness;64^G’
end
begin menuitem
text "32 (13)"
action string '^[]6;1;image;brightness;32^G’
end
begin menuitem
text "0 (0)"
action string '^[]6;1;image;brightness;0^G’
end
end menu
begin menu
title "Contrast"
begin menuitem
text "512 (200)"
action string '^[]6;1;image;contrast;512^G’
end
begin menuitem
text "480 (188)"
action string '^[]6;1;image;contrast;480^G’
end
begin menuitem
text "448 (175)"
action string '^[]6;1;image;contrast;448^G’
end
begin menuitem
text "416 (163)"
action string '^[]6;1;image;contrast;416^G’
end
begin menuitem
text "384 (150)"
action string '^[]6;1;image;contrast;384^G’
end
begin menuitem
text "352 (138)"
action string '^[]6;1;image;contrast;352^G’
end
begin menuitem
text "320 (125)"
action string '^[]6;1;image;contrast;320^G’
end
begin menuitem
text "288 (113)"
action string '^[]6;1;image;contrast;288^G’
end
begin menuitem
text "256 (100)"
action string '^[]6;1;image;contrast;256^G’
end
begin menuitem
text "224 (88)"
action string '^[]6;1;image;contrast;224^G’
end
begin menuitem
text "192 (75)"
action string '^[]6;1;image;contrast;192^G’
end
begin menuitem
text "160 (63)"
action string '^[]6;1;image;contrast;160^G’
end
begin menuitem
text "128 (50)"
action string '^[]6;1;image;contrast;128^G’
end
begin menuitem
text "96 (38)"
action string '^[]6;1;image;contrast;96^G’
end
begin menuitem
text "64 (25)"
action string '^[]6;1;image;contrast;64^G’
end
begin menuitem
text "32 (13)"
action string '^[]6;1;image;contrast;32^G’
end
begin menuitem
text "0 (0)"
action string '^[]6;1;image;contrast;0^G’
end
end menu
begin menu
title "Gamma"
begin menuitem
text "512 (200)"
action string '^[]6;1;image;gamma;512^G’
end
begin menuitem
text "480 (188)"
action string '^[]6;1;image;gamma;480^G’
end
begin menuitem
text "448 (175)"
action string '^[]6;1;image;gamma;448^G’
end
begin menuitem
text "416 (163)"
action string '^[]6;1;image;gamma;416^G’
end
begin menuitem
text "384 (150)"
action string '^[]6;1;image;gamma;384^G’
end
begin menuitem
text "352 (138)"
action string '^[]6;1;image;gamma;352^G’
end
begin menuitem
text "320 (125)"
action string '^[]6;1;image;gamma;320^G’
end
begin menuitem
text "288 (113)"
action string '^[]6;1;image;gamma;288^G’
end
begin menuitem
text "256 (100)"
action string '^[]6;1;image;gamma;256^G’
end
begin menuitem
text "224 (88)"
action string '^[]6;1;image;gamma;224^G’
end
begin menuitem
text "192 (75)"
action string '^[]6;1;image;gamma;192^G’
end
begin menuitem
text "160 (63)"
action string '^[]6;1;image;gamma;160^G’
end
begin menuitem
text "128 (50)"
action string '^[]6;1;image;gamma;128^G’
end
begin menuitem
text "96 (38)"
action string '^[]6;1;image;gamma;96^G’
end
begin menuitem
text "64 (25)"
action string '^[]6;1;image;gamma;64^G’
end
begin menuitem
text "32 (13)"
action string '^[]6;1;image;gamma;32^G’
end
begin menuitem
text "0 (0)"
action string '^[]6;1;image;gamma;0^G’
end
end menu
begin menu
title "Background"
begin menuitem
text "Toggle Transparency"
action string '^[]6;0^G’
end
begin menuitem
text "Pixmap"
action submenu "Pixmap"
end
begin menuitem
text "Brightness"
action submenu "Brightness"
end
begin menuitem
text "Contrast"
action submenu "Contrast"
end
begin menuitem
text "Gamma"
action submenu "Gamma"
end
end menu
begin menu
title "Eterm"
begin menuitem
text "Font"
action submenu "Font"
end
begin menuitem
text "Background"
action submenu "Background"
end
begin menuitem
text "Terminal"
action submenu "Terminal"
end
-
begin menuitem
text "New Eterm Window"
action script 'spawn(Eterm)'
end
begin menuitem
text "Search…"
action script 'search()'
end
begin menuitem
text "Run…"
action script 'exec_dialog(Eterm -e )'
end
-
begin menuitem
text "Version"
action string '^[[8n’
end
begin menuitem
text "Status"
action string '^[[9n’
end
-
begin menuitem
text "Save User Settings…"
action script 'save’
end
begin menuitem
text "Save Theme Settings…"
action script 'save(theme)'
end
begin menuitem
text "Exit"
action script 'exit’
end
end menu
begin menu
title "Eterm Operations"
begin menuitem
text "New Eterm Window"
action script 'spawn(Eterm)'
end
begin menuitem
text "Search…"
action script 'search()'
end
begin menuitem
text "Run…"
action script 'exec_dialog(Eterm -e )'
end
-
begin menuitem
text "Version"
action string '^[[8n’
end
begin menuitem
text "Status"
action string '^[[9n’
end
-
begin menuitem
text "Save User Settings…"
action script 'save’
end
begin menuitem
text "Save Theme Settings…"
action script 'save(theme)'
end
begin menuitem
text "Exit"
action script 'exit’
end
end menu

begin actions
bind ctrl button1 to string '^[]5;^G’
bind ctrl button2 to string '^[[?30t’
bind ctrl button3 to menu "Eterm"
bind ctrl shift button3 to string '^[]6;14^G’
end actions

begin multichar
encoding none
font 0 -misc-fixed-medium-r-normal–7-70-75-75-c-50-iso10646-1
font 1 -misc-fixed-medium-r-normal–10-100-75-75-c-60-iso10646-1
font 2 -misc-fixed-medium-r-semicondensed–13-120-75-75-c-60-iso10646-1
font 3 -misc-fixed-medium-r-normal–14-130-75-75-c-70-iso10646-1
font 4 -misc-fixed-medium-r-normal–15-140-75-75-c-90-iso10646-1
end multichar

begin xim
end xim

begin button_bar
font '-adobe-helvetica-medium-r-normal–10-100-75-75-p-56-iso8859-1’
dock top
visible yes
button “Eterm” action menu "Eterm Operations"
button “Font” action menu "Font"
button “Background” action menu "Background"
button “Terminal” action menu "Terminal"
rbutton icon “/usr/share/Eterm/pix/help.png” action script 'spawn(Eterm -e man Eterm)'
rbutton icon “/usr/share/Eterm/pix/exit.png” action script 'exit’
end button_bar

begin toggles
map_alert 1
visual_bell 1
login_shell 1
scrollbar 0
utmp_logging 1
meta8 0
iconic 0
home_on_output 1
home_on_input 1
no_input 0
scrollbar_floating 0
scrollbar_right 1
scrollbar_popup 0
borderless 0
double_buffer 0
no_cursor 1
pause 0
xterm_select 0
select_line 0
select_trailing_spaces 0
report_as_keysyms 0
itrans 0
buttonbar 1
resize_gravity 0
end toggles

begin keyboard
smallfont_key less
bigfont_key greater
app_keypad 0
app_cursor 0
end keyboard

begin misc
print_pipe ‘lp’’’’’’’’’'
save_lines 1024
min_anchor_size 0
border_width 5
term_name Eterm
debug 0
end misc

[/code]
user.cfg

[code]<Eterm-0.9.2>

Eterm Configuration File

Automatically generated by Eterm-0.9.2 on 2005/11/09 at 18:31:31

begin color
foreground #ffffff
background black
cursor #ffff00
cursor_text #880000
pointer white
video normal
color 0 rgb:0/0/0
color 1 rgb:cc/00/00
color 2 rgb:00/cc/00
color 3 rgb:cc/cc/00
color 4 rgb:00/00/cc
color 5 rgb:cc/00/cc
color 6 rgb:00/cc/cc
color 7 rgb:aa/aa/aa
color 8 rgb:33/33/33
color 9 rgb:ff/00/00
color 10 rgb:00/ff/00
color 11 rgb:ff/ff/00
color 12 rgb:00/00/ff
color 13 rgb:ff/00/ff
color 14 rgb:00/ff/ff
color 15 rgb:ff/ff/ff
end color

begin attributes
scrollbar_type motif
scrollbar_width 10
font default 2
font proportional 0
font 0 -misc-fixed-medium-r-normal–7-70-75-75-c-50-iso8859-1
font 1 -misc-fixed-medium-r-normal–10-100-75-75-c-60-iso8859-1
font 2 -misc-fixed-medium-r-semicondensed–13-120-75-75-c-60-iso8859-1
font 3 -misc-fixed-medium-r-normal–13-120-75-75-c-80-iso8859-1
font 4 -misc-fixed-medium-r-normal–18-120-75-75-c-90-iso8859-1
end attributes

begin actions
bind ctrl button1 to string '^[]5;^G’
bind ctrl button2 to string '^[[?30t’
bind ctrl button3 to menu "Eterm"
bind ctrl shift button3 to string '^[]6;14^G’
end actions

begin multichar
encoding none
font 0 -misc-fixed-medium-r-normal–7-70-75-75-c-50-iso10646-1
font 1 -misc-fixed-medium-r-normal–10-100-75-75-c-60-iso10646-1
font 2 -misc-fixed-medium-r-semicondensed–13-120-75-75-c-60-iso10646-1
font 3 -misc-fixed-medium-r-normal–14-130-75-75-c-70-iso10646-1
font 4 -misc-fixed-medium-r-normal–15-140-75-75-c-90-iso10646-1
end multichar

begin xim
end xim

begin toggles
map_alert 1
visual_bell 1
login_shell 1
scrollbar 0
utmp_logging 1
meta8 0
iconic 0
home_on_output 1
home_on_input 1
no_input 0
scrollbar_floating 0
scrollbar_right 1
scrollbar_popup 0
borderless 0
double_buffer 0
no_cursor 1
pause 0
xterm_select 0
select_line 0
select_trailing_spaces 0
report_as_keysyms 0
itrans 0
buttonbar 1
resize_gravity 0
end toggles

begin keyboard
smallfont_key less
bigfont_key greater
app_keypad 0
app_cursor 0
end keyboard

begin misc
print_pipe ‘lp’’’’’’’’’'
save_lines 1024
min_anchor_size 0
border_width 5
term_name Eterm
debug 0
end misc

[/code]