autre suggestion/question:
dans /boot/grub/theme il y les dossier des différents theme mais aussi un
defaut.txt qui ressemble etrangement aux
theme.txt que contiennent les dossier de theme:
default.txt
screen {
panel {
extend = 1
valign = center
halign = center
panel {
class = frame
id = __menu__
}
}
progressbar {
attach_bottom = 1
width = 60%
halign = center
height = 1
color = "red:brown"
}
}
onkey {
e = "*menu_edit dialog_edit text=command"
t = "if menu_edit dialog_line text=title; then menu_refresh; fi"
c = "*menu_popup term_window"
2 = "*menu_popup two_term"
f6 = ui_next_anchor
f8 = menu_toggle_mode
f9 = halt
f10 = reboot
}
mapkey {
f5 = ctrl-x
}
template_submenu {
panel {
class = frame
}
}
template_menuitem {
panel {
parameters = "class=image.class:title=text.text"
class = select
direction = left_to_right
image {}
text { valign = center }
}
}
dialog_line {
panel {
parameters = "text=edit.text"
class = frame
width = 80%
attach_hcenter = 0
attach_vcenter = 0
edit {
lines = 1
max_lines = 1
}
}
}
dialog_edit {
panel {
parameters = "text=edit.text"
class = frame
width = 80%
attach_hcenter = 0
attach_vcenter = 0
edit {
lines = 10
}
}
}
dialog_message {
panel {
parameters = "text=text.text"
class = frame
margin_size = 1
margin_bottom = 0
space = 1
attach_hcenter = 0
attach_vcenter = 0
text {}
panel {
class = frame
command = true
halign = center
margin_left = 1
margin_right = 1
text { text = OK }
}
}
}
dialog_password {
panel {
parameters = "username=__user__.text:password=__pass__.text"
class = frame
margin_size = 1
margin_bottom = 0
attach_hcenter = 0
attach_vcenter = 0
panel {
direction = left_to_right
space = 1
text {
extend = 1
valign = center
text = Username
}
panel {
class = frame
margin_left = 1
margin_right = 1
edit {
id = __user__
max_lines = 1
}
}
}
panel {
direction = left_to_right
space = 1
text {
extend = 1
valign = center
text = Password
}
panel {
class = frame
margin_left = 1
margin_right = 1
password {
id = __pass__
}
}
}
panel {
class = frame
command = true
halign = center
margin_left = 1
margin_right = 1
text {
text = OK
}
}
}
}
term_window {
panel {
class = frame
width = 100%
height = 100%
term {
width=100%
height=100%
}
}
}
two_term {
panel {
width = 100%
height = 100%
direction = left_to_right
panel {
class = frame
extend = 1
term {
width=100%
height=100%
}
}
panel {
class = frame
extend = 1
term {
width=100%
height=100%
}
}
}
}
class {
screen {
background = ",,blue"
}
text {
color = "light-gray/blue:light-gray/green"
}
frame {
top_left = ",,cyan/blue,#0x250F:,,light-gray/blue,#0x2554"
top = ",tiling,cyan/blue,#0x2501:,,light-gray/blue,#0x2550"
top_right = ",,cyan/blue,#0x2513:,,light-gray/blue,#0x2557"
left = ",tiling,cyan/blue,#0x2503:,,light-gray/blue,#0x2551"
right = ",tiling,cyan/blue,#0x2503:,,light-gray/blue,#0x2551"
bottom_left = ",,cyan/blue,#0x2517:,,light-gray/blue,#0x255A"
bottom = ",tiling,cyan/blue,#0x2501:,,light-gray/blue,#0x2550"
bottom_right = ",tiling,cyan/blue,#0x251B:,,light-gray/blue,#0x255D"
}
select {
background = ":,,green,#0"
}
term {
color = "cyan/blue:light-gray/blue"
}
edit {
color = "cyan/blue:light-gray/blue"
}
password {
color = "cyan/blue:light-gray/blue"
}
}
et theme.txt:
screen {
background = "/boot/grub/themes/ubuntu/desktop.png,minfit,light-gray/black"
panel {
width = 100%
height = 38%/3
}
panel {
id = __menu__
extend = 1
halign = center
valign = top
}
panel {
width = 60%
height = 5%/1
halign = center
id = __timeout__
border_size = 3/0
border_color = "#808080"
progressbar {
width = 100%
height = 100%
color = "#FFA500/brown:#303030/light-gray"
}
}
panel {
halign = center
margin_size = 6/0
direction = left_to_right
space = 3
panel {
direction = left_to_right
space = 1
text {
text = "F8"
class = hotkey_title
}
text {
text = "Switch Mode"
class = hotkey_name
}
}
panel {
direction = left_to_right
space = 1
text {
text = "F9"
class = hotkey_title
}
text {
text = "Halt"
class = hotkey_name
}
}
panel {
direction = left_to_right
space = 1
text {
text = "F10"
class = hotkey_title
}
text {
text = "Reboot"
class = hotkey_name
}
}
}
}
onkey {
e = "*menu_edit dialog_edit text=command"
t = "if menu_edit dialog_line text=title; then menu_refresh; fi"
c = "*menu_popup term_window"
2 = "*menu_popup two_term"
f6 = ui_next_anchor
f8 = menu_toggle_mode
f9 = halt
f10 = reboot
}
mapkey {
f5 = ctrl-x
}
template_submenu {
panel {
class = frame
}
}
template_menuitem {
panel {
parameters = "class=image.class:title=text.text"
direction = left_to_right
margin_size = 3/0
image {}
text {
font = "Fixed Bold 13"
}
}
}
dialog_line {
panel {
parameters = "text=edit.text"
class = frame
width = 80%
attach_hcenter = 0
attach_vcenter = 0
edit {
lines = 1
max_lines = 1
}
}
}
dialog_edit {
panel {
parameters = "text=edit.text"
class = frame
width = 80%
attach_hcenter = 0
attach_vcenter = 0
edit {
lines = 10
}
}
}
dialog_message {
panel {
parameters = "text=text.text"
class = frame
margin_size = 1
margin_bottom = 0
space = 1
attach_hcenter = 0
attach_vcenter = 0
text {}
panel {
class = frame
command = true
halign = center
margin_left = 1
margin_right = 1
text { text = OK }
}
}
}
dialog_password {
panel {
parameters = "username=__user__.text:password=__pass__.text"
class = frame
margin_size = 1
margin_bottom = 0
attach_hcenter = 0
attach_vcenter = 0
panel {
direction = left_to_right
space = 1
text {
extend = 1
valign = center
text = Username
}
panel {
class = frame
margin_left = 1
margin_right = 1
edit {
id = __user__
max_lines = 1
}
}
}
panel {
direction = left_to_right
space = 1
text {
extend = 1
valign = center
text = Password
}
panel {
class = frame
margin_left = 1
margin_right = 1
password {
id = __pass__
}
}
}
panel {
class = frame
command = true
halign = center
margin_left = 1
margin_right = 1
text {
text = OK
}
}
}
}
term_window {
panel {
class = frame
width = 100%
height = 100%
background = ",,black,#0"
term {
width=100%
height=100%
}
}
}
two_term {
panel {
width = 100%
height = 100%
direction = left_to_right
background = ",,black,#0"
panel {
class = frame
extend = 1
term {
width=100%
height=100%
}
}
panel {
class = frame
extend = 1
term {
width=100%
height=100%
}
}
}
}
class {
frame {
top_left = ",,#B08458/brown/black,#0x250F:,,#FFFFFF/light-gray/black,#0x2554"
top = ",tiling,#B08458/brown/black,#0x2501:,,#FFFFFF/light-gray/black,#0x2550"
top_right = ",,#B08458/brown/black,#0x2513:,,#FFFFFF/light-gray/black,#0x2557"
left = ",tiling,#B08458/brown/black,#0x2503:,,#FFFFFF/light-gray/black,#0x2551"
right = ",tiling,#B08458/brown/black,#0x2503:,,#FFFFFF/light-gray/black,#0x2551"
bottom_left = ",,#B08458/brown/black,#0x2517:,,#FFFFFF/light-gray/black,#0x255A"
bottom = ",tiling,#B08458/brown/black,#0x2501:,,#FFFFFF/light-gray/black,#0x2550"
bottom_right = ",tiling,#B08458/brown/black,#0x251B:,,#FFFFFF/light-gray/black,#0x255D"
}
hotkey_title {
color = "#FFFFFF/light-gray"
font = "smoothansi Regular 13"
}
hotkey_name {
color = "#B08458/brown"
font = "smoothansi Regular 13"
}
text {
color = "#B08458/brown/black:#FFFFFF/light-gray/black"
}
term {
color = "#B08458/brown/black:#FFFFFF/light-gray/black"
}
edit {
color = "#B08458/brown/black:#FFFFFF/light-gray/black"
}
password {
color = "#B08458/brown/black:#FFFFFF/light-gray/black"
}
}
d'où ma question peut etre n'ai-je pas de theme car c'est default.txt qui utlisé et non le theme.txt .... ? et supprimer default.txt ? ça craint ?